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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • fatal error cannot redeclare pear class
Pages: [1]

Author Topic: fatal error cannot redeclare pear class  (Read 4854 times)

jivyb

  • Guest
fatal error cannot redeclare pear class
May 20, 2007, 09:35:13 pm
Hi. I searched and couldn't find info about this error, so I'm hoping someone has some ideas. Here's the error I get:

Fatal error: Cannot redeclare class pear in /home/mysite/public_html/katie/sites/all/modules/civicrm/packages/PEAR.php on line 103

Thanks!

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: fatal error cannot redeclare pear class
May 21, 2007, 12:05:00 am
Is it possible that some other code (other Drupal modules?) uses the PEAR classes?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: fatal error cannot redeclare pear class
May 21, 2007, 08:01:06 am
Quote from: jivyb on May 20, 2007, 09:35:13 pm
Hi. I searched and couldn't find info about this error, so I'm hoping someone has some ideas. Here's the error I get:

Fatal error: Cannot redeclare class pear in /home/mysite/public_html/katie/sites/all/modules/civicrm/packages/PEAR.php on line 103

Thanks!

Check that you don't have two copies of the civicrm codebase / civicrm.module sitting under your drupal installation.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • fatal error cannot redeclare pear class

This forum was archived on 2017-11-26.