Post the log, in its entirety, but changing the name of your admin directory and any site-specific directory names.
Post the log, in its entirety, but changing the name of your admin directory and any site-specific directory names.
This is what im getting in the log.
[26-May-2023 10:15:11 Australia/Sydney] PHP Parse error: syntax error, unexpected '[', expecting ';' or ',' in /home/trading1/public_html/etch/includes/modules/payment/linkpoint_api.php on line 320
[26-May-2023 10:15:11 Australia/Sydney] Request URI: /etch/etchadmin/modules.php?set=payment&module=dirbankaus, IP address: 10.232.0.76
--> PHP Parse error: syntax error, unexpected '[', expecting ';' or ',' in /home/trading1/public_html/etch/includes/modules/payment/linkpoint_api.php on line 320.
Check your PM.
Also note that the linkpoint_api.php payment method was no longer shipped as part of the Zen Cart base as of zc155. You should delete the files
1. /includes/languages/english/modules/payment/linkpoint_api.php
2. /includes/modules/payment/linkpoint_api.php
from the site's file system. That should (hopefully) make everything 'happy' again.
Yes thank you very much that did fix it
The issue
[26-May-2023 10:15:11 Australia/Sydney] PHP Parse error: syntax error, unexpected '[', expecting ';' or ',' in /home/trading1/public_html/etch/includes/modules/payment/linkpoint_api.php on line 320
is because the specific language structure used is no longer supported. Change
global $$order_totals[$i]['code'];
to
global ${$order_totals[$i]['code']};
See https://docs.zen-cart.com/user/upgra...or-unexpected-
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks