Kryptronic Software Support Forum

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.

#1 11-26-2024 14:56:56

antsevo
Member
From: Surrey, UK
Registered: 02-08-2005
Posts: 618
Website

Parse error at CheckoutIntro

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.


Anthony - Manufacturers of Personalised and Celebrity Face Masks

Offline

 

#2 11-26-2024 16:50:59

antsevo
Member
From: Surrey, UK
Registered: 02-08-2005
Posts: 618
Website

Re: Parse error at CheckoutIntro

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


Anthony - Manufacturers of Personalised and Celebrity Face Masks

Offline

 

#3 11-29-2024 10:19:40

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19850
Website

Re: Parse error at CheckoutIntro

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).


Nick Hendler

Offline

 

Board footer