andeedee / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

Blank page returned #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hey guys,
I have a very strange problem which I cannot solve. I have searched all the
issues and have not found anyone having the same problems. After I
installed GAPI, all the php pages return a blank page. 

I am using PHP 5.2.6, the settings for CURL and openSSL are:
cURL support: enabled
cURL Information: libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
OpenSSL support: enabled
OpenSSL Version: OpenSSL 0.9.8b 04 May 2006 

I post a short piece of code about getting the account information below
and hope you can help me. Thanks a lot.

<?php
define('ga_email','www@gmail.com');
define('ga_password','www');
require 'gapi.class.php';
$ga = new gapi(ga_email,ga_password);
$ga->requestAccountData();
foreach($ga->getResults() as $result)
{
  echo $result . ' (' . $result->getProfileId() . ")<br />";
}
?>

Original issue reported on code.google.com by thrashin...@gmail.com on 27 Apr 2010 at 3:43

GoogleCodeExporter commented 9 years ago
Ive got the same problem. The page simply does not load and the server has cURL 
enabled

Original comment by pesca...@gmail.com on 7 Dec 2010 at 1:55

GoogleCodeExporter commented 9 years ago
i have same problem too... is there is anyone can solve this??? come on ... 

Original comment by ad...@vthink.web.id on 15 Oct 2011 at 7:29