Jump to content

Memory limit issue Prestashop 1.6.1.1


Recommended Posts

Hi guys, 

 

I have an memory limit issue, and I cannot resolve it. What I have done:

 

1. Asked my hosting provider to make memory_limit to 256M.
2. Added "ini_set('memory_limit', '256M')" to config/config.inc.php.

3. Modified classes/Tools.php getMemoryLimit method by commenting "$memory_limit = @ini_get('memory_limit');" and added "$memory_limit = '256M'" instead. This made memory limit warning disappear. But then when I go to Catalog->Products, I get "Page could not be loaded" error;

 

Interesting fact, here's screen from Configuration information:

71k58m.jpg

 

And this is screen from phpinfo():

1199iyd.png

 

Why memory limit is different in Configuration information?

Edited by varovas (see edit history)
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...