Function : mb_detect_encoding() not found?

Discussion in 'PHP' started by unknowngiver, Mar 28, 2008.

  1. #1
    Hey
    I am having an error come up when i try to install scuttle that uses the function : "mb_detect_encoding()"
    the error is :


    Fatal error: Call to undefined function mb_detect_encoding() in /home/roundpic/public_html/includes/php-gettext/gettext.inc on line 101


    however according to php manual mb_detect_encoding() function is in php from php 4.0.5 and my hosting has php 5.0.*
    is there anyone i can fix this?
    thanks
     
    unknowngiver, Mar 28, 2008 IP
  2. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The multibyte string functions are not installed by default. PHP has to be compiled with -enable-mbstring for them to be available. If you can compile and run your own PHP install, that would be the way to go.
     
    Gordaen, Mar 28, 2008 IP
  3. unknowngiver

    unknowngiver Peon

    Messages:
    94
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hm its not my own server ?
    i don't have access to php compile stuff
    is there another way i can do this?
    thanks
     
    unknowngiver, Mar 28, 2008 IP
  4. unknowngiver

    unknowngiver Peon

    Messages:
    94
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    can anyone help please?
    i contacted my hosting provider, but he doesn't know what to do
    can this be done through shell access?
     
    unknowngiver, Mar 31, 2008 IP