I have same problem.
json_decode (PHP 5 >= 5.2.0, PECL json >= 1.2.0).
i have PHP 5.1.6 so this is the issue.
There is workaround http://my.php.net/manual/en/function.jso....php#80606
I sujest to use some other method of comunication instead of json. This will make all hapy cos not much hosters have >=5.2.0
mb native php serialization?
UPD: in latest 2.02_RC1 vesrion there is some hardcoded fix:
json_decode (PHP 5 >= 5.2.0, PECL json >= 1.2.0).
i have PHP 5.1.6 so this is the issue.
There is workaround http://my.php.net/manual/en/function.jso....php#80606
I sujest to use some other method of comunication instead of json. This will make all hapy cos not much hosters have >=5.2.0
mb native php serialization?
UPD: in latest 2.02_RC1 vesrion there is some hardcoded fix:
Code:
/****************************************************
*
* @File: basic.php
* @Package: GetSimple
* @Action: Functions used to help create the cp pages
*
*****************************************************/
/*******************************************************
* @function json_decode
* @returns the API response in the form of an object
* @about - This is to temporarily fix issues with PHP versions < 5.2.0
*
*/
if(!function_exists('json_decode')) {
function json_decode($api_data) {
preg_match('/(?P<status>[^"]+)","((api_key":"(?P<api_key>[^"]+))|(latest":"(?P<latest>[^"]+)))/',$api_data,$api_data);
return (object)$api_data;
}
}