It is a huge file - attached
It is a huge file - attached
that is the acces log, generated by your server. Your debug file looks like this myDEBUG-adm-1504872109-96821.log
Sorry, did not go deep enough.
[08-Sep-2017 06:50:15 America/Chicago] PHP Parse error: syntax error, unexpected '[' in /home/*****/public_html/includes/modules/payment/payeezyjszc.php on line 158function selection()
{
global $order;
// Payeezy currently only accepts "American Express", "Visa", "Mastercard", "Discover", "JCB", "Diners Club"
$cc_types = [];
if (CC_ENABLED_VISA == 1) {
$cc_types[] = ['id' => 'Visa', 'text' => 'Visa'];
}
if (CC_ENABLED_MC == 1) {
$cc_types[] = ['id' => 'Mastercard', 'text' => 'Mastercard'];
}
if (CC_ENABLED_DISCOVER == 1) {
$cc_types[] = ['id' => 'Discover', 'text' => 'Discover'];
}
if (CC_ENABLED_AMEX == 1) {
$cc_types[] = ['id' => 'American Express', 'text' => 'American Express'];
}
if (CC_ENABLED_JCB == 1) {
$cc_types[] = ['id' => 'JCB', 'text' => 'JCB'];
}
if (CC_ENABLED_DINERS_CLUB == 1) {
$cc_types[] = ['id' => 'Diners Club', 'text' => 'Diners Club'];
}
// Prepare selection of expiry dates
The log that you're receiving
implies that your store is running on an older (PHP 5.3?) version of PHP, prior to the implementation of updated PHP array references that the payeezyjszc payment method uses.Code:[08-Sep-2017 06:50:15 America/Chicago] PHP Parse error: syntax error, unexpected '[' in /home/*****/public_html/includes/modules/payment/payeezyjszc.php on line 158
As a quick fix, you can simply rename the file /includes/modules/payment/payeezyjsrc.php to payeezyjsrc.php.notused while you sort out your hosted PHP version, bringing it up to at least PHP 5.6 (preferably 7.0 or 7.1).
Checked the Cpanel and it tells me, under server info, that it is PHP5.6.1
Sorry
5.6.31
Obviously cpanel is wrong, or you would not get this error. Check in your Zen Cart admin with pressing the version button to see what your actual php version is .
Use your admin's Tools->Server/Version Info. What PHP version does that show?
This FAQ describes how to address such an issue of a blank or partial blank page: http://www.zen-cart.com/content.php?124-blank-page
It would also help to identify what php version you are using.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...