Kevin,
I have access to my php.dat file
On 11/07/11 9:51 AM, Shai Gluskin wrote:Kevin,
You only want to set this in ONE place. Otherwise, you won't know what overrides what and which setting is authoritative.
So...
- Set memory limit in only one place, remove any other custom code other than in once place.
- Set it for 96MB minimum
- Go to the "Status" page to confirm the amount of memory available to your installation ( at /admin/reports/status)
Report back,
Shai Gluskin
On Mon, Jul 11, 2011 at 3:33 PM, Kevin Anderson <kevinanderson1989@gmail.com> wrote:
I have also read that you can go to the setting.php file and add a line of code... i have done this also have added a line of code in the htaccess file aswell but only to 32MB should I up the size in these files aswell?
On 11/07/11 9:05 AM, Shai Gluskin wrote:Thanks Jamie for that reference; that's a good docs page.
But Kevin, don't be confused by the example. I think that doc was written when most shared hosts defaulted to 8MB or 16MB and so upping it to 32MB made a difference. Given the error message you reported, you already have 32MB of available memory. But it still isn't surprising that you get the error, depending on what version of Drupal you are using and what modules you have installed. I have my own server and my master php.ini is for accounts to have 128MB of memory available for Drupal.
Shai
On Mon, Jul 11, 2011 at 11:53 AM, Jamie Holly <hovercrafter@earthlink.net> wrote:
http://drupal.org/node/207036Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 7/11/2011 2:25 PM, Kevin Anderson wrote:I am having trouble when working with drupal actually up on the server. Everytime I save something it gives me this error.
"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 45 bytes) in /data/16/1/19/132/1508295/user/1622796/htdocs/wordpress/sewerratracing/includes/database.mysql.inc on line 160"
it seems to be a different path every time but the same message.
has anyone encounterd this? and have any solotions?
Thanks, Kevin
--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]