Page 1 of 1

Ajax error on Examples

PostPosted: Fri Sep 25, 2009 11:31 pm
by 28mikes
I have just downloaded the script and I seem to be getting an ajax error whenever I try to use the script. It say there is an ajax error. I have also attached my apache error log file
Apache error log file
[Sat Sep 26 00:05:58 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mb_convert_case() in D:\\Websites\\Study\\project\\mate\\php\\AjaxTableEditor.php on line 112, referer: http://127.0.0.1/study/project/mate/Example1.php
[Sat Sep 26 00:06:14 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mb_convert_case() in D:\\Websites\\Study\\project\\mate\\php\\AjaxTableEditor.php on line 112, referer: http://127.0.0.1/study/project/mate/Example2.php
[Sat Sep 26 00:06:32 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mb_convert_case() in D:\\Websites\\Study\\project\\mate\\php\\AjaxTableEditor.php on line 112, referer: http://127.0.0.1/study/project/mate/Example1.php
[Sat Sep 26 00:09:11 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mb_convert_case() in D:\\Websites\\Study\\project\\mate\\php\\AjaxTableEditor.php on line 112, referer: http://127.0.0.1/study/project/mate/Example1.php

Line 112 of AjaxTableEditor.php
$this->tableTitle = mb_convert_case(str_replace('_',' ',$this->tableName),MB_CASE_TITLE, "UTF-8");

Re: Ajax error on Examples

PostPosted: Mon Sep 28, 2009 2:25 pm
by admin
You need to install the mb_string php module. On linux you can do this by running this command
Code: Select all
yum install php-mbstring

I am not sure how to install this module on windows.

Re: Ajax error on Examples

PostPosted: Tue Sep 29, 2009 11:21 am
by 28mikes
I have installed the mb_string but I am still getting the same error message. I restarted my apache server but that did not solve my problem.

Re: Ajax error on Examples

PostPosted: Tue Sep 29, 2009 2:28 pm
by admin
You may need to add this to your php.ini file and then restart apache again.
Code: Select all
; Enable mbstring extension module
extension=mbstring.so