nostradamus99 Posted July 6, 2018 Share Posted July 6, 2018 Hey guys I installed: 1 click upgrade v.4.0 beta module to upgrade my site to prestashop 1.7.4.0. I downloaded the module from here: https://github.com/PrestaShop/autoupgrade/releases/tag/v4.0.0-beta.3 Then I installed the module successfully. After tryint to use the module to upgrade my site to Prestashop 1.7.4.0. It gives me this error: [INTERNAL] C:\Bitnami\prestashop-1.7.3.4-0\apps\prestashop\htdocs\modules\autoupgrade\classes\Tools14.php line 1399 - Allowed memory size of 134217728 bytes exhausted (tried to allocate 65011736 bytes) Now I've tried changing, memory_limit sizes and memory upload sizes inside prestashop and in bitnami itself to 512M then restarted MySQL and Apache, cleaned my browser cache. THen trying it again. But it still is giving me that error. Link to comment Share on other sites More sharing options...
moatazattia Posted August 15, 2018 Share Posted August 15, 2018 same here... i think there is some bug Link to comment Share on other sites More sharing options...
zsedc Posted August 27, 2018 Share Posted August 27, 2018 I tried to upgrade with 1-Click Upgrade from 1.6 to 1.7 and had the same error [INTERNAL] /home/patchion/public_html/test/modules/autoupgrade/classes/Tools14.php line 1399 - Allowed memory size of 134217728 bytes exhausted (tried to allocate 65011744 bytes) Can you help? Link to comment Share on other sites More sharing options...
kierweb Posted August 27, 2018 Share Posted August 27, 2018 I've managed to get it to upgrade by changing that line from "if (in_array(ini_get('allow_url_fopen'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url)) {" to "if (in_array(ini_get('allow_url_fopenxyz'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url)) {" Basically it forces the upgrade script to use an alternative method to get the files! Link to comment Share on other sites More sharing options...
nostradamus99 Posted August 30, 2018 Author Share Posted August 30, 2018 On 27/8/2018 at 10:44 AM, kierweb said: I've managed to get it to upgrade by changing that line from "if (in_array(ini_get('allow_url_fopen'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url)) {" to "if (in_array(ini_get('allow_url_fopenxyz'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url)) {" Basically it forces the upgrade script to use an alternative method to get the files! Thank you so much man, I can't confirm is working cause I gave up and uninstalled Bitmani, I just went directly to use Xampp, it was so much easier to me to go back to a simple Xampp. Though I thank you very much for your help in this matter. Link to comment Share on other sites More sharing options...
fo-lefak Posted October 5, 2018 Share Posted October 5, 2018 Hi everyone, I solve it by changing my memory_limit in my php.ini - memory_limit = 128M The next error was the time limit - max_execution_time = 360 - max_input_time = 120 hope it help ! Link to comment Share on other sites More sharing options...
shacker Posted October 13, 2018 Share Posted October 13, 2018 try to clear your database first, use some free modules like optimize db https://www.prestashop.com/forums/topic/90073-module-delete-connections-v30-salva-espacio-en-tu-base-de-datos-y-optimiza-las-tablas-ps-1217/ 1 Link to comment Share on other sites More sharing options...
veldepatrick Posted January 29, 2019 Share Posted January 29, 2019 Thanks Shacker. Cleaning the database with this free module worked for me 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