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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • New Install... promise it's not a duplicate issue
Pages: [1]

Author Topic: New Install... promise it's not a duplicate issue  (Read 738 times)

RedHeron

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • I'm the newbie! Gotta love me!
    • United Jedi Council
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 2.5.4
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.9
New Install... promise it's not a duplicate issue
March 13, 2010, 02:57:30 am
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /www/libraries/pear/PEAR.php:773) in /www/administrator/components/com_civicrm/civicrm/packages/PEAR.php  on line 811

The first directory is the root, Joomla's own libraries under Joomla 1.5.15 ...
The second is the fresh install of CiviCRM

Looking through the boards, I don't see anything that's quite this same issue. I installed from a URL after uploading it to my server when the normal installer kicked me back to the control panel page without installing (after the upload, MD5 integrity check seemed to indicate the file made it to the server okay... which may be a Joomla issue that I've never run into before). The above fatal error was the result of the install.

The next question is... which files do I need to hack/delete/move/replace/whatever in order to get this thing working (as I'd rather not spend the next 40 hours poring over files in order to figure this out)?

I have access to the php.ini file, if it helps to alter any settings there.

Also... would it be simpler to cobble something together?

Finally... could it possibly be done with a pre-configured Joomla install which is then uploaded to the server and install all the relevant bits with a script? The files on that seem to be the heavy part, as a 10mb upload (not the smallest component I've seen) seems to be part of the issue.

Thanks, and sorry if I'm being a pain. It's been a long 20 hours of fighting with a server that I don't have full control over today, and this failure just about tops it. I admit it, I'm spoiled.

EDIT: Also, I notice after the update that it never even got to the place where it installs tables in the database... no info is listed in the installation/uninstallation area under Version, Date, Author, etc., which means that the PEAR conflict interrupts the installation process.

Any way to point the files differently so that everyone plays together?
« Last Edit: March 13, 2010, 03:19:32 am by RedHeron »

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: New Install... promise it's not a duplicate issue
March 13, 2010, 04:47:09 am
are you running DocMan? particularly an older version? there is a class conflict with that extension and Civi (and perhaps some other extensions as well).

if you get into the PEAR.php file in civi, wrap the entire class in the following (around line 72):

Code: [Select]
if (!class_exists("PEAR")) {

CLASS HERE

}

that should resolve the conflict
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • New Install... promise it's not a duplicate issue

This forum was archived on 2017-11-26.