Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

URGENT REPLY REQUIRED ON parse error


Guest

Recommended Posts

Posted

ok now i'm baffled. I just installed easy coupons & easy discounts, put a dummy purchase through and came up with a Parse error: parse error in /var/www/html/shop/checkout_process.php on line 330. The following is lines 305 & 306

317 $cart->reset(true);

318

319 // unregister session variables used during checkout

320 tep_session_unregister('sendto');

321 tep_session_unregister('billto');

322 tep_session_unregister('shipping');

323 tep_session_unregister('payment');

324 tep_session_unregister('comments');

325 tep_session_unregister('couponcode');

326

327 tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL'));

328

329 require(DIR_WS_INCLUDES . 'application_bottom.php');

330 ?>

 

and that's where it all ends. What is ghoing on? Can anyone help please????

Posted
ok now i'm baffled. I just installed easy coupons & easy discounts, put a dummy purchase through and came up with a Parse error: parse error in /var/www/html/shop/checkout_process.php on line 330. The following is lines 305 & 306

317 $cart->reset(true);

318

319 // unregister session variables used during checkout

320 tep_session_unregister('sendto');

321 tep_session_unregister('billto');

322 tep_session_unregister('shipping');

323 tep_session_unregister('payment');

324 tep_session_unregister('comments');

325 tep_session_unregister('couponcode');

326

327 tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL'));

328

329 require(DIR_WS_INCLUDES . 'application_bottom.php');

330 ?>

 

and that's where it all ends. What is ghoing on? Can anyone help please????

 

Most likely it's that your open and closing braces are out of alignment somewhere (you have a { somewhere above that's missing a }). I've also seen a blank line after the closing ?> cause issues as well...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...