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 »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Fatal Error - Pear?
Pages: [1]

Author Topic: Fatal Error - Pear?  (Read 728 times)

biologyben

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Wordpress 4.0
Fatal Error - Pear?
February 21, 2014, 08:08:20 am
I am trying to upgrade to 4.4 from ...perhaps it was 3.2.8? Anyway, this is on one site of a Wordpress MU 3.8.1 installation that is otherwise completely functional.  We're running  MySQL 5.5.34, PHP 5.5

I now have an error when trying to get to the upgrade page at (My-site.com/wp-admin/admin.php?page=CiviCRM&q=civicrm/upgrade&reset=1):
 
Code: [Select]
Warning: require_once(CRM/Core/ClassLoader.php): failed to open stream: No such file or directory in /webroot/my-path/wp-content/plugins/civicrm/civicrm.settings.php on line 299 Fatal error: require_once():

Failed opening required 'CRM/Core/ClassLoader.php' (include_path='.:/webroot/my-path/wp-content/plugins/civicrm/civicrm/:/webroot/my-path/wp-content/plugins/civicrm/civicrm//packages:.:/usr/share/pear:/usr/share/php53/pear') in /webroot/my-path/wp-content/plugins/civicrm/civicrm.settings.php on line 299

I haven't found much help via searching this error and don't understand the syntax of the error string - any advice?  ??? 

Edit -- I do not find usr/share/pear or usr/php53/pear in the file directory using a path search in filezilla - I assume this is the problem? 

I also marked out the lines calling for the classloader.php (299 & 300 in civicrm.settings.php as well as the same lines in civicrm.php (318ish)  This leads to a different error (essentially that it cant find the classloader.php - but it fails more gracefully!
« Last Edit: February 21, 2014, 09:28:45 am by biologyben »

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Fatal Error - Pear?
February 21, 2014, 11:16:13 am
Not sure exactly what your issue is, but a few things to look into -

Might be worth double-checking the paths in civicrm.settings.php - any chance you relocated the source code, or that the previous version's code is still present on disk?

Did you fully remove the previous source before installing the new code?

I'm unsure if CiviCRM will cope with PHP5.5 yet? https://civicrm.org/go/download says 5.3 or 5.4 are required. That's *probably* not the problem you're hitting, but it might be the next one ... how did you get along with 3.4.x on PHP5.5?
@xurizaemon ● www.fuzion.co.nz

biologyben

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Wordpress 4.0
Re: Fatal Error - Pear?
February 21, 2014, 02:37:44 pm
I can regress PHP to 5.4 if needed- This was a recent shift from 5.3.2 with the update to 3.8.1 and civicrm update.

Quote
Did you fully remove the previous source before installing the new code?

I followed the instructions here https://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+WordPress+Sites+to+4.4 including a complete deletion of the civicrm plugin folder.

I double checked the paths in civicrm.settings.php - only the template_c path was odd - but should apparently be generated if needed.  Everything else seems to match up. 

These paths in the error could not be found anywhere I looked in my entire directory tree however.  Where are these typically?
Code: [Select]
/usr/share/pear:/usr/share/php53/pear'

There was another error when I had google analyticator plug in activated, but of course, after deactivating it, it disappeared. 
« Last Edit: February 21, 2014, 02:40:41 pm by biologyben »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Fatal Error - Pear?

This forum was archived on 2017-11-26.