Jump to content

Upgrade problem -Javascript error (parseJSON) detected for action "upgradeNow".Starting restoration.


Recommended Posts

Keep getting popup message as soon as I press upgrade button:

 

 

Javascript error (parseJSON) detected for action "upgradeNow".Starting restoration...

 

 

my current version of Presta is 1.6.0.5

 

 

why this is happening?

 

My host asked me to turn on error reporting in php.ini

 

then I got this report:

 

[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Illegal offset type in /modules/dashgoals/dashgoals.php on line 211
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Illegal offset type in /modules/dashgoals/dashgoals.php on line 211
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Illegal offset type in /modules/dashgoals/dashgoals.php on line 211
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Illegal offset type in /modules/dashgoals/dashgoals.php on line 211
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Division by zero in /modules/dashgoals/dashgoals.php on line 378
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Division by zero in /modules/dashgoals/dashgoals.php on line 378
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Division by zero in /modules/dashgoals/dashgoals.php on line 378
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Division by zero in /modules/dashgoals/dashgoals.php on line 378
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Division by zero in /modules/dashgoals/dashgoals.php on line 378
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Division by zero in /modules/dashgoals/dashgoals.php on line 378
[25-Sep-2014 11:21:26 Europe/London] PHP Warning:  Division by zero in /modules/dashgoals/dashgoals.php on line 378
 

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

check that you do not have bad file permissions

 

in typical hosting

 

folders: 755

files: 644

.htaccess: 664

 

as mentioned these are typically the best for most hosting.

 

because of bug in early release of 1.6, check all folders/files in modules.  i.e. when there was upgrade of module your version sets folder/files to 777...that has been fixed.

Link to comment
Share on other sites

got response from my host that qouted errors suggest programming error in presta

 

uh...that is a typical response from hosting. :)

 

did you check permissions as suggested?

 

also tell us steps you took to create your test.  (make sure you ftp'ed and did not copy files to test from prod as this can cause some file ownership issues)

Link to comment
Share on other sites

  • 6 years 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...