1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

autoblog error

Discussion in 'Blogging' started by mintyfresh94, Jan 15, 2009.

  1. mintyfresh94

    mintyfresh94 Registered Member

    Joined:
    Nov 19, 2008
    Messages:
    59
    Likes Received:
    7
    hey everyone i set up an auto blog today on my site and i get error

    Fatal error: Call to undefined function mb_substr() in /home/mintzlaf/public_html/wp-content/plugins/statpress-reloaded/statpress.php on line 1188

    any help on how to fix this would be great
     
  2. glew

    glew Junior Member

    Joined:
    Feb 10, 2008
    Messages:
    141
    Likes Received:
    93
    You have an outdated PHP version. mb_substr() needs (PHP 4 >= 4.0.6, PHP 5). MultiByte-Support needs to be enabled, there should be an extensions called "php_mbstring" - it is needed to be activated in your php-configuration. Unless you're living in a country with multibyte characters (eg Japan, China etc...) then you can safely use the old 'normal' version of this function. ***Always make a copy of the original file first!!!!!*** open the file named statpress.php with your favorite TEXT file editor (notepad will be fine). then replace all occurences of the word 'mb_substr' with 'substr'. Save the changes and upload the newly modified statpress.php file on your webserver. That should fix things.....I think :)
     
    • Thanks Thanks x 1