I’m not sure why this worked, but on
my shared hosting environment I was able to create a empty php.ini file in my home
directory with the one overriding entry in it and it seemed to be merged with the
other entries when executing on my account, much the same way modules in my sites/all/modules
folder override or supplement those in the core Drupal.
From: support-bounces@drupal.org
[mailto:support-bounces@drupal.org] On Behalf
Of Kevin Anderson
Sent: Monday, July 11, 2011 1:37
PM
To:
Subject: Re: [support] Fatal
error: Allowed memory size
Shai,
I have contacted my hosting provider and they said i dont have access to my
php.ini file... any other solution?
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...
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:
Jamie Hollyhttp://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/ ]