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* *
Hi Kevin and all,
Hopefully you have a php.ini file you can edit or add. Ask your host. Typically they can give you a copy of the default one, which you place at the domain root (so that it would be accessed at: http://example.com/php.ini ).
Once that is in place, find this line:
memory_limit = 32M
and change it to:
memory_limit = 128M
That should solve your problems.
Report back,
Shai Gluskin
On Mon, Jul 11, 2011 at 2:25 PM, Kevin Anderson <kevinanderson1989@gmail.com
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/ ]
Jamie 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*
Fixes documented here.
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jamie Holly Sent: Monday, July 11, 2011 8:54 AM To: support@drupal.org Subject: Re: [support] Fatal error: Allowed memory size
Jamie 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/i ncludes/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
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.netwrote:
** http://drupal.org/node/207036
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/ ]
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 mailto:hovercrafter@earthlink.net> wrote:
http://drupal.org/node/207036 Jamie 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/ ]
Kevin,
You only want to set this in ONE place. Otherwise, you won't know what overrides what and which setting is authoritative.
So...
1. Set memory limit in only one place, remove any other custom code other than in once place. 2. Set it for 96MB minimum 3. 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.netwrote:
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/ ]
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...
- 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 mailto: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 <mailto:hovercrafter@earthlink.net>> wrote: http://drupal.org/node/207036 Jamie 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/ ]
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.
Warren Vail
Vail Systems Technology
warren@vailtech.net
(510) 444-5380
_____
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Kevin Anderson Sent: Monday, July 11, 2011 1:37 PM To: support@drupal.org 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...
1. Set memory limit in only one place, remove any other custom code other than in once place. 2. Set it for 96MB minimum 3. 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:
Jamie 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/inclu des/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/ ]
Warren,
Any idea what I would put in this empty ini file?
On 11/07/11 11:48 AM, Warren Vail wrote:
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.
/*/Warren Vail/*/
Vail Systems Technology
warren@vailtech.net mailto:warren@vailtech.net
(510) 444-5380
*From:*support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Kevin Anderson *Sent:* Monday, July 11, 2011 1:37 PM *To:* support@drupal.org *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...
- 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 mailto: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 mailto:hovercrafter@earthlink.net> wrote:
Jamie 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/ ]
Try the following one line;
memory_limit = 96M
I was able to override the register globals variable using this method as well.
Warren Vail
Vail Systems Technology
warren@vailtech.net
(510) 444-5380
_____
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Kevin Anderson Sent: Monday, July 11, 2011 3:31 PM To: support@drupal.org Subject: Re: [support] Fatal error: Allowed memory size
Warren,
Any idea what I would put in this empty ini file?
On 11/07/11 11:48 AM, Warren Vail wrote:
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.
Warren Vail
Vail Systems Technology
warren@vailtech.net
(510) 444-5380
_____
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Kevin Anderson Sent: Monday, July 11, 2011 1:37 PM To: support@drupal.org 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...
1. Set memory limit in only one place, remove any other custom code other than in once place. 2. Set it for 96MB minimum 3. 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:
Jamie 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/inclu des/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/ ]
What is your status report saying?
On Mon, Jul 11, 2011 at 4:01 PM, Warren Vail warren@vailtech.net wrote:
Try the following one line;****
memory_limit = 96M****
I was able to override the register globals variable using this method as well.****
*Warren Vail*****
Vail Systems Technology****
warren@vailtech.net****
(510) 444-5380****
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Kevin Anderson *Sent:* Monday, July 11, 2011 3:31 PM
*To:* **support@drupal.org** *Subject:* Re: [support] Fatal error: Allowed memory size
****Warren****,
Any idea what I would put in this empty ini file?
On 11/07/11 11:48 AM, Warren Vail wrote: ****
**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.*
*Warren Vail*********
Vail Systems Technology********
warren@vailtech.net********
(510) 444-5380********
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.orgsupport-bounces@drupal.org] *On Behalf Of *Kevin Anderson *Sent:* Monday, July 11, 2011 1:37 PM *To:* **support@drupal.org** *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...********
- Set memory limit in only one place, remove any other custom code
other than in once place.******** 2. Set it for 96MB minimum******** 3. 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/207036 ********
Jamie 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/ ]
Shai,
I have gone to the settings.php and added _|ini_set('memory_limit', '96M');|_|||||| I still have the error (only sometimes) the file uploaded correctly through the file manager. But still am having the error message come up.
Cheers, Kevin
On 11/07/11 11:48 AM, Warren Vail wrote:
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.
/*/Warren Vail/*/
Vail Systems Technology
warren@vailtech.net mailto:warren@vailtech.net
(510) 444-5380
*From:*support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Kevin Anderson *Sent:* Monday, July 11, 2011 1:37 PM *To:* support@drupal.org *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...
- 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 mailto: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 mailto:hovercrafter@earthlink.net> wrote:
Jamie 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/ ]
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 mailto: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 <mailto:hovercrafter@earthlink.net>> wrote: http://drupal.org/node/207036 Jamie 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/ ]
Kevin,
Sounds like you are on a Windows server maybe, I know nothing about Windows. You might leave the php.dat file alone and change it in settings.php. I wasn't saying that setting it in settings.php wouldn't work, just that you shouldn't set it in more than one place.
Going to the status page will always tell you if your efforts have been successful.
Shai
On Mon, Jul 11, 2011 at 4:38 PM, Kevin Anderson <kevinanderson1989@gmail.com
wrote:
** 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. 2. Set it for 96MB minimum 3. 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:
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/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
I am working on a mac, i dont do windows, the php.dat is in the cg-bins directory on my server.
On 11/07/11 10:47 AM, Shai Gluskin wrote:
Kevin,
Sounds like you are on a Windows server maybe, I know nothing about Windows. You might leave the php.dat file alone and change it in settings.php. I wasn't saying that setting it in settings.php wouldn't work, just that you shouldn't set it in more than one place.
Going to the status page will always tell you if your efforts have been successful.
Shai
On Mon, Jul 11, 2011 at 4:38 PM, Kevin Anderson <kevinanderson1989@gmail.com mailto:kevinanderson1989@gmail.com> wrote:
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... 1. Set memory limit in only one place, remove any other custom code other than in once place. 2. Set it for 96MB minimum 3. 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 <mailto: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 <mailto:hovercrafter@earthlink.net>> wrote: http://drupal.org/node/207036 Jamie 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/ ]
I tried the htaccess way and i got a fatal 500 error, then i also tried the settings.php way and the file wont FTP back onto my server. The php.ini file is nowhere to be found
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 mailto: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 <mailto:hovercrafter@earthlink.net>> wrote: http://drupal.org/node/207036 Jamie 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/ ]
Kevin,
It sounds like the *server *is a Windows server. That's the relavant part here; not what your local box is.
I'd pursue the settings.php way. But don't do it via FTP. Do it via your server company's file manager. And you might have to loosen up permissions in advance of editing the file and then tighten them back up after you have edited the file.
Good luck and report back,
Shai
On Mon, Jul 11, 2011 at 5:38 PM, Kevin Anderson <kevinanderson1989@gmail.com
wrote:
** I tried the htaccess way and i got a fatal 500 error, then i also tried the settings.php way and the file wont FTP back onto my server. The php.ini file is nowhere to be found
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. 2. Set it for 96MB minimum 3. 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:
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/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]