Fatal error: Call to undefined function: mb_strtolower() ?

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-13-2006, 06:55 PM
New Pligger
 
Join Date: Mar 2006
Posts: 4
Installed 6.01 . everything fine . until I go an test it and I try to post a story

Fatal error: Call to undefined function: mb_strtolower() in /home/web/public_html/libs/tags.php on line 12

i tried searching for the function but it doesn't exist. anyone any ideas? anyone got this script working?

thanks

Dust
Reply With Quote
  #2 (permalink)  
Old 03-13-2006, 07:02 PM
New Pligger
 
Join Date: Mar 2006
Posts: 10
Hi,

Which version of PHP are you using? You can find the version by going to
http://[yourpliggurl.com]/info.php

where [yourpliggurl] is the domain you've installed pligg on.

If your PHP is below version 4 then you'll have to upgrade php because mb_strtolower is (PHP 4 >= 4.3.0, PHP 5)

http://www.zend.com/manual/function.mb-strtolower.php

Last edited by garg; 03-13-2006 at 07:07 PM.
Reply With Quote
  #3 (permalink)  
Old 03-13-2006, 08:57 PM
Casual Pligger
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 69
Send a message via ICQ to KingPin Send a message via AIM to KingPin Send a message via MSN to KingPin Send a message via Yahoo to KingPin
workaround :

goto ./libs/tags.php and on line 12 change

Quote:
function tags_normalize_string($string) {
$string = preg_replace('/[\.\,] *$/', "", $string);
return mb_strtolower($string, 'UTF-8');
}
to

Quote:
function tags_normalize_string($string) {
$string = preg_replace('/[\.\,] *$/', "", $string);
return strtolower($string);
}
in other words change mb_strtolower to strtolower and ($string, 'UTF-8') to ($string).
Reply With Quote
  #4 (permalink)  
Old 03-14-2006, 06:02 AM
New Pligger
 
Join Date: Mar 2006
Posts: 4
thanks

changed and fixed
Reply With Quote
  #5 (permalink)  
Old 03-18-2006, 03:55 PM
New Pligger
 
Join Date: Mar 2006
Posts: 16
Quote:
Originally Posted by garg
Hi,

Which version of PHP are you using? You can find the version by going to
http://[yourpliggurl.com]/info.php

where [yourpliggurl] is the domain you've installed pligg on.

If your PHP is below version 4 then you'll have to upgrade php because mb_strtolower is (PHP 4 >= 4.3.0, PHP 5)

http://www.zend.com/manual/function.mb-strtolower.php
I have version 4.3.10 installed and I am getting the same error. I'll try the workaround KingPin suggested, but just wanted to let you know it's not just limited to 4 and below.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Clean install: Submit New Story = Fatal error: Call to undefined function: starguy Questions and Comments 5 01-29-2012 03:58 AM
Fatal error: Call to undefined function: verify_ownership() in .... IPopu Questions and Comments 1 12-15-2007 06:09 PM
Fatal error: Call to undefined function checklevel() in evansun Questions and Comments 0 09-14-2007 11:45 PM
Fatal error: Call to undefined function sanchopanza Questions and Comments 1 08-23-2007 11:46 PM
Fatal error: Call to undefined function: getmyurl() pligglover Questions and Comments 1 07-30-2006 01:36 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development