Forums

Error: 0 - Class 'PHPMailer' not found

neillsun 28 Jul, 2020
I have an odd issue with ReCaptcha v2 and Chronoforms v5 with my Joomla 3.9.19 site - the Captcha passes and the form action (email) is successful, but Chronoforms displays the custom ReCaptcha failed message.

I tried upgrading Chronoforms to v7, but this just throws out a server 500 error on submit. So decided to Give v6 a go...

Now I get a this error: Error: 0 - Class 'PHPMailer' not found. If I downgrade my PHP to 7.2 I get a Server 500 error. Even if it had worked, downgrading PHP to 7.2 is not really a viable option.

(I have not tried v7 with PHP 7.2)

I have checked the permissions for PHPMailer in these locations:
/usr/www/users/xxxxx/includes/phpmailer/class.phpmailer.php
/usr/www/users/xxxxx/libraries/cegcore/vendors/phpmailer/class.phpmailer.php
Both are set to 0644

Would anyone be able to give me a few pointers?

Thanks!
Max_admin 30 Jul, 2020
Please use v7, then set the "Error reporting" to maximum in the Joomla global config, what do you get when you submit the form ?

Also what actions does your form have ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
neillsun 30 Jul, 2020
Answer
1 Likes
Hi Max,

Thanks for relying.


Looks like it was a wild goose chase - I downloaded a new version of Joomla 3.9.19 and uploaded the class.phpmailer.php file over the copy on my server and all seems well now. :shrugs:

Thanks for the help.

Neill.
This topic is locked and no more replies can be posted.