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) »
  • Failed Pear php
Pages: [1]

Author Topic: Failed Pear php  (Read 4671 times)

Gradus

  • Guest
Failed Pear php
June 06, 2007, 05:33:09 am
Hi everyone,

I need some help here. I installed civicrm-1.7.9682-joomla-php5 in Joomla using the 'manual' way.
I uploaded the unpacked directory com_civicrm to administrator/components.
Then I installed it using 'Install form directory'.
The installation went fine and CiviCrm is shown under Installed components in the Installers Components menu.
In the Administrator menu under Components CiviCRM is shown.
But whem I click on one of the subitems, like Find Contacts, I get the following error.

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.;C:\php5\pear') in E:\oursite.com\wwwroot\administrator\components\com_civicrm\admin.civicrm.php on line 9

Line 9 in admin.civicrm.php = require_once 'PEAR.php';

I cannot find any PEAR.php, so what do I have to do to make it work.

Gradus.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Failed Pear php
June 06, 2007, 12:05:57 pm

make sure you have set

$civicrm_root = 'E:\oursite.com\wwwroot\administrator\components\com_civicrm\civicrm';

in


E:\oursite.com\wwwroot\administrator\components\com_civicrm\civicrm.settings.php

you'll have to do the same change in:


E:\oursite.com\wwwroot\components\com_civicrm\civicrm.settings.php

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Gradus

  • Guest
Re: Failed Pear php
June 07, 2007, 03:14:30 am
Dear Donald,

Thank you for your quick response.
The solution seems obvious but ther are no civicrm.settings.php's on both maps.
So no:
E:\oursite.com\wwwroot\administrator\components\com_civicrm\civicrm.settings.php and
E:\oursite.com\wwwroot\components\com_civicrm\civicrm.settings.php

However there is a file civicrm.settings.php.sample.
Located in E:\oursite.com\wwwroot\administrator\components\com_civicrm\civicrm\
This can be chaged in civicrm.settings.php en put in both maps.

However there are a lot of definitions in that file and I am not sure what else should be defined.

Also the installation was done without this file. Should I reinstall after the changes?


Gradus





Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Failed Pear php
June 07, 2007, 12:00:34 pm

if those files dont exist, your install did not succeed. Not sure how/what you did, but you might want to reinstall again. Those files are created automatically during the install process

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Gradus

  • Guest
Re: Failed Pear php
June 11, 2007, 01:11:02 am
Dear Donald,

I did not do anything special.
These files were not in civicrm-1.7.9682-joomla-php5.zip.
There is a file civicrm.settings.php.sample
Also in civicrm-1.7.9682-joomla-php4.zip is no civicrm.settings.php.
So how can I do a proper install when these files are missing.

Gradus.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Failed Pear php
June 11, 2007, 01:17:19 am

yes, those files are not in the distribution. They are created by the install script. You need to run the component installer as specified in:

http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=4747

We dont support the 'manual' way (since we've never run it that way and due to lack of resources). You might want to recheck the forums and see what steps you might have missed

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Gradus

  • Guest
Re: Failed Pear php
June 11, 2007, 02:54:17 am
Thanks.

And so I am back were I started.  :(

Gradus.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Failed Pear php

This forum was archived on 2017-11-26.