Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Fatal Error on Checkout Confirmation page

Fatal Error on Checkout Confirmation page

Locked

Views: 1,107

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
5 Mar 2008, 4:00 PM
#1
bergysmalls avatar

bergysmalls

New Zenner

Join Date:
Feb 2005
Posts:
18
Plugin Contributions:
0

Fatal Error on Checkout Confirmation page

Not sure if this has been answered before, not that I could find, but I am running Zencart version 1.2.6 with PHP 4.3.11 and am getting

Fatal error: Call to a member function on a non-object in /home/georgej/public_html/store/includes/templates/template_default/templates/tpl_checkout_confirmation_default.php

This just started not to long ago and I know of no changes that have been to the site recently. I'm not sure if this is a problem due to the older version of Zencart, although I only know of issues with PHP 5x having issues with older versions of ZC. Any help would be appreciated, can't seem to find a fix other than installing the newest version of ZC.

Thanks!

5 Mar 2008, 4:25 PM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Fatal Error on Checkout Confirmation page

If your Hoster upgraded to PHP 5 then you will continue to have various problems with such an old version of Zen Cart. Probably have security issues as well which the new versions of Zen Cart protect you against.

Best to bite the bullet and do an upgrade. :wink:

5 Mar 2008, 4:51 PM
#3
bergysmalls avatar

bergysmalls

New Zenner

Join Date:
Feb 2005
Posts:
18
Plugin Contributions:
0

Re: Fatal Error on Checkout Confirmation page

I have run a php info test and it is version 4.3.11. Are there known issues with it as opposed to 5?

5 Mar 2008, 11:38 PM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Fatal Error on Checkout Confirmation page

We don't know what the problem is. If you didn't change anything did your Hoster and not tell you?

All beside the point actually as an upgrade is highly, strongly recommended.

6 Mar 2008, 6:58 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Fatal Error on Checkout Confirmation page

Maybe you need to compare your current site files against the backup you made last time you made any changes ... and then fix any discrepancies.

You do make backups don't you?

6 Mar 2008, 2:56 PM
#6
bergysmalls avatar

bergysmalls

New Zenner

Join Date:
Feb 2005
Posts:
18
Plugin Contributions:
0

Re: Fatal Error on Checkout Confirmation page

Yes I made backups, and I did upload what I thought were the offending files, but to no avail. It may be that the file that is causing the problem is something I am overlooking. I also noticed that even if I take out the section of the code that is causing the error, I still see the template page without the language file info put it, so it says things like HEADING_TITLE, SHIPPING_TOTAL, etc.

The section of code that it is getting an error on is:

<?php
  if (MODULE_ORDER_TOTAL_INSTALLED) {
    $order_totals = $order_total_modules->process();
    echo $order_total_modules->output();
  }
?>

We are planning on upgrading I believe, so it may be a moot point anyways. Thanks for all of the help.

6 Mar 2008, 6:09 PM
#7
bergysmalls avatar

bergysmalls

New Zenner

Join Date:
Feb 2005
Posts:
18
Plugin Contributions:
0

Re: Fatal Error on Checkout Confirmation page

We have updated the cart and everything is working fine. Thanks for all the advice!