jsonToday I was updating a joomla site using the MYAPI Facebook Connect conponent to show facebook feeds on a joomla site.


When updating version 1.0 of the component to 1.4 I found that the site had turned to dust and saw nothing but a white page and empty source code.

It turned out that the latest version of the component and the facebook api require json support within php. So here is how to install it...

Login to your server using your SSH client and switch to root user. More Here.

Update to the latest compatible version of php

yum update php

On prompt type 'y' and enter

Install pear based json support

pecl install json

'y' on prompt

Restart the server for the changes to take effect

service httpd restart

If you're using joomla you can check that the service is running by going to the help menu and clicking on system info. Under php info search for json. It should show up in the additional ini section.

Category: Godaddy

Newsletter Signup

Latest Posts

Google+ Timeline Feed for your Website Google+ Timeline Feed for your Website 2012-05-11 - I was asked earlier today to create a Google+ widget for a website to replace a twitt... More detail
Run Facebook Messenger on Windows Vista Run Facebook Messenger on Windows Vista 2012-04-19 - Facebook has just released it's new messenger for windows but it only runs on Windo... More detail
Translate K2store Product Attributes with Joomfish Translate K2store Product Attributes with Joomfish 2011-11-03 - If you have a K2store and your site is in multiple languages, you might have found th... More detail
French Translations for K2store French Translations for K2store 2011-11-02 - I have been working recently with the K2 component/plugin K2store. As a simple sho... More detail
How I Upgraded to Joomla 1.7 How I Upgraded to Joomla 1.7 2011-09-25 - Inspired by Robert Vining over at www.joomstew.com and the fact that I am building mo... More detail

Twitter Stuff