Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Previous Page
Author « Topic »
Page: of 2

gm4toe
New Member

United Kingdom
55 Posts

Posted - 01/07/2018 :  04:30:53  
Nothing changed when the fault occured - I just received an email from a customer advising me of the problem.

Email a friend does not work either but Ask a Question does

Although I agree that the email system is essentially working it looks to me, without any real inside knowledge of the software, that a call is made to PHPmailer by the shopping cart and this is rejected.

Barry

Edited by - gm4toe on 01/07/2018 06:20:14

gm4toe
New Member

United Kingdom
55 Posts

Posted - 01/07/2018 :  07:00:38  
The full error report is:
PHP Fatal error: Cannot redeclare class phpmailerException in /home/sotashop/public_html/vsadmin/inc/class.phpmailer.php on line 4044

Does this suggest that the class is already open?

Andy
ECT Moderator

95440 Posts

Posted - 01/07/2018 :  07:42:44  
It does suggest that it's been included twice. Are you using phpmailer elsewhere on the site?

Andy

Please feel free to review / rate our software

gm4toe
New Member

United Kingdom
55 Posts

Posted - 01/07/2018 :  08:13:18  
Hi Andy,

Just did a search and found the correct one (latest version) in vsadmin/inc/class.phpmailer.php
but I also found (slightly different name) wp-includes/class-phpmailer.php.

I have just compared the files, the one in wp-includes is older, there are a small number of differences in the code but otherwise they are identical.

Is the cache on the server stuffed and do I need to clear it?
Thoughts?

Barry

gm4toe
New Member

United Kingdom
55 Posts

Posted - 01/07/2018 :  08:55:16  
Bingo!

Just disabled the contact form which also uses PHPmailer and functionality returns.

Need to solve that one, looks as if an automatic update to the plugin borked the site

Once again, thanks for the help
Barry

Andy
ECT Moderator

95440 Posts

Posted - 01/07/2018 :  10:45:25  
Thanks for letting us know and really glad it's now working.

Andy

Please feel free to review / rate our software
Page: of 2 « Topic »  
Previous Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000