Jump to content

Recommended Posts

Wasn't able to find a topic on this. After 1 click upgrade all my test shops have this error:

 

[PrestaShop] Fatal error in module 369e49b56bf0e7c41403b972a54105177a7c2165.file.layout.tpl:
Allowed memory size of 54525952 bytes exhausted (tried to allocate 512001 bytes)

Link to comment
Share on other sites

Hello Buzltyr,

 

This error generally means that you need to allow more memory for your php processes. This is normally changed in your php.ini file. You should have one local to your hosting account. If not, your hosting company should be able to place one there for you.

 

Once you have located your php.ini file, be sure to locate the memory_limit variable and simply make it bigger. If it is set to 32M (32 mb) then set it to 64M, 128M, etc.

 

We have an article on how to solve this issue at InMotion.

http://inmotionhosting.com/support/website/php-troubleshooting/allowed-memory-size-exausted

 

Also, be sure you have your php.ini file set to recursive so that the memory limit applies to all folders in your account. To do that, make sure you have the following code in your .htaccess file:

suPHP_ConfigPath /home/username/public_html

Note you will need to change the word username to be your actual hosting account name.
 

Kindest Regards,
Scott M - InMotion Hosting Customer Community

  • Like 1
Link to comment
Share on other sites

Hello Buzltyr,

 

This error generally means that you need to allow more memory for your php processes. This is normally changed in your php.ini file. You should have one local to your hosting account. If not, your hosting company should be able to place one there for you.

 

Once you have located your php.ini file, be sure to locate the memory_limit variable and simply make it bigger. If it is set to 32M (32 mb) then set it to 64M, 128M, etc.

 

We have an article on how to solve this issue at InMotion.

http://inmotionhosting.com/support/website/php-troubleshooting/allowed-memory-size-exausted

 

Also, be sure you have your php.ini file set to recursive so that the memory limit applies to all folders in your account. To do that, make sure you have the following code in your .htaccess file:

suPHP_ConfigPath /home/username/public_html

Note you will need to change the word username to be your actual hosting account name.

 

Kindest Regards,

Scott M - InMotion Hosting Customer Community

I have done this let's see if it works. BTW thanks for the reply!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...