Zen Cart Logo
Forums / General Questions / Shopping Cart page error

Shopping Cart page error

Views: 608

Results 1 to 6 of 6
6 Jul 2011, 2:30 AM
#1
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Shopping Cart page error

Hi All,
I recently noticed that I could not use the shipping estimator as a list. I can use it as a button with no problems but when I turn on the list shipping estimator from the admin, my footer disappears and I get the following error message in the cache folder:

[05-Jul-2011 13:20:14] PHP Fatal error: Cannot redeclare class shipping in /home/jjtom/public_html/includes/classes/shipping.php on line 185

Can anyone point me in the right direction how I can fix this issue.

Thanks in advance for the help.

6 Jul 2011, 2:38 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shopping Cart page error

Sounds like a duplicate, backup file or the code file is also in the language directory ...

Go to your Tools ... Developers Tool Kit ... and in the bottom input box enter:
class shipping

Select Catalog ... and click search ...

What files come up?

6 Jul 2011, 2:43 AM
#3
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: Shopping Cart page error

/home/jjtom/public_html/includes/classes/shipping.php
Line #19 : class shipping extends base {

I only get one result and its the above.

6 Jul 2011, 2:58 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shopping Cart page error

Switch to the Classic Template ... does the error stop happening?

Are you using any kind of Add Ons?

What version Zen Cart are you running?

6 Jul 2011, 3:10 AM
#5
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: Shopping Cart page error

Hi,
I am using 1.3.9h and switching to classic template does fix the problem.

I have Fast and Easy AJAX Checkout installed.

Thanks

6 Jul 2011, 3:15 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shopping Cart page error

Your add on and/or template is breaking things ... see if that helps ...