rassy Posted October 16, 2011 Share Posted October 16, 2011 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 More sharing options...
rassy Posted October 16, 2011 Author Share Posted October 16, 2011 by the way - I just changed the setting to 128mb and the warning message is gone BUT: What does this technically mean concerning the requirements of my web-server? Link to comment Share on other sites More sharing options...
PeteZ Posted October 17, 2011 Share Posted October 17, 2011 same here. can someone help on this. I cant see php.ini on my server. Link to comment Share on other sites More sharing options...
gingermix Posted October 17, 2011 Share Posted October 17, 2011 I experience the same problem. Anybody knows wether this is just a PS 1.4.5.1 bug or memory requirements are changed? No info about that as well.. on the forum.. Link to comment Share on other sites More sharing options...
Francisco Carlão Posted October 19, 2011 Share Posted October 19, 2011 go to config/config.inc.php insert this : ini_set('memory_limit','48M'); after this: /* Improve PHP configuration to prevent issues */ Link to comment Share on other sites More sharing options...
Carl Favre Posted October 19, 2011 Share Posted October 19, 2011 Hi rassy, Let me reassure you, the server does not give away 64 Mb for each visitor. PrestaShop only needs this memory to display all the modules in the back office "modules" menu. Visitors are not concerned by it. Only your back-office. Is it clearer ? Link to comment Share on other sites More sharing options...
gingermix Posted October 19, 2011 Share Posted October 19, 2011 same here. can someone help on this. I cant see php.ini on my server. Tried this, recompiled the smarty, but no success ... Link to comment Share on other sites More sharing options...
gingermix Posted October 19, 2011 Share Posted October 19, 2011 go to config/config.inc.php insert this : ini_set('memory_limit','48M'); after this: /* Improve PHP configuration to prevent issues */ Tried this, recompiled the smarty, but no success ... Link to comment Share on other sites More sharing options...
Machelle Posted October 19, 2011 Share Posted October 19, 2011 I have the same problem, where do i find config/config.inc.php? is it in the folder of my theme? I am very new at this. Help will be very much appreciated Link to comment Share on other sites More sharing options...
guest* Posted October 19, 2011 Share Posted October 19, 2011 @ Machelle - config/config.inc.php you will find the the root of your shop not in your theme. Link to comment Share on other sites More sharing options...
Machelle Posted October 20, 2011 Share Posted October 20, 2011 thank you for your help @cd2500, I found the file, but where do i insert ini_set('memory_limit','48M'); ? Link to comment Share on other sites More sharing options...
gingermix Posted October 20, 2011 Share Posted October 20, 2011 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 More sharing options...
gingermix Posted October 21, 2011 Share Posted October 21, 2011 Anybody out there with an idea on how to fix this issue regarding this mystic Memory_limit ??? Have a good day in the meantime :-D Link to comment Share on other sites More sharing options...
Jaza Posted October 21, 2011 Share Posted October 21, 2011 @ gingermix Anybody out there with an idea on how to fix this issue regarding this mystic Memory_limit ??? Have a good day in the meantime :-D You have to contact your hosting company and request they increase the memory of your site for you. Link to comment Share on other sites More sharing options...
Vilas Posted October 22, 2011 Share Posted October 22, 2011 Hello, I am also faced same issue. But after pasting the given code its resolved. Thanks Vilas Link to comment Share on other sites More sharing options...
s3v3n Posted October 23, 2011 Share Posted October 23, 2011 --------------- 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 More sharing options...
mothershop Posted October 24, 2011 Share Posted October 24, 2011 Use the one above works great ! Link to comment Share on other sites More sharing options...
Balalaba Posted October 24, 2011 Share Posted October 24, 2011 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 More sharing options...
gingermix Posted October 28, 2011 Share Posted October 28, 2011 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 Done that.. works perfect.. thanks. Link to comment Share on other sites More sharing options...
sanjay singhdeo Posted February 8, 2012 Share Posted February 8, 2012 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. Link to comment Share on other sites More sharing options...
indus Posted February 8, 2012 Share Posted February 8, 2012 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 More sharing options...
eMizZ Posted March 9, 2012 Share Posted March 9, 2012 Solution here : http://emilienmalbranche.fr/prestashop-ecommerce-tutoriels/tutoriels/probleme-sous-prestashop-augmenter-la-valeur-du-memory_limit/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now