Forums / General Questions / Fatal Error: Redefine Class ERROR after transfered to a Window Server

Fatal Error: Redefine Class ERROR after transfered to a Window Server

Locked

Views: 2,157

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Jan 2008, 7:07 PM
#1
dchrastil avatar

dchrastil

New Zenner

Join Date:
Sep 2007
Location:
Colorado, USA
Posts:
68
Plugin Contributions:
0

Fatal Error: Redefine Class ERROR after transfered to a Window Server

We had developed our store on a PHP server and found out recently that the client needs it on a windows server to work with their other applications.

After making the transfer and setting up the store to run properly I am getting a weird error when attempting to continue to the Check out page from the shopping cart:

Fatal error: Cannot redeclare class order in C:\Inetpub\vhosts\oralabs.com\httpdocs\includes\classes\order.php on line 1002

I checked (from a older post) and there were no duplicate instances of cache.php... Anybody know what this error is and how i can resolve it?

line 1002 is only a closed bracket " } "

9 Jan 2008, 8:19 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Fatal Error: Redefine Class ERROR after transfered to a Window Server

Dchrastil:

Fatal error: Cannot redeclare class order

you probably have more than one copy of the order.php class file ... perhaps in other folders

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.