Jump to content

PS 1.4.5.1 Memory issue: memory_limit 64mb is not enough?


Recommended Posts

Hi guys,

 

I just did a clean PS 1.4.5.1 install. Back in the back-office under "modules" I am getting a red warning-message "All modules cannot be loaded due to memory limit restriction reason, please increase your memory_limit value on your server configuration"

 

My php.ini currently has 64mb as memory_limit.

 

My general newbie-question is: What does this setting actually mean.

 

My concerns/questions are:

Does the server give away 64mb for each user/visitor currently browsing the shop??

Or is it 64mb for the prestashop-instance handling all visitors currently browsing the shop?

If it would be 64mb per visitor this would mean 640mb RAM if I got 10 visitors at the same time right??

 

What memory_limit value do you guys reccon for using?

 

It would be cool if someone could explain me a little bit of technical background :-)

 

Thanks for your tipps

Rassy

Link to comment
Share on other sites

thank you for your help @cd2500, I found the file, but where do i insert ini_set('memory_limit','48M'); ?

 

---------------

 

go to

 

config/config.inc.php

insert this :

ini_set('memory_limit','48M');

 

after this:

/* Improve PHP configuration to prevent issues */

----------------------------------------

 

But this one does not work.. already tried.

ciao

Link to comment
Share on other sites

 

---------------

 

go to

 

config/config.inc.php

insert this :

ini_set('memory_limit','48M');

 

after this:

/* Improve PHP configuration to prevent issues */

----------------------------------------

 

But this one does not work.. already tried.

ciao

 

 

not 48M

 

config/config.inc.php

insert this :

 

/* Improve PHP configuration to prevent issues */

ini_set('memory_limit','128M');

 

 

My works perfect :) 1.4.5.1

Link to comment
Share on other sites

Ok, I'll answer your problem...

 

that is no memory_limit, but your module doesn't work or compatible on your ver.software. please delete the same or double module.

 

Module-->Position

please checklist:

 

Display non-positionable hooks

 

and Delete module are same or double module position.

 

its work...!!!

Link to comment
Share on other sites

  • 3 months later...

Aftet inserting this code my website is not opening. Its shoing the blank page. Even after removing the code also problem remain same.

 

Plz help.

 

Make display errors 'on' and mysql errors 'true' in the same config file which will tell you the problem.

Link to comment
Share on other sites

  • 1 month later...

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...