Fatal error: login_functions.php on line 340

5 posts by 3 authors in: Forums > CMS Builder
Last Post: March 26, 2013   (RSS)

By nmsinc - March 26, 2013

I have the following error on a new install of CMS v2.52

Fatal error: Call to undefined function json_encode() in /cmsAdmin/lib/login_functions.php on line 340

Any help would be appreciated!

Thanks - nmsinc

nmsinc

By Damon - March 26, 2013

Hi nmsinc,

I just sent you an email. For anyone else with this error message, it looks like the PHP json_encode function has been disabled by the host.

This script can test if it is available:

<?php
if (function_exists('json_encode')) {
    echo "json_encode function is available.<br />\n";
} else {
    echo "json_encode function is not available.<br />\n";
}
?>

Hope that helps!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By nmsinc - March 26, 2013

Activated on server and now working just fine - Thanks!

nmsinc

By Damon - March 26, 2013

Fantastic! Thanks for the update. Glad to hear that it is resolved.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/