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
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 class.phpmailer.php etc not found in download
Author « Topic »  

Bird on the Hand
New Member

92 Posts

Pre-sales questions only
(More Details...)

Posted - 08/31/2017 :  08:38:31  
Using your php email trouble shooting guide at https://www.ecommercetemplates.com/help/email-help.asp

It does not seem to tie up well with the page link
https://github.com/PHPMailer/PHPMailer

There is no sidebar
There is a button "Clone or download" which gives an option to download zip
This downloads PHPmailer-master

Having extracted files I can find none of the 3 files you specify
class.phpmailer.php
class.smtp.php
PHPMailerAutoload.php

Andy
ECT Moderator

95440 Posts

Posted - 08/31/2017 :  09:41:30  
Hi

That seems to have changed recently. I believe you will only need to upload two files to your /vsadmin/inc folder, smtp.php and phpmailer.php

Andy

Please feel free to review / rate our software

Bird on the Hand
New Member

92 Posts

Pre-sales questions only
(More Details...)

Posted - 08/31/2017 :  13:33:20  
Hi Andy

Thanks. Glad it's not be being my usual dim self.

The entries for the includes.php are listed as

$usemailer='phpmailer';
$smtphost='smtphostname'; // will usually be 'mail.yourbusiness.com';
$smtpusername='smtpuser'; // will be your business email address, the same as you entered in the ECT admin panel Main Settings page. // your email account Password.
$smtppassword='smtppassword';
$smtpport=587;
$emailfromname="Your Business Name"; //

Should these be the
$GLOBALS['admindateformat']=2;
type format?

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 08/31/2017 :  15:18:32  
Hi Bird, if its a Wordpress site you would use Globals if not it shouldn't make a difference.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

EllenD
Advanced Member

United Kingdom
434 Posts

Posted - 10/20/2017 :  04:57:42  
I have the exact same question, so hope it's OK to hop on this thread. I got the latest download from Github, unzipped and put SMTP.php and PHPMailer.php into vsadmin/inc. When I try 'email a friend' I get this error

Warning: include_once(./inc/class.phpmailer.php): failed to open stream: No such file or directory in /var/sites/t/mysite.co.uk/public_html/vsadmin/inc/incfunctions.php on line 1880

I have latest ECT 6.8 with no mods. Is it making a call to class.phpmailer.php? This file no longer seems to be part of the phpmailer download.

Thank you for any help!
Ellen

Andy
ECT Moderator

95440 Posts

Posted - 10/20/2017 :  06:15:26  
Hi Ellen

My understanding is this is the latest stable PHPmailer deployment that should be used now https://github.com/PHPMailer/PHPMailer/tree/5.2-stable

Andy

Please feel free to review / rate our software

EllenD
Advanced Member

United Kingdom
434 Posts

Posted - 10/20/2017 :  09:16:50  
Thanks Andy, I'll try that. It looks like the link here will need updating again then https://www.ecommercetemplates.com/help/email-help.asp

As someone suggested in the sticky post, it would be great if the necessary files could be included in ECT updater. SMTP authentication is required by most hosts now I think so it would be a real benefit if this could be included in the ECT setup. Hopefully not that much more trouble than updating the help page every time it changes ;)

Thank you
Ellen

Andy
ECT Moderator

95440 Posts

Posted - 10/20/2017 :  09:22:42  
I should have updated the link there earlier so sorry for any hassles there - it's now correct.

Andy

Please feel free to review / rate our software

EllenD
Advanced Member

United Kingdom
434 Posts

Posted - 10/20/2017 :  10:21:15  
Andy, I have been doing lots of testing with 'email a friend' and now its not working, even with the original settings. I think I remember there is some sort of 'throttling' to reduce spam and wonder if I have hit that limit? If so, any way to 'clear' it? The form submits with no error, but the proddetail.php remains behind the grey overlay, and 'inspect' shows this error:
Failed to load resource: proddetail.php the server responded with a status of 403 (Forbidden)

Could this be the problem or have I just broken it?

thanks!
Ellen

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 10/20/2017 :  11:04:20  
Hi Ellen, there is a built in limit on how many emails can be sent open emailfriend.php and look around line 20 you can increase the number for testing after testing you can reduce it back. Getting 403 forbidden is a permissions issue, can you ask your host to white-list emailfriend.php I just went through this with hostgator, I just let them know that there is built-in security features to prevent the form from being spammed, the other thing to do is enable captcha as outlined here https://www.ecommercetemplates.com/help/admin-main.asp#recaptcha and let them know that is enabled for the form as well.


Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

EllenD
Advanced Member

United Kingdom
434 Posts

Posted - 10/23/2017 :  07:50:34  
Thank you Sinbad, think it's all sorted now. I had reached the limit, was obviously a bit too keen testing!
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000