Results 1 to 3 of 3

Hybrid View

  1. #1

    Default Emergency!!! - Fatal Error when confirming order.

    My site has been operational and working fine for the last 5 months, and when I came into work this morning I had zero emails, which shocked me. We usually have 15~ orders on a weekend. Well I went to my customers -> Orders and orders were placed, but none of the confirmations were sent out or anything.


    THIS IS THE ERROR THAT IS SHOWING UP.

    Fatal error: Cannot redeclare class smtp in D:\inetpub\cheapstairparts\ZenCart\class.smtp.php on line 12


    What the heck does that mean? I went to line 12, I don't see anything wrong.

    HELP!

  2. #2

    Default Re: Emergency!!! - Fatal Error when confirming order.

    I deleted the file that was causing the error so I could test it out, and now it works fine.

    No idea.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Emergency!!! - Fatal Error when confirming order.

    Well, considering that the class.smtp.php file that comes with Zen Cart v1.3.x is stored in the /includes/classes folder, I'm not surprised that having a copy of it elsewhere and doing something with the code to load it from a 2nd location would give you unexpected errors.
    Deleting the file that doesn't belong seems appropriate.
    .

    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: 6
    Last Post: 15 Oct 2013, 08:33 PM
  2. Replies: 1
    Last Post: 3 Oct 2009, 03:38 PM
  3. Database error at confirming order
    By ausjohn in forum General Questions
    Replies: 1
    Last Post: 11 Apr 2008, 06:25 AM
  4. Authorize.net AIM - HASH error after confirming order
    By TJB in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 5 Mar 2008, 10:13 PM
  5. 1064 sql error after confirming order
    By rued in forum General Questions
    Replies: 20
    Last Post: 31 Aug 2006, 04:07 AM

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