Jump to content

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)


Recommended Posts

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.

memoryerror.JPG

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

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

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

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

  • 1 month later...
  • 2 weeks later...
  • 3 months 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...