Ajax error on Examples

Installation Problems And Solutions

Ajax error on Examples

Postby 28mikes » Fri Sep 25, 2009 11:31 pm

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");
28mikes
 
Posts: 2
Joined: Fri Sep 25, 2009 11:26 pm

Re: Ajax error on Examples

Postby admin » Mon Sep 28, 2009 2:25 pm

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.
admin
Site Admin
 
Posts: 1458
Joined: Fri Jul 11, 2008 1:34 am

Re: Ajax error on Examples

Postby 28mikes » Tue Sep 29, 2009 11:21 am

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.
28mikes
 
Posts: 2
Joined: Fri Sep 25, 2009 11:26 pm

Re: Ajax error on Examples

Postby admin » Tue Sep 29, 2009 2:28 pm

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
admin
Site Admin
 
Posts: 1458
Joined: Fri Jul 11, 2008 1:34 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron