Jump to content

Error upgrading to 1.7.1


gray

Recommended Posts

[Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: " "

 

It seems to have downloaded all the files, but gets stuck when upgrading the database.

Link to comment
Share on other sites

go in module/autoupgrade/ajax-upgradetab.php 

 

change line

 

$autoupgradeDir = Tools14::getValue('autoupgradeDir', 'autoupg-inst-' . uniqid());

 

to

 

$autoupgradeDir = Tools14::getValue('autoupgradeDir', 'autoupg-inst-123);

 

 

 

this helped me.

Link to comment
Share on other sites

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

Hi,

 

Have You solved the issue, any luck with completing automatic update? Getting same error, and changing that line in ajax-upgradetab.php prevents autoupdate process to start.

 

Using latest version of autoupdate module from github.

 

Thanks!

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

  • 2 months later...

go in module/autoupgrade/ajax-upgradetab.php 

 

change line

 

$autoupgradeDir = Tools14::getValue('autoupgradeDir', 'autoupg-inst-' . uniqid());

 

to

 

$autoupgradeDir = Tools14::getValue('autoupgradeDir', 'autoupg-inst-123);

 

 

 

this helped me.

thank you for the solution it works, we must add the apostrophe missing

$autoupgradeDir = Tools14::getValue('autoupgradeDir', 'autoupg-inst-123');

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