Contact Forms Not Working ctypes
Author: Steve B.
Visited 332,
Followers 1,
Shared 0
20241011T124833: lwbsc.com/imemail/imEmailForm.php
PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\ctype_alnum() in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/lwbsc/res/class.phpmailer.php:1847
Stack trace:
#0 /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/lwbsc/res/class.phpmailer.php(1936): PHPMailer\PHPMailer\PHPMailer::isShellSafe('***...')
#1 /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/lwbsc/res/class.phpmailer.php(1680): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Fri, 11 O...', '--
Posted on the
Hello,
I am sorry about the issue.
What version of PHP are you using on your hosting space?
Eric
Author
7.4.10 php version
Hello Steve,
from what I can see you have the latest version of the software, so PHP version 7.4 is outdated.
Could you please check again after switching a version from 8.0 to 8.2?
Thank you.
Eric
Author
hosting company 8.1 will be available by end of year. Here is a copy of the error message, they're telling me I have to fix it.
20241030T111031: abrparty.com/captcha/x5captcha.php PHP Warning: require_once(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrparty/res/x5engine.php on line 54 PHP Warning: require_once(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrparty/res/x5engine.php on line 54 PHP Warning: require_once(): Unable to find the wrapper "phar&qu
Hello,
from what I can see this is a PHP Warning, they usually do not cause blocking malfunctions.
I recomment disabling the PHP parameter called display_errors if this warning is visible somewhere, and switching to one of the aforementioned PHP versions.
It is strange that your provider still does not support 8.1, could you double check?
I recommend switching at least to 8.0.3.
Eric
Author
They're the ones that told me they're in the final testing of 8.1 and it will be up by end of 2024.
Here is a screen image of the form.
Hello Steve,
what is the latest PHP version they have available?
Eric
Author
on my server settings 7.4 is the highest shown.
abrparty.com website has a login tab, this also doesn't work at the same time the contact form stops working.
2nd time this combo has happened. you can go to abrparty.com and click login and you'll see.
Author
PHP Fatal error: Uncaught Error: Call to a member function get() on null in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrdi/res/emailtemplates/order.html.template.php:11 Stack trace: #0 {main} thrown in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrdi/res/emailtemplates/order.html.template.php on line 11
Author
20241030T113746: abrdi.com/admin/templates/sitetest/email-form.php PHP Fatal error: Uncaught Error: Call to undefined function l10n() in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrdi/admin/templates/sitetest/email-form.php:1 Stack trace: #0 {main} thrown in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrdi/admin/templates/sitetest/email-form.php on line 1
Author
Here is the login error codes in the cgi file from the link to right. https://abrparty.com/login.php
20241030T140618: abrparty.com/login.php PHP Warning: require_once(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrparty/res/x5engine.php on line 54 PHP Warning: require_once(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrparty/res/x5engine.php on line 54 PHP Warning: require_once(): Unable to find the wrapper "phar&qu 20241030T140704: abrparty.com/login.php PHP Warning: require_once(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrparty/res/x5engine.php on line 54 PHP Warning: require_once(): Unable to find the wrapper "phar" - did you forget to enable it when you configured PHP? in /hermes/bosnacweb01/bosnacweb01bf/b2122/apo.abr2020/abrparty/res/x5engine.php on line 54 PHP Warning: require_once(): Unable to find the wrapper "phar&qu
Hello Steve,
unfortunately with an outdated version it is likely for issues to occur when updating the software, as some changed in the PHP functions may occur and they are not always supported by old versions of PHP.
I would recommend reinstalling a previous version of the software and using a backup of the project coming from that version, until the provider has a more recent version available, although it is very unusual for a provider to only have 7.4, as it is 5 years old.
Eric