CMS MADE SIMPLE FORGE

Autometa

 

[#3739] Undefined Function Error

avatar
Created By: Noel McGran (nullig)
Date Submitted: Fri Jul 17 12:40:27 -0400 2009

Assigned To:
Version: Autometa 1.2
CMSMS Version: None
Severity: None
Resolution: Won't Fix
State: Open
Summary:
Undefined Function Error
Detailed Description:
I keep getting the following error:

Fatal error: Call to undefined function mb_strlen() in
/public_html/plugins/function.autometa.php on line 112

PHP Version:  5.2.8 
CMSMS version 1.6
Autometa version 1.2


History

Comments
avatar
Date: 2009-07-17 20:39
Posted By: Sofia Hauschildt (sonya)

You miss multibyte string functions on your server
http://us3.php.net/manual/en/book.mbstring.php. Multibyte string functions are
important if you use any special characters in your content. Non-multibyte-aware
string functions could be used instead as workaround, but only if no special
characters are used.

E.g. with multibyte string function
$teil=mb_substr("abcüde",2,3); // outputs cüd
$teil=mb_substr("abcüde",2,2); // outputs cü

With non-multibyte functions

$teil=substr("abcüde",2,3); // outputs cü instead of cüd, fails to detect the
ending of the multibyte character
$teil=substr("abcüde",2,2); // outputs corrupted garbage string because of  the
2-Byte character ü being cutted in the middle

I would not recommend to use this module without multibyte functions installed
on the server at all.

But I will add error handling to prevent the error output.
      
Updates

Updated: 2009-07-17 20:39
version_id: -1 => 27918
resolution_id: => 8