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

Author Topic: Fatal Errors  (Read 1233 times)

haxx

  • Guest
Fatal Errors
June 17, 2009, 02:43:02 am
Hi

Have been having a lot of problems trying to get civicrm to work. I'm new to Drupal, have been using Joomla for sometime but we have decided to use Drupal for this application

Having read the forums, I can confirm the following;

We are running the latest version of Drupal 6.12, civiCRM 2.2.5, PHP 5.2.9, MySQL 5.0.81, PHP Memory limit is set to 128M (This can go no higher I have already checked with the host).

Installation went okish, though it didn't create the civicrm.settings.php, which I have done by hand and placed in the appropriate directory.

Got lots of errors whilst doing it, but finally got all the errors resolved but am now getting this when I click on the civicrm link in the menu;

Fatal error: Out of memory (allocated 14680064) (tried to allocate 32 bytes) in /home/thehonbu/public_html/wkmis/sites/all/modules/civicrm/CRM/Core/BAO/Log.php on line 50

Also have checked with host but our server uses a global wide php.ini and they say it will ignore any local ones.

Does anyone have any ideas?

Thanks

Paul

oban

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
Re: Fatal Errors
June 17, 2009, 07:25:42 am
> Also have checked with host but our server uses a global wide php.ini and they say it will ignore any local ones.

I'm confused. Did you use a local php.ini file to adjust the memory limit? Why don't you use the .htaccess file??



haxx

  • Guest
Re: Fatal Errors
June 17, 2009, 07:58:07 am
No didn't use php.ini to adjust memory limit, its already been set at 128M by the host.

really don't know much about .htaccess files, how would this help?

Sorry to be thick but never had to delve into servers before.

Paul

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Fatal Errors
June 18, 2009, 08:52:26 am
This error means that CiviCRM can still access only 14680064 / 1024 / 1024 = 14 MiB of memory (you should be able to verify this by putting a phpinfo() call in the civicrm.settings.php file and refreshing any CiviCRM page).

You need to make the memory_limit higher somehow – either by tweaking php.ini in a way that works or by putting
Code: [Select]
php_value memory_limit 64M
in a .htaccess file in the root of your website.
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.

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

This forum was archived on 2017-11-26.