Jump to content

All modules cannot be loaded due to memory limit restrictions, please increase your memory_limit val


Recommended Posts

Any Body Have a solutions for this error

 

please help out

 

 

1. [All modules cannot be loaded due to memory limit restrictions, please increase your memory_limit value on your server configuration ]    in module Menu

2. Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /home/myvitals/public_html/classes/db/DbPDO.php on line 103

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 82 bytes) in /home/myvitals/public_html/classes/db/DbPDO.php on line 103

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

some body help meeee???

 

I have a terrible host, which have the mem limit around 16mb.

 

But I'm allowed to change it myself, not from the control panel, but Via .htaccess

 

In the root folder of your prestashop installation you should have a file called   .htaccess

open it with a normal text editor like notepad, notepad++ etc,  NOT WORD ETC :P 

 

Anyway at the very last line,   AFTER the # ~~end~~

 

I add this

 

php_value memory_limit 128M

 

Upload the file, force refresh my browser, and voila.

 

maybe 128M which represents 128Megabytes is a bit much, then try 64M  thats sensible ;) 

It may or may not work, if it works, fine if not then your ONLY option is to contact your webhost and ask

them to increase your php_mem limit 

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...