By james789 on
Hi
Overnight Friday I had some problems with php memory - any page on the site returned "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 30720 bytes) in /usr/home/****/public_html/modules/contact.module on line 293"
I fixed this by tweaking the memory allocation in the root .htaccess
However, I have since tried to login and it appears to log me in (I get admin links etc), but as soon as I try to do anything I am logged out again.
Note that I have tried cookies/browsers/machines but it is the same everywhere.
The site is www.whatsthatpicture.com
Many thanks for any advice, James
Comments
I'm surprised that doing
I'm surprised that doing something in .htaccess would alleviate your out of memory PHP problem. Normally, you need to adjust that setting in the php.ini file. Perhaps make your change there and remove the directives you put in .htaccess.
Still can't stay logged in
I was simply following the advice on http://drupal.org/node/29268 and as I didn't have a php.ini file and wasn't sure if my host supported it I chose the .htaccess route. I have since removed it from there and set up a php.ini file but the problem persists - the site is working OK, I can log in, but as soon as I try to click any link it logs me out again.
----------------------------------------------
James @ www.whatsthatpicture.com
----------------------------------------------