Originally Posted by
loveofthehorse
This happened suddenly and the site was not being edited. Got a not from a customer that the payment page wasn't coming up. I verified that when I click continue checkout on page 1 it goes to
https://loveofthehorse.com/index.php...eckout_payment but its totally blank.
I found that paypal isn't coming up in the admin payment options module either.
Debug shows
PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /public_html/includes/modules/payment/paypal/paypal_functions.php on line 711
The syntax around that this line all looks fine. I went ahead and replaced the 5 or so files in the directory from an archive and that didn't change anything.
I've considered reinstalling paypal but not finding the module to download.
Any advise is welcome. Even if its just to point me to the paypal module to reinstall
THanks
loveofthehorse.com
It would appear that the PHP version for the site has been upgraded as the code:
Code:
global $$order_totals[$i]['code'];
is no longer acceptable in this case and should be:
Code:
global ${$order_totals[$i]['code']};
as then modified in Zen Cart version 1.5.5.
The "best" fix would be to upgrade the store which can be done without taking the current store off-line.
Bookmarks