CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Error Being Thrown When Trying to View Reports
Pages: [1]

Author Topic: Error Being Thrown When Trying to View Reports  (Read 471 times)

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Error Being Thrown When Trying to View Reports
March 03, 2014, 09:44:41 am
On one of my CiviCRM sites,

admins get the following php error when trying to run any CiviCRM reports:

Fatal error: Class 'Database' not found in [pathto]/sites/all/modules/civicrm/CRM/Report/Form.php on line 2820

Any ideas?

This particular site is running:

CiviCRM 4.2.16/Drupal 7.26
PHP: 5.3.27
MySQL: 5.1.72-cll

Thanks,

Shai Gluskin
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Error Being Thrown When Trying to View Reports
March 05, 2014, 05:08:37 pm
Can anyone just send me in a direction on this. Is this a PHP configuration problem maybe? Where is that database class supposed to be?

There wasn't anything relevant that I could tell on line 2820 of sites/all/modules/civicrm/CRM/Report/Form.php on line 2820.

Thanks, I appreciate the help.

Shai Gluskin
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Error Being Thrown When Trying to View Reports
March 16, 2014, 05:55:10 pm
This problem goes away when the CiviCRM Theme module is turned off.

Ideas? Has anyone ever seen this before?

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

slamorte

  • I’m new here
  • *
  • Posts: 27
  • Karma: 1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • MySQL version: 14.14
  • PHP version: 5.4.4-14+deb7u8
Re: Error Being Thrown When Trying to View Reports
April 03, 2014, 05:48:38 am
I'm not familiar with this error, but is there any reason to not upgrade to 4.4.4 and see if it's been resolved?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Error Being Thrown When Trying to View Reports

This forum was archived on 2017-11-26.