I get this error when I try to login with my admin account.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/music/public_html/themes/zen/zen_classic/page.tpl.php on line 106

It just happened one day... (that im aware of). Prior to that, i was just messing around with the theme options trying to customize my page/layout/css.

Comments

WorldFallz’s picture

See:

Documentation -> Troubleshooting FAQ -> Error Messages -> Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes)...

serulin’s picture

•memory_limit = 16M to your php.ini file (recommended, if you have access)
•ini_set('memory_limit', '16M'); in your sites/default/settings.php file
•php_value memory_limit 16M in your .htaccess file in the Drupal root

Where is my php.ini file? I cannot find it.

in my settings.php file it does not have •ini_set('memory_limit', '16M'); where I can set the memory larger.

My .htaccess file in drupal root does not have that value (php_value memory_limit 16M) either.

rickyd1’s picture

If you don't have a php.ini file you will have to create one. You can set the memory limit there. I have had this issue before and created the php.ini file increased my memory limit.

here is some online help.

http://drupal.org/node/207036

abhinya’s picture

Thank Mate,
I was stuck and you helped me big time.

http://drupal.org/node/207036

This is one link i will not have to forget, Thank you for pointing it out

I used the .htaccess seems to work