bykrmom Posted March 25, 2009 Share Posted March 25, 2009 I am getting an error at the final stage of check-out in my shop. When the customer hits "Confirm Order" the page displays only the left column, and no center or right column.No emails are sent, to me or the customer. The order history shows a purchase in the pdf files, but the details are missing, and only the order total shows up.I turned on error reporting and I get this:Fatal error: Cannot redeclare class Swift_Authenticator_PLAIN in /srv/www/htdocs/cart_test/tools/swift/Swift/Authenticator/PLAIN.php on line 20Can someone point me in the right diretion to fix this issue?I even went so far as to replace the mailalert module with a fresh one from a clean install. I am totally lost at this point. The site was working PERFECTLY on Monday night... then I took it live, and this happened. Until I moved it from the testing stage to actually having our domain point to it, it worked perfectly.Help? Link to comment Share on other sites More sharing options...
bykrmom Posted March 25, 2009 Author Share Posted March 25, 2009 I'm not asking anyone to fix this for me, I'm just asking to be pointed in the right direction to look for the problem. There are so many, MANY ways, that PrestaShop is linking files to files to files... I just cannot find the issue. It must be something simple - but where? Link to comment Share on other sites More sharing options...
prestabase Posted March 25, 2009 Share Posted March 25, 2009 Maybe the PLAIN.php file became corrupt? Try re-uploading only that file to your hosting account. Link to comment Share on other sites More sharing options...
bykrmom Posted March 25, 2009 Author Share Posted March 25, 2009 That was a very good idea, and so I gave it a shot. I replaced the entire tools/swift file. No change, unfortunately.This is really a mind blower - it worked perfectly until I put it up. I'm not even doing it with FTP, I'm doing it with direct access to the server. I even checked for database errors and still found nothing. I'm just lucky I had my entire 1.0.0.8 version waiting in the wings. I was able to put that back up with no interruption of service to our customers. Link to comment Share on other sites More sharing options...
Damien Metzger Posted March 25, 2009 Share Posted March 25, 2009 Try to change the way you send your mails (use SMTP if you used mail(), and vice versa). Link to comment Share on other sites More sharing options...
bykrmom Posted March 25, 2009 Author Share Posted March 25, 2009 I located the problem!!! I thought I'd better come pass this on, in case someone else should encounter the same Swift error issue.During tthe changeover process late Monday night/early Tuesday morning, I had a hiccup in the email system. That turned out to be our SMTP server, but I didn't know that at the time. So in an attempt to correct this issue, I re-entered the password for the SMTP server in the PrestaShop back office.THAT move created a new entry in the database for the email password.In comparing the ps_configuration files in both the existing database and the one I had running for 1.1.0.5 that night, I noticed the extra entry. In desperation to find the glitch I had, I removed that entry from the database (with the edit function in MySQL Query Browser). Amazingly, all my troubles vanished and this new version of my shop is once again fully functional!My advice... NEVER change the password in Back Office if you are using an SMTP mail server that you set up during install.Regards,Angie (bykrmom) Link to comment Share on other sites More sharing options...
Recommended Posts