Jump to content

1-click upgrade memory error


greg barratt

Recommended Posts

i get when using 1 click upgrade -on  1.6.1.4

[INTERNAL] /home/stainles/public_html/presta/modules/autoupgrade/classes/Tools14.php line 1425 - Allowed memory size of 67108864 bytes exhausted (tried to allocate 54531520 bytes)

i have upped my memory limit in  php.ini to 512mb when i got a similar error on line 1399.   and now it's stuck at line 1425. any help is appreciated- thanks!

 

Edited by greg barratt (see edit history)
Link to comment
Share on other sites

i made it past the error - by setting user.ini higher than 64m.  but i got this error next.  not sure how to proceed..

 

All files upgraded. Now upgrading database...
[Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: "
[PrestaShopException]
[ThemeRepository] Theme configuration file not found for theme at `/home/stainles/public_html/presta/themes/classic/config/theme.yml`.
at line 132 in file src/Core/Addon/Theme/ThemeRepository.php

127.     }
128. 
129.     private function getConfigFromFile($file)
130.     {
131.         if (!$this->filesystem->exists($file)) {
132.             throw new PrestaShopException(sprintf(
133.                 '[ThemeRepository] Theme configuration file not found for theme at `%s`.',
134.                 $file
135.             ));
136.         }
137. 
PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository->getConfigFromFile - [line 65 - src/Core/Addon/Theme/ThemeRepository.php] - [1 Arguments]
PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository->getInstanceByName - [line 491 - classes/shop/Shop.php] - [1 Arguments]
ShopCore->setTheme - [line 135 - classes/shop/Shop.php]
ShopCore->__construct - [line 411 - classes/shop/Shop.php] - [1 Arguments]
ShopCore::initialize - [line 119 - config/config.inc.php]
require_once - [line 475 - modules/autoupgrade/classes/UpgradeContainer.php] - [1 Arguments]
PrestaShop\Module\AutoUpgrade\UpgradeContainer->initPrestaShopCore - [line 120 - modules/autoupgrade/classes/TaskRunner/AbstractTask.php]
PrestaShop\Module\AutoUpgrade\TaskRunner\AbstractTask->init - [line 73 - modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php]
PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->init - [line 51 - admin/autoupgrade/ajax-upgradetab.php]
"

 

 

 

Edited by greg barratt (see edit history)
Link to comment
Share on other sites

  • 1 month later...
On ‎9‎/‎20‎/‎2018 at 4:22 PM, greg barratt said:

i get when using 1 click upgrade -on  1.6.1.4

[INTERNAL] /home/stainles/public_html/presta/modules/autoupgrade/classes/Tools14.php line 1425 - Allowed memory size of 67108864 bytes exhausted (tried to allocate 54531520 bytes)

i have upped my memory limit in  php.ini to 512mb when i got a similar error on line 1399.   and now it's stuck at line 1425. any help is appreciated- thanks!

 

I am currently sitting with the same issue with line 1425

Have you figured out how to fix the issue yet?

Regards Franzel
 

Link to comment
Share on other sites

Well, I found this and giving it a try. if I succeed I will inform you. pretty easy so far. 

"I updated. To do this, unpack the new version of prestashop in public_html \ admin \ autoupgrade \ latest \ prestashop \

In 1-click-upgrade module selected channel "local directory".

PS: make backups :)"

Link to comment
Share on other sites

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