You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I keep getting this message when I go to the checkout screen:
Parse error: syntax error, unexpected 've' (T_STRING) in /home/u294302658/domains/funkybunky.co.uk/public_html/private/custom/apps/ecom/ECOM/includes/coacctlink.php on line 29
I have replaced the file with an original backup copy, but still get the error and customers are reporting the same issue
I have cleared cache, used different computers and browsers and still get it.
However sometimes when I press Ctrl and F5 it resolves, but not al the time
Any ideas?
Relevant code:
// +--
// | Guest Checkout
// +--
$allowguest = $this->globals('core_settings.ecom.allowguestco');
$ecomgrouplimits = $this->globals('core_settings.ecom.grouplimits');
if (!(empty($ecomgrouplimits))) {$allowguest = 0;}
if (!(empty($allowguest))) {
$link_guestco = $this->link_namespace('ecom','guestco');
// print '<p>Checkout without creating an account</p>';
// print '<div class="kbotmarginfull"><a href="' . $link_guestco . '" id="GUESTCO" title="Guest Checkout" class="kbutton">Guest Checkout</a></div><br />' . $eol;
if (!(empty($enableajax))) {
$ajax_params = '{\'primary\': \'ContentWithTitle\', \'app\': \'ecom\', \'ns\': \'guestco\'}';
$js_docready = 'jQuery(\'#GUESTCO\').click(function(){';
$js_docready .= 'return ajaxExec(' . $ajax_params . ');';
$js_docready .= '});';
$this->append_global_array('core.js_docready',$js_docready);
} // End of if statement.
} // End of if statement.
Offline
Just an update, this seems to be constantly happening now, no-one can go through the checkout system.
Even hard refreshing does not seem to be working now
Offline
I believe we worked this out in the ticket system, however if this issue persists, remove your custom file and note how long it takes for checkout to start working again. Ensure you didn't inadvertently change the stock/system file as well ({private}/apps/ecom/ECOM/includes/coacctlink.php).
Offline