Rayane59 Posted January 10, 2021 Share Posted January 10, 2021 Hi, when I create a product with variations I have this problem that appears. I tried to find a solution but I found nothing. If anyone can help me, that would be great. Thank you in advance for the help and good evening Link to comment Share on other sites More sharing options...
El Patron Posted January 11, 2021 Share Posted January 11, 2021 what is your current memory set to for your shop? see advanced parms-->configuration...it's good to always post that info. most hosting but not all allows you to increase your shop memory Link to comment Share on other sites More sharing options...
Rayane59 Posted January 12, 2021 Author Share Posted January 12, 2021 hello, here is the requested information Link to comment Share on other sites More sharing options...
Rayane59 Posted January 12, 2021 Author Share Posted January 12, 2021 Link to comment Share on other sites More sharing options...
El Patron Posted January 12, 2021 Share Posted January 12, 2021 11 hours ago, Rayane59 said: Yep, you fan out of memory....you will need to up your memory limit or determine what appl is running you out of memory. 1 Link to comment Share on other sites More sharing options...
Prestachamps Posted January 12, 2021 Share Posted January 12, 2021 any process which eats more than 512 MB need to be analyzed, what I would do beside that is to ask the server to start the slow_querry_log...check what's eating up that much of a resource, as the Mb is per PHP process. @El Patron love the the formula above as states the exact difference needed from 512 Mb to 537MB 1 Link to comment Share on other sites More sharing options...
ccristian Posted May 11, 2023 Share Posted May 11, 2023 On 1/12/2021 at 10:14 PM, Prestachamps said: any process which eats more than 512 MB need to be analyzed, what I would do beside that is to ask the server to start the slow_querry_log...check what's eating up that much of a resource, as the Mb is per PHP process. @El Patron love the the formula above as states the exact difference needed from 512 Mb to 537MB And how do we find out what processes are eating our memory/resources, are there any tools that do this? Do we have to look somewhere through Cpanel? Where do we have to look to see the modules that consume the resources? Thank you! Link to comment Share on other sites More sharing options...
Knowband Plugins Posted May 12, 2023 Share Posted May 12, 2023 To resolve this issue, you can try the following solutions: 1. Increase the memory limit: In your PHP configuration (Locate the "php.ini" file on your server (often found in the root directory or in the PHP folder).), increase the memory_limit parameter to allow for more memory to be allocated to the application(set memory_limit = 512M) 2. Use caching modules : Implement caching strategies to reduce the amount of data that needs to be loaded into memory. 3. Upgrade hardware: Consider upgrading your server's memory resources to ensure that it has enough resources to handle your application's needs. Link to comment Share on other sites More sharing options...
ccristian Posted May 12, 2023 Share Posted May 12, 2023 9 hours ago, Knowband Plugins said: To resolve this issue, you can try the following solutions: 1. Increase the memory limit: In your PHP configuration (Locate the "php.ini" file on your server (often found in the root directory or in the PHP folder).), increase the memory_limit parameter to allow for more memory to be allocated to the application(set memory_limit = 512M) 2. Use caching modules : Implement caching strategies to reduce the amount of data that needs to be loaded into memory. 3. Upgrade hardware: Consider upgrading your server's memory resources to ensure that it has enough resources to handle your application's needs. Buying a Chaching module as you wrote (Use caching modules: Implement caching strategies to reduce the amount of data that needs to be loaded into memory) do you think will solve my problem? I encrased the memory_limit to 1024M and nothing changed, the error 404 (page not found) is still there. However, encrasing the memory_limit to 1024M from 512M caused a new error to appear OutOfMemoryException (please see the picture atached). Question: If I disable a module will I lose the settings I made? Thnak you! Link to comment Share on other sites More sharing options...
Mediacom87 Posted May 12, 2023 Share Posted May 12, 2023 Il y a 6 heures, ccristian a dit : Question: If I disable a module will I lose the settings I made? Not when you just disable a module. You can also try to empty the cache directory of your server manually with your usual FTP client: https://www.mediacom87.fr/en/faq-how-to-clear-the-cache-manually-on-prestashop-17/ Link to comment Share on other sites More sharing options...
ccristian Posted May 13, 2023 Share Posted May 13, 2023 6 hours ago, Mediacom87 said: Not when you just disable a module. You can also try to empty the cache directory of your server manually with your usual FTP client: https://www.mediacom87.fr/en/faq-how-to-clear-the-cache-manually-on-prestashop-17/ Deleting those 2 subfolders dev and prod from public_html/var/cache directory didn't changed anything for me unfortunately, the error persist... my problem / error occurres when I put the store into maintenance mode and triyng to acces the 1-Click updrade module, accessing it it gives me the 404 error, page not found Link to comment Share on other sites More sharing options...
El Patron Posted May 13, 2023 Share Posted May 13, 2023 13 hours ago, ccristian said: Deleting those 2 subfolders dev and prod from public_html/var/cache directory didn't changed anything for me unfortunately, the error persist... my problem / error occurres when I put the store into maintenance mode and triyng to acces the 1-Click updrade module, accessing it it gives me the 404 error, page not found tip: in future open new topic with just your question for best results. If anyone mentions using a cache module, run don't walk to the door. We as an agency, have had 'many' new clients come in reporting issues that they can not reproduce. These were always related to cache module or if at checkout PrestaShop checkout module (avoid this as well). do you host on siteground? There are several mentions of this issue for siteground hosted shops trying to upgrade. PrestaShop creates a dummy file in each of these folders and then destroys it (reference: lines from 252 to 261 of classes/ConfigurationTest.php). https://github.com/PrestaShop/PrestaShop/blob/b260717db4a572f880b85c84f3e85b4417b3117e/classes/ConfigurationTest.php#L252-L261 you can try commenting out these lines and retrying 1 Link to comment Share on other sites More sharing options...
ccristian Posted May 14, 2023 Share Posted May 14, 2023 11 hours ago, PrestaHeroes USA said: tip: in future open new topic with just your question for best results. If anyone mentions using a cache module, run don't walk to the door. We as an agency, have had 'many' new clients come in reporting issues that they can not reproduce. These were always related to cache module or if at checkout PrestaShop checkout module (avoid this as well). do you host on siteground? There are several mentions of this issue for siteground hosted shops trying to upgrade. PrestaShop creates a dummy file in each of these folders and then destroys it (reference: lines from 252 to 261 of classes/ConfigurationTest.php). https://github.com/PrestaShop/PrestaShop/blob/b260717db4a572f880b85c84f3e85b4417b3117e/classes/ConfigurationTest.php#L252-L261 you can try commenting out these lines and retrying Hi! I already opened 2 topics, on Romanian forum and on the English international as well... and until now no one offered to help me (see the links below). In my opinion my problem is very serious, considering the fact that I cannot upgrade to the latest version of prestashop, which brings improvements in terms of security. Yes my website is hosted on an Romanian hosing agency, they have nothing to do with prestashop hosting. English forum Romanian forum Link to comment Share on other sites More sharing options...
ccristian Posted May 14, 2023 Share Posted May 14, 2023 by commenting those lines do you mean this: /** if (@file_put_contents($dummy, 'test')) { @unlink($dummy); if (!$recursive) { return true; } } elseif (!is_writable($dir)) { $full_report = sprintf('Directory %s is not writable', $dir); // sprintf for future translation return false; }*/ Link to comment Share on other sites More sharing options...
ccristian Posted May 14, 2023 Share Posted May 14, 2023 16 hours ago, PrestaHeroes USA said: tip: in future open new topic with just your question for best results. If anyone mentions using a cache module, run don't walk to the door. We as an agency, have had 'many' new clients come in reporting issues that they can not reproduce. These were always related to cache module or if at checkout PrestaShop checkout module (avoid this as well). do you host on siteground? There are several mentions of this issue for siteground hosted shops trying to upgrade. PrestaShop creates a dummy file in each of these folders and then destroys it (reference: lines from 252 to 261 of classes/ConfigurationTest.php). https://github.com/PrestaShop/PrestaShop/blob/b260717db4a572f880b85c84f3e85b4417b3117e/classes/ConfigurationTest.php#L252-L261 you can try commenting out these lines and retrying Great news friend, after I commented the lines you told me to comment the issue disappeared. Question: Afer updateing my website using the 1-Click upgrade module, can I uncomment them to the initial value, before commenting them? Thank you friend, God bless you! 1 Link to comment Share on other sites More sharing options...
Mediacom87 Posted May 14, 2023 Share Posted May 14, 2023 il y a 39 minutes, ccristian a dit : Great news friend, after I commented the lines you told me to comment the issue disappeared. Question: Afer updateing my website using the 1-Click upgrade module, can I uncomment them to the initial value, before commenting them? Thank you friend, God bless you! During your update, certainly this file will be replaced, to check after the update. 1 Link to comment Share on other sites More sharing options...
El Patron Posted May 15, 2023 Share Posted May 15, 2023 23 hours ago, ccristian said: Great news friend, after I commented the lines you told me to comment the issue disappeared. Question: Afer updateing my website using the 1-Click upgrade module, can I uncomment them to the initial value, before commenting them? Thank you friend, God bless you! yes you can do that, you may have same issue if you upgrade in the future. Glad I could help, have a great day. Link to comment Share on other sites More sharing options...
ccristian Posted May 15, 2023 Share Posted May 15, 2023 5 hours ago, PrestaHeroes USA said: yes you can do that, you may have same issue if you upgrade in the future. Glad I could help, have a great day. Thank you sir, I wish you a great day too! 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