Page 1 of 1

Error message when upgrading 1.5.6.4 to 3.0.2.0

Posted: Mon Jun 18, 2018 12:09 am
by maxlin
Below is the upgrade script errors. Please help. Thanks.

===================================
SyntaxError: Unexpected token < in JSON at position 0 OK Notice: Undefined variable: affiliatee in /home/motor55/public_html/install/model/upgrade/1009.php on line 23Notice: Undefined variable: affiliatee in /home/motor55/public_html/install/model/upgrade/1009.php on line 23Notice: Undefined variable: affiliatee in /home/motor55/public_html/install/model/upgrade/1009.php on line 23{"error":"Error Code(0): Error: Unknown table 'motor55_ocar55.oc_affiliate_activity'
Error No: 1051
DROP TABLE `oc_affiliate_activity` in \/home\/motor55\/public_html\/system\/library\/db\/mysqli.php on line 40"}
==================================

Re: Error message when upgrading 1.5.6.4 to 3.0.2.0

Posted: Tue Jun 19, 2018 2:52 am
by straightlight
Already reported issue. Restore backups. Then, on the higher OC version package you downloaded, edit the install/model/upgrade/1009.php file where affiliatee should all be renamed to: affiliate terms. This should resolved the issue.

Re: Error message when upgrading 1.5.6.4 to 3.0.2.0

Posted: Fri Jul 12, 2019 11:36 am
by ywang
straightlight wrote:
Tue Jun 19, 2018 2:52 am
Already reported issue. Restore backups. Then, on the higher OC version package you downloaded, edit the install/model/upgrade/1009.php file where affiliate should all be renamed to: affiliate terms. This should resolved the issue.
Dear sir, i am having exactly same issue. thanks for ur solution posted. however, i dont quite understand the part of
"affiliate should all be renamed to: affiliate terms"
do u mind assist by giving me more specific instruction?
thanks a lot and really appreciate it

Re: Error message when upgrading 1.5.6.4 to 3.0.2.0

Posted: Fri Jul 12, 2019 7:04 pm
by straightlight
Fixed the instruction.