This was one of the first "errors" I encountered when working with Drupal. You need to find the "memory_limit" setting in your php.ini or settings.php file and set it way up. I run with 128M.Tony
On Mon, Oct 3, 2011 at 3:25 PM, Tina Williams <tina@words-etcetera.com> wrote:
I am running Drupal 6.20 and CiviCRM 3.3.5 on Media Temple hosting on (gs) MySQL Container Lite. I have access to edit my php.ini and my.cnf file. The drupal set-up is not "live" but we are using the CiviCRM for our membership stuff now. Last week I started doing major theme work on the drupal site to get it ready for live, and, at some point in that process, the CiviCRM "broke" in that now I'm getting error messages whenever I try and access the entire database. I get some variation of this error message:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 77824 bytes) in /nfs/c02/h09/mnt/25571/domains/mana.org/html/drupaltest2/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php on line 1493
The first part is always the same up to the amount tried to allocate and then it's always a different file and line number.
The only thing that appears wrong with the drupal set-up is, when I clear the cache, I get this error message (always the same message):
I have read forums, edited my php.ini and my.cnf files, changed the theme back to garland, etc. etc. and I can't get anything to fix CiviCRM.warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): (/home/25571/domains/mana.org/html/:/home/25571/data/tmp/:/home/25571/domains/mana.org/application/) in /nfs/c02/h09/mnt/25571/domains/mana.org/html/drupaltest2/includes/file.inc on line 190.
warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): (/home/25571/domains/mana.org/html/:/home/25571/data/tmp/:/home/25571/domains/mana.org/application/) in /nfs/c02/h09/mnt/25571/domains/mana.org/html/drupaltest2/includes/file.inc on line 190.
Any help greatly appreciated!!!!
Tina
--
[ Drupal support list | http://lists.drupal.org/ ]
--
tony maciejowski | analyst/programmer | websites | www.tony-mac.com
Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski