Okay
  Print

How to fix Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32560 bytes)

When you install theme , it show error 500, you enable debug on  config.inc.php  file and it show bug

Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32560 bytes) 

Three workarounds suggested (briefly):-

  1. Add a line "memory_limit = **M" to the ini.php file.
  2. Add a line "ini_set('memory_limit','**M');" to the config.inc.php file.
  3. Update your server php memory limit to **M

i use second option, open "config.inc.php" in folder "config", put this code at the very end line

/* Improve PHP configuration to prevent issues */
ini_set('default_charset', 'utf-8');
ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
ini_set('memory_limit','64M');