Jump to content

[SOLVED] Fatal error - Allowed memory size


Recommended Posts

hello ,  its my first time to use prestashop ,  after installation i got the following error when i tried  to open module page from admin control panel,

[PrestaShop] Fatal error in module   file /tools/smarty/sysplugins/smarty_internal_templateparser.php:
Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes)

 

please guide me how can i fix this in steps

i am using prestashop_1.6.0.14 on shared hosting

 

Regards

Link to comment
Share on other sites

Your php settings is having a memory limit of 32M.

This is really too tight for a ecommerce solution, not to mention Prestashop.

 

Consider a bare minimum of 384M preferably 512M as a memory limit.

 

Either liaise with your hoster support or forum to figure out how to increase the limit or if you are on your own system, increase the value within your php.ini

Link to comment
Share on other sites

Hello Dioniz, Doekia, thanks for your reply, i found that i can edit  php.ini  file under my vdeck hosting control panel , so i made some changes to increase the memory limit a script may consume to the following:

 

; Maximum amount of memory a script may consume (256MB)
memory_limit =64M

and now every thing is fine, thanks a lot
Edited by bazalto (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...