Upgrade from 1.2.15 to 1.2.16 error

Started by bonus, May 16, 2020, 11:53:15 AM

Previous topic - Next topic

bonus

I click on the upgrade link given in the admin notice and accepted the risk of the upgrade.
The page when blank
Then the error "Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/onlinesr/public_html/test3/core/lib/PaymentHandlerInterface.php on line 22" when I try to access my site.

What's wrong?
Luckily it was a plain vanilla test site which I've installed from cpanel just a day before.

MrTim

I have this same problem, but unfortunately this is my eCommerce site. I hope there will be a fix for this shortly.

MrTim

I checked PaymentHandlerInterface.php both current file and the backup file. They are the same.
Looked at the error log and it shows the same error.

2020-05-17 12:36:26 - parsing error:  AbanteCart core v.1.2.16 syntax error, unexpected ':', expecting ';' or '{' in <b>/home/ivystone/public_html/AbanteCart/core/lib/PaymentHandlerInterface.php</b> on line <b>22</b>

Line 22 ends with ";"

Any help would be greatly appreciated.

Russell37uk

Same error here but with a completely fresh install of v 1.2.16

Fresh install, due to the other mentioned issue of a completely blank screen when using the upgrade link from 1.2.15

Russell37uk

Quote from: MrTim on May 17, 2020, 08:47:06 AM
I have this same problem, but unfortunately this is my eCommerce site. I hope there will be a fix for this shortly.

Same here, I accepted the risk updating a 'live' site as business is very slow at the moment.

Thought i'd broke it so done a completely fresh install of 1.2.16 and had the exact same problem

Quote from: MrTim on May 17, 2020, 10:16:42 AM
AbanteCart core v.1.2.16 syntax error, unexpected ':', expecting ';' or '{' in <b>/home/ivystone/public_html/AbanteCart/core/lib/PaymentHandlerInterface.php</b> on line <b>22</b>

Line 22 ends with ";"


Nuno Neff

I tried to upgrade from 1.1.15  to new version and it does not work

rightonjoe

Same story here, I updated a live site and it went blank white.
I suspect is that the database prefix may have changed but it didn't update somewhere but I'm not exactly sure. Just a hunch for anyone with knowledge that can verify.

abolabo

What php version do you use?

Please try to replace your file core/lib/PaymentHandlerInterface.php with attached
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Russell37uk

Quote from: abolabo on May 18, 2020, 04:17:55 AM
What php version do you use?

Please try to replace your file core/lib/PaymentHandlerInterface.php with attached

I am using PHP version 7.3 (i think),  indecently the replacement file provided worked for me and can now see my website, although i did have to reset password for admin access as i wasn't recognized as a user!

MrTim

Quote from: abolabo on May 18, 2020, 04:17:55 AM
What php version do you use?

Please try to replace your file core/lib/PaymentHandlerInterface.php with attached

I checked the file against the one in use and they are the same. I did replace the file as suggested but it did not make any difference. I still get the same error message.

rightonjoe

Quote from: Russell37uk on May 18, 2020, 04:32:03 AM
Quote from: abolabo on May 18, 2020, 04:17:55 AM
What php version do you use?

Please try to replace your file core/lib/PaymentHandlerInterface.php with attached

I am using PHP version 7.3 (i think),  indecently the replacement file provided worked for me and can now see my website, although i did have to reset password for admin access as i wasn't recognized as a user!

I changed my PHP to version 7.3 and replaced the file and now mine works too. Thanks!

MrTim

I updated my PHP version to 7.2 and my site came back up. No need to replace any files.
Thanks everyone for the input.

Forum Rules Code of conduct
AbanteCart.com 2010 -