(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']);
}
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?