Path

ez projects / ezgoogleanalytics / forum / general / unknow error : an unexpecte...


Unknow error : An unexpected error has occurred...

You need to be logged in to post messages in the forums. New users may register here.

Olivier Portier

Member since:
04 April 2008

Posts: 7

Thursday 23 July 2009 12:10:43 pm

Hi Bertrand,

I installed and configured your extension on a local machine (MacOS).
I created the tables like mentioned in the file doc/pagedata.sql

I launched the script pagedata.php from command line :
php bin/php/ezexec.php extension/ezgoogleanalytics/bin/php/pagedata.php

At first exec i had these errors :



PHP Fatal error: Class 'eZGoogleAnalytics' not found in /opt/local/apache2/htdocs/jnto/extension/ezgoogleanalytics/bin/php/pagedata.php on line 114


 

Fatal error: Class 'eZGoogleAnalytics' not found in /opt/local/apache2/htdocs/jnto/extension/ezgoogleanalytics/bin/php/pagedata.php on line 114


 

Fatal error: eZ Publish did not finish its request


The execution of eZ Publish was abruptly ended, the debug output is present below.




So i refreshed the autoloads :
php bin/php/ezpgenerateautoloads.php

And then refreshed the cashes :
php bin/php/ezcache.php --clear-all

After all, the exec of the command bin/php/pagedata.php return this :
An unexpected error has occurred. Please contact the webmaster.

Have you got any idea ?
Thanks for your help.
Olivier
Up

Anne MARTINET

Member since:
14 October 2009

Posts: 1

Wednesday 14 October 2009 3:17:55 pm

Hello,

I see your post, ans I have the same problem. Do you find solution(s) ?

Thanks in advanced,
Up

Olivier Portier

Member since:
04 April 2008

Posts: 7

Wednesday 28 October 2009 2:30:53 pm

Yes the problem was curl ! It did not support https.
You have to compile again PHP with curl and https support or use a new package.

On a Red Hat Entreprise server curl did support https, so i could do my tests.
On Mac OS, use mac port to install your packages :
sudo port install curl +ssl

For more information : http://www.macports.org/

Regards
Olivier
Up

You need to be logged in to post messages in the forums. New users may register here.