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
Pages: [1]

Author Topic: Fatal Error  (Read 3270 times)

musashi39

  • Guest
Fatal Error
March 24, 2009, 01:39:58 pm
This takes my whole site down. I've uninstalled and reinstalled with no affect.

Quote
Fatal error: require_once() [function.require]: Failed opening required 'CRM/Utils/System.php' (include_path='.:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/') in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 239

And

Quote
Page not found

    * warning: include_once(sites/tidesandcycles.org/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 236.
    * warning: include_once() [function.include]: Failed opening 'sites/tidesandcycles.org/civicrm.settings.php' for inclusion (include_path='.:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/') in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 236.
    * warning: require_once(CRM/Utils/System.php) [function.require-once]: failed to open stream: No such file or directory in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 239.
    * warning: include_once(sites/tidesandcycles.org/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 236.
    * warning: include_once() [function.include]: Failed opening 'sites/tidesandcycles.org/civicrm.settings.php' for inclusion (include_path='.:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/') in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 236.
    * warning: require_once(CRM/Utils/System.php) [function.require-once]: failed to open stream: No such file or directory in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 239.
    * warning: include_once(sites/tidesandcycles.org/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 236.
    * warning: include_once() [function.include]: Failed opening 'sites/tidesandcycles.org/civicrm.settings.php' for inclusion (include_path='.:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/') in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 236.
    * warning: require_once(CRM/Utils/System.php) [function.require-once]: failed to open stream: No such file or directory in /f1/content/overtheedge/public/sites/all/modules/civicrm/drupal/civicrm.module on line 239.

The requested page could not be found.


When I delete all of the civiCRM files my site returns to working condition.

musashi39

  • Guest
Re: Fatal Error
March 24, 2009, 07:27:48 pm
I moved the civi settings file from default to my specific site. But now I randomly get

Quote
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /f1/content/overtheedge/public/sites/all/modules/civicrm/CRM/Contact/BAO/Relationship.php on line 819

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal Error
March 25, 2009, 04:24:23 am
These errrors mean CiviCRM can’t find its files. Did CiviCRM install properly?

Quote from: musashi39 on March 24, 2009, 07:27:48 pm
Quote
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /f1/content/overtheedge/public/sites/all/modules/civicrm/CRM/Contact/BAO/Relationship.php on line 819

This means your combination of Drupal modules (CiviCRM and others) requires more memory than your current PHP limit of 32 MiB. You need to change your memory_limit setting, either in php.ini or ask your hosting provider.
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.

musashi39

  • Guest
Re: Fatal Error
March 25, 2009, 11:23:14 am
Changed my PHP memory limit to 64M. Every thing seems to be working just fine now. Remember when nobody needed more than 640k???

So my newest problem is I don't have any menus that link to civiCRM. I have to directly access CiviCRM by typing in the URL. How can I get CiviCRM's menus? LIke it shows in the videos.

musashi39

  • Guest
Re: Fatal Error
March 25, 2009, 11:25:30 am
And what does this mean?


Quote
    * warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/f1/content/overtheedge/:/nfsn/content/overtheedge/:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/:/nfsn/content/content/nfsn/) in /f1/content/overtheedge/public/modules/print/dompdf-0.5.1/include/image_cache.cls.php on line 105.
    * warning: unlink() [function.unlink]: Unable to access in /f1/content/overtheedge/public/modules/print/dompdf-0.5.1/include/image_cache.cls.php on line 153.


Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal Error
March 26, 2009, 01:51:47 am
Quote from: musashi39 on March 25, 2009, 11:23:14 am
So my newest problem is I don't have any menus that link to civiCRM. I have to directly access CiviCRM by typing in the URL. How can I get CiviCRM's menus? LIke it shows in the videos.

You should get a ‘CiviCRM’ link added to your main navigation; I’m not sure why it could be missing.

If you want the other CiviCRM links, go to Administer → Site building → Blocks and add the CiviCRM Menu block where appropriate.
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.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal Error
March 26, 2009, 01:56:27 am
Quote from: musashi39 on March 25, 2009, 11:25:30 am
And what does this mean?

Quote
    * warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/f1/content/overtheedge/:/nfsn/content/overtheedge/:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/:/nfsn/content/content/nfsn/) in /f1/content/overtheedge/public/modules/print/dompdf-0.5.1/include/image_cache.cls.php on line 105.
    * warning: unlink() [function.unlink]: Unable to access in /f1/content/overtheedge/public/modules/print/dompdf-0.5.1/include/image_cache.cls.php on line 153.

It means that the print module (or its dompdf part) is not compatible with open_basedir – but this doesn’t seem to be related to CiviCRM.
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.

musashi39

  • Guest
Re: Fatal Error
March 27, 2009, 10:38:36 am
Thanks Everybody!  ;D

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Fatal Error
March 27, 2009, 11:53:54 am
I'm still struggling with this. I did find that if I changed the timeout settings in PHP.ini (see below), CiviCRM would not produce the WSOD, but still wouldn't work. I think it comes down to a line in Install.php that uses a PHP Global called $cmspath and $cmspath is associated with a different file structure than I have. I don't know where this association takes place, or I'd change my file structure to satisfy the little monster. Obviously, I don't know much about PHP, but can anyone tell me where that global is defined?
I also found I had three different PHP.ini files: one in Windows, one in Apache, and one in the PHP folder. Apparently the one in PHP folder is controlling.
I also found that by untarring the CiviCrm distro directly into htdocs results in a separate Drupal folder, as opposed to untarring it in the download folder and then moving the contents. CiviCrm still doesn't work, but I think I'm closer to a solution.
Thanks for any help.

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: Fatal Error
March 27, 2009, 02:15:48 pm

u might want to ensure that open_basedir is turned off and try to get things working with that turned off. We dont support that option officially, but there are a few forum posts regarding it

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

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Fatal Error
March 28, 2009, 12:08:50 pm
Where do I find open_basedir to turn it off? Ya gotta remember that us noobs are strangers to these parts. Or as they used to say at the MIT Media Lab, "you have to make it so simple that it can be understood by a 12-year-old or a Rear Admiral". But thanks for the on-going advice.

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: Fatal Error
March 28, 2009, 02:46:54 pm

this is more a php question rather than a civicrm question. You'll need to find and edit your php.ini file

check:

http://us3.php.net/results.php?q=open_basedir&l=en&p=wholesite
http://us3.php.net/manual/en/configuration.file.php

IMO, civicrm still needs a bit of technical expertise to get it up and running especially if you run into issues. If the above does not make sense, consider hiring someone from http://civicrm.org/professional/

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Fatal Error

This forum was archived on 2017-11-26.