Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Location
    Colorado, USA
    Posts
    68
    Plugin Contributions
    0

    Default 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 " } "

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

    Quote Originally Posted by Dchrastil View Post
    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.

 

 

Similar Threads

  1. Replies: 13
    Last Post: 23 Aug 2016, 07:16 PM
  2. v139d PHP Fatal error: Internal Zend error - Missing class information
    By badarac in forum General Questions
    Replies: 3
    Last Post: 1 May 2012, 01:33 PM
  3. Replies: 17
    Last Post: 31 Mar 2010, 09:47 AM
  4. Fatal error: Class 'notifier' not found and other error
    By mjfan80 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 24 Apr 2009, 12:39 PM
  5. Replies: 2
    Last Post: 21 Dec 2006, 07:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR