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 »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PHP Memory Cache
Pages: [1]

Author Topic: PHP Memory Cache  (Read 1716 times)

sibro

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 2
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
PHP Memory Cache
January 12, 2013, 06:14:18 am
I am having a problem bringing up the contribution page. When I click on Manage Contribution->Link ->Live page I get the failure. If I manually clear the drupal cashe tables the donation screen renders.

I am seeing  an error Fatal error: Out of memory (allocated 57671680) (tried to allocate 15 bytes) in /home/fjmctest/public_html/includes/cache.inc on line 447.  I put a PHPINFO right in front of the bad line. It is reporting 1024 Meg of memory.

Drupal 7.18
Civicrm 4.2.6
PHP 5.4.8

I suspect something with PHP as I began having problems when the server went to 5.4.8.
Bruce

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: PHP Memory Cache
January 12, 2013, 09:06:24 am

Not sure why your out of memory error is different from the phpinfo limit. I would investigate and resolve that first

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

sibro

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 2
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
Re: PHP Memory Cache It was caused by PHP 5.4
January 12, 2013, 01:22:22 pm
Donald, I temporarily resolved my issue by moving my site back to 5.3. It seems like my VPS took an emergency Cpanel update which I believe moved my server to PHP 5.4.  It was just about the same time the site went live. I did not realize it until I began dealing with multiple bugs. The cache problem with the strange memory issue made me think something changed. No way will I go back to PHP 5.4 until your team resolves all the issues.  I will be happy to setup a 5.4 account on my server to help test.

Thanks for your help.
Bruce

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PHP Memory Cache

This forum was archived on 2017-11-26.