Zen Cart Logo
Forums / General Questions / Emergency!!! - Fatal Error when confirming order.

Emergency!!! - Fatal Error when confirming order.

Locked

Views: 995

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Apr 2008, 1:11 PM
#1
cheapstairparts avatar

cheapstairparts

Zen Follower

Join Date:
Oct 2007
Posts:
149
Plugin Contributions:
0

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!

14 Apr 2008, 3:48 PM
#2
cheapstairparts avatar

cheapstairparts

Zen Follower

Join Date:
Oct 2007
Posts:
149
Plugin Contributions:
0

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.

14 Apr 2008, 7:47 PM
#3
drbyte avatar

drbyte

Sensei

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

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.