GetSimple Support Forum

Full Version: Contacts plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can I ask you to test and make this contacts plugin work in PHP 8? https://disk.yandex.ru/d/c4lyK1BFsmUEU
(2024-03-06, 16:42:34)Oleg06 Wrote: [ -> ]Can I ask you to test and make this contacts plugin work in PHP 8? https://disk.yandex.ru/d/c4lyK1BFsmUEU

Archive what you sended me is not pure plugin, this have theme edit for ukit etc. Looks like not easy to use for everyone, maybe make some function for return form or something? on first look i don't see any error but i can't add this plugin to CE repo in this state.
(2024-03-09, 01:23:41)multicolor Wrote: [ -> ]
(2024-03-06, 16:42:34)Oleg06 Wrote: [ -> ]Can I ask you to test and make this contacts plugin work in PHP 8? https://disk.yandex.ru/d/c4lyK1BFsmUEU

Archive what you sended me is not pure plugin, this have theme edit for ukit etc. Looks like not easy to use for everyone, maybe make some function for return form or something? on first look i don't see any error but i can't add this plugin to CE repo in this state.

I have been using this plugin in my website templates for a long time. Its main advantage is sending a letter without reloading the page using AJAX. And the ability to assign classes of different frameworks to fields. But on PHP 8 it refuses to work. There may be something wrong with your hosting settings.

Click on the circle with the telephone handset.
https://demo.getsimplethemes.ru/newtech-en/

And here the form does not gain access to the folder, although all rights look normal.
http://php8.getsimplecms.ru/forma/
I understood what's wrong with this plugin. Plugin scripts conflict with theme scripts.
All my brains were fucked by the contacts plugin developed by Alexei Polnikov, who disappeared somewhere long ago. On PHP 8 I flatly refused to send emails. There were no errors except 500, which blamed everything on the server settings. I looked for the author, he is silent, I went to the forums, no one knows anything. And only hosting support pointed the direction, suggesting that we look into the domain logs. And there is an error "[Sat Mar 16 19:09:06.791094 2024] [php:error] [pid 7052] [client 178.44.74.238:37892] PHP Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in /var/www/u993792/data/www/mydomen/theme/UIkit/assets/form/PHPMailerAutoload.php on line 45, referer: mydomen/kontakty/". It turned out that it was enough to replace this tiny piece of code __autoload with spl_autoload_register in line 45 of the PHPMailerAutoload.php file and everything worked immediately. But I was already ready to fall into despair.
It remains to figure out why clumsy letters are coming from PHP 8 hosting without HTML layout.
[Image: 909.jpg]