Forums / Installing on a Linux/Unix Server / Fatal error: Cannot redeclare class base:order

Fatal error: Cannot redeclare class base:order

Locked

Started by dogtags on 10 Jan 2007, 3:15 PM · Views: 9,021

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
10 Jan 2007, 3:15 PM
#1
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Fatal error: Cannot redeclare class base:order

Hi All

Did a fresh install for 1.3.7, linux

Could not turn off Register Globals (.htaccess method not allowed)

Install otherwise seemed to go okay, also installed demo store

Admin pulls up, store comes up okay

Created user account and test item, added test item to cart, got to the Delivery Information page of checkout, but then clicked to go to Payment page and got the following error:

Fatal error: Cannot redeclare class base:order in /home/username/public_html/cart/includes/classes/order.php on line 20

Any idea what this could be?

Thanks

10 Jan 2007, 3:20 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Fatal error: Cannot redeclare class base:order

And you have not altered the code in any manner?

And you installed this in a clean directory?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jan 2007, 3:34 PM
#3
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Fatal error: Cannot redeclare class base:order

  1. Yes

  2. Yes

Totally fresh db, just created

Code is native, just tweaked a few minor admin settings like password length, Email salutation (off), that sort of thing, but otherwise, totally stone cold

Checking with host for how to turn off register_globals, but not sure if this will make a difference with the above error

PHPINFO

Database: MySQL 4.1.21-standard

PHP Version 4.4.3

disabled_functions
ini_alter,system,passthru,shell_exec,leak,listen,chgrp,apache_setenv,define_syslog_variables,openlog,syslog,ftp_exec

10 Jan 2007, 3:40 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Fatal error: Cannot redeclare class base:order

Very weird ...

I turn off the setting on my site and cannot reproduce this error just because of Registered Globals being OFF or ON ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jan 2007, 3:47 PM
#5
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Fatal error: Cannot redeclare class base:order

Would you like to see the install admin? Not sure if maybe looking at Admin > Tools > Server/Version Info might help

I'm not sure if I've uncovered an odd issue with zen or not. If you'd like access, PM me

Thanks, Linda :-)

10 Jan 2007, 3:54 PM
#6
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Fatal error: Cannot redeclare class base:order

Just now managed to turn off register_globals.....no change, still same error

12 Jan 2007, 12:00 PM
#7
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Fatal error: Cannot redeclare class base:order

Any luck with this one? I can't seem to find it. Maybe it's something weird with the host? What info should I try to provide?

12 Jan 2007, 3:15 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Fatal error: Cannot redeclare class base:order

Could you delete from the /pages/checkout_something directories those extra files that you have in there?

While they are renamed, they are autoloading ...

If you were to rename them:
header_php.php.SOMETHING

Then they would not autoload ...

But because they are renamed:
header_phpSOMETHING.php

They do autoload and you are producing your own errors ... :lamo:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Jan 2007, 6:31 PM
#9
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Fatal error: Cannot redeclare class base:order

I can't stand it.....I'm such a dummie

Thanks for looking at this, Ajeh :-)

13 Jan 2007, 12:33 AM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Fatal error: Cannot redeclare class base:order

Want to know "how" I know to find issues like this? :smartass:

Been there ... Done that ... Got an assortment of T-Shirts ... :lamo:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Jan 2007, 1:58 PM
#11
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Fatal error: Cannot redeclare class base:order

I'm sure lots of bumps and bruises, too.....

Thanks, again :yes: