Page 1 of 1

Checkout.tpl - Better Error Reporting for 1.5.0 - 1.5.1.3

Posted: Fri Feb 24, 2012 12:43 am
by scpost
the updated version of checkout.tpl that's available for download on the Hotpatch forum
(Checkout.tpl - Better Error Reporting for 1.5.0 - 1.5.1.3)

is missing the following lines of code that are in the original checkout.tpl

//////////////ADDED to // Login button event
// Login $('#button-login').live('click', function() {
...

Code: Select all

if (json['total']) {
	$('#cart_total').html(json['total']);
}
if (json['logged']) {
	$('#welcome').html(json['logged']);
}
////////////////////////////s

and cause we the following errors:

<br />
<b>Fatal error</b>: Class 'Language' not found in <b>C:\www\shop\index.php</b> on line <b>377</b><br />
<b>Fatal error</b>: Class 'Registry' not found in <b>C:\www\shop\index.php</b> on line <b>67</b><br />


I have added the 2 lines back and it seems to work now. Is there a reason these lines were omited?