Post by scpost » Fri Feb 24, 2012 12:43 am

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?

New member

Posts

Joined
Thu Nov 10, 2011 12:51 am
Who is online

Users browsing this forum: Semrush [Bot] and 34 guests