Jump to content

error 500 after upgrade failed from 1.7.4 to 1.7.5 and rollback


Recommended Posts

Hello

Tried to upload with 1-click module. It worked before for the others upgrade.

During upgrade it said "unable to unzip - check permission or space on disk"

But nothing changed on permission and space is far enough

So install was cancelled and backup was applied

 

then "http error 500"

The log file says

"Shop not found at line 418 in file classes/shop/Shop.php"

I looked for solutions but nothing  seems fitting and working.

Thanks for your help

 

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

Maybe you can try to change permissions of folders and files of admin/autoupgrade to 755 for folders and 644 for files. I didn't have exactly the same issue but mine was similar. You can also try to change it in modules/autoupgrade.

It helped for me but then I had a lot more issues and finally I upgraded it manually.

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

Thank you for your help.

I dont have anymore access to the backoffice, neither to the front.

I can change permission in Filezilla. Actually I checked the permissions where ok already.

Here is the log from the admi/autoupgrade 

[2019-02-04 17:55:38] Database has been restored.
[2019-02-04 17:55:40] [INTERNAL] /home/jewelryakj/www/classes/shop/Shop.php line 347 - Invalid argument supplied for foreach()
[2019-02-04 17:55:40] [INTERNAL] /home/jewelryakj/www/config/config.inc.php line 123 - Error: Call to a member function getName() on null
#0 /home/jewelryakj/www/modules/autoupgrade/classes/UpgradeContainer.php(475): require_once()
#1 /home/jewelryakj/www/modules/autoupgrade/classes/TaskRunner/AbstractTask.php(120): PrestaShop\Module\AutoUpgrade\UpgradeContainer->initPrestaShopCore()
#2 /home/jewelryakj/www/admin1099/autoupgrade/ajax-upgradetab.php(51): PrestaShop\Module\AutoUpgrade\TaskRunner\AbstractTask->init()
#3 {main}

If someone sees something.

Thanks in advance for your help

 

Link to comment
Share on other sites

  • 2 weeks 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...