2009-10-13, 06:00:28
Hi,
just installed v1.7 on my host - with same blank page problem.
For v1.7 commenting the lines 51-66 solves the issue:
just installed v1.7 on my host - with same blank page problem.
For v1.7 commenting the lines 51-66 solves the issue:
Code:
if (in_array ('curl', get_loaded_extensions())) {
$api_file = '../data/other/authorization.xml';
// if (! file_exists($api_file)) {
// $curl_URL = 'http://get-simple.info/api.php?r=true&v='.$site_version_no;
// $ch = curl_init();
// curl_setopt($ch, CURLOPT_TIMEOUT, 2);
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// curl_setopt($ch, CURLOPT_URL, $curl_URL);
// $data = curl_exec($ch);
// curl_close($ch);
// $apikey = json_decode($data);
// if ($apikey->status == '6' && $apikey->api_key != '') {
// $xml = @new SimpleXMLExtended('<item></item>');
// $note = $xml->addChild('apikey');
// $note->addCData($apikey->api_key);
// $xml->asXML($api_file);
// }
// }
}