Jump to content

[SOLVED] error after clicking confirmation order button


Recommended Posts

After clicking on the confirmation order button the custumer get this error:

Parse error: syntax error, unexpected $end in /mywebshop.nl/public_html/order-confirmation.php on line 30

 

No mather what payment option is choosen.

The order is recieved ok in my email as well as to the customers email.

 

This happens in internet explorer and also in google chrome.

 

there is since a few days a ssl ceretificate installed from commodo,don't know if that has somethig to do with it.

 

 

Thanks .

 

With friendly greetings,

 

Peter

Edited by petb (see edit history)
Link to comment
Share on other sites

This is the line in that order-confirmation.php

 

 

==========================================================

 

require(dirname(__FILE__).'/config/config.inc.php');

ControllerFactory::getController('OrderConfirmationController')->run();

$smarty->assign("total",$order->total_paid_real);$smarty->display

==========================================================

 

 

Thanks

Link to comment
Share on other sites

Fixed!

 

 

Just have ectracted a .sql backup file and just picked out that order confirmation.php file and replaced it ,and now its working good again !

 

To be honest i thought that a full backup the only way is to restore this file.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...