I installed:
The latest version of Google Analytics 7.x-1.3
Oauth version 7.x-3.0
Chart API version 7.x-1.1

and when I attempt to go to the Google analytics Reports configuration page:
/admin/config/system/google-analytics-reports

I get an:

Server error
The website encountered an error while retrieving http://2bwebsite.com/admin/config/system/google-analytics-reports. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

The site is up and working fine except when accessing this page.
What have I done wrong?

thanks

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

grendzy’s picture

Status: Active » Postponed (maintainer needs more info)

"Internal Server Error" is a catch-all message that doesn't tell us what truly went wrong. Can you post any related messages from your web server error log? (A common location for this log file would be /var/log/apache2/error_log). Thanks!

VanessaM’s picture

FileSize
252.47 KB

Hi,

I couldn't locate the log file but I exported the watchdog table.

I hope that helps.

thanks

grendzy’s picture

I'm afraid the watchdog doesn't help in this case, the information that's needed is only in the error_log. Your hosting provider should be able to tell you where it's located.

VanessaM’s picture

Hi,

Please find attached

grendzy’s picture

Thanks for the attachment, that's the access_log, what we're looking for instead is the error_log.

VanessaM’s picture

ok....slowly getting there...

This is the error that gets repeated many times
PHP Fatal error: Cannot redeclare class OAuthException in /home2/mytinokc/public_html/2bwebsite/sites/all/modules/oauth/lib/OAuth.php on line 8

VanessaM’s picture

BTW, I just performed a fresh installation of Drupal 7.19 and installed:
Google Analytics 7.x-1.3
Oauth version 7.x-3.0
Chart API version 7.x-1.1

and after enabling all the modules and attempting to access Google Analytics Reports in the configuration menu, I got exactly the same problem.

grendzy’s picture

Project: Google Analytics Reports » OAuth 1.0
Version: 7.x-1.3 » 7.x-3.0
Component: Reports module » Code
Status: Postponed (maintainer needs more info) » Closed (duplicate)

This is likely the issue described here:
#1334528: Fatal error: Cannot redeclare class OAuthException
(It's a namespace conflict with an OAuth extension in PECL).

Can you try the dev version (7.x-3.x-dev) of OAuth?

VanessaM’s picture

I am soooo happy! It works. Thank you so much! You are my hero right now :)