json template error with older server

Sometimes if webmaster use older server, they have problems with our templates, because we do an automatic rotation of the video and livecams thumbnails on the template with an json function. So if you get an error like this after installing a templte

Fatal error: Call to undefined function json_decode() in /usr/home/alexcj/mobile-yourdomains.com/www/index.php on line 51

We allready prepaired a function in the template for this case. you need only to open the index.php of the template and edit line 14
$JSON_ENCODE          = ‘no’;
change the “no” to “yes”, thats all, if you still have a problem, please contact our support Team.

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks

Related Posts

This entry was posted in 6. Mobile Workshop and tagged error, json, template. Bookmark the permalink.