BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> Error Reports
  New Posts New Posts RSS Feed - email submission
  FAQ FAQ  Forum Search   Register Register  Login Login

email submission

 Post Reply Post Reply Page  123>
Author
Message
NickB View Drop Down
Newbie
Newbie
Avatar

Joined: Jan 24 2022
Location: United Kingdom
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote NickB Quote  Post ReplyReply Direct Link To This Post Topic: email submission
    Posted: Jan 25 2022 at 11:15am
When I use the email submission form, I get the following error. I don't know if I am missing something, or if I have put an incorrect PHP veresion, or is there something wrong at the web host (GoDaddy)?

An error was encountered while sending email!
Please try again later or contact the server administrator.
{main}
Error :undefined

Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /home/g071cislhw6s/public_html/WEFiles/Server/WESendMail-v210.php:30 Stack trace: #0 {main} thrown in /home/g071cislhw6s/public_html/WEFiles/Server/WESendMail-v210.php on line 30


Back to Top
brolysan17 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 09 2021
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote brolysan17 Quote  Post ReplyReply Direct Link To This Post Posted: Jan 25 2022 at 12:24pm
be careful.
We found with PHP version 8.0, the Openelement mail handler does not work.
We are trying to find a solution to circumvent this error.
Back to Top
brolysan17 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 09 2021
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote brolysan17 Quote  Post ReplyReply Direct Link To This Post Posted: Jan 25 2022 at 12:53pm
We have found what to modify in the project file, now the hardest part will be to automate everything.
Back to Top
brolysan17 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 09 2021
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote brolysan17 Quote  Post ReplyReply Direct Link To This Post Posted: Jan 25 2022 at 1:29pm
We have found a way around the problem.
We will write a procedure for all those who will switch to php 8.
In the meantime, you can stay on php 7.4.
Back to Top
lecos View Drop Down
Newbie
Newbie


Joined: Feb 08 2022
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote lecos Quote  Post ReplyReply Direct Link To This Post Posted: Feb 08 2022 at 11:50am
You can try the following temporary measure :

- Open with Notepad the file ServerWESendMail-v210.php located in /WEFiles /Server/
- Transform as "commentary" (/* right before paragraphe, */  right after) the paragraph starting by "// consider magic quotes:" and ending by "//remove slashes before apostrophes etc. } }"

It seems this portion of code (get_magic_quote_runtime() ?) is not compatible with php 8, and is not really needed.

So far, this seems to be working.
Back to Top
Captain_Bigzy View Drop Down
Groupie
Groupie


Joined: Dec 27 2020
Location: Scotland
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote Captain_Bigzy Quote  Post ReplyReply Direct Link To This Post Posted: Aug 15 2022 at 11:54pm
So i tried setting uup the contact form on Sens White template but i get error about line 30 of the WeSendMail-v210.php

I then tried the above temp fix suggested and now i get a loading bar showing but then another error see below


"Une erreur s'est produite pendant l'envoi, le message n'a pas été envoyé. Veuillez vérifier vos informations.

error02 - Could not instantiate mail function."


Anyone know whats going on and how i can fix this?

Regards Captain Bigzy
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6194
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Aug 16 2022 at 12:54pm
Have you tried going backwords to php 7.4?

Back to Top
Captain_Bigzy View Drop Down
Groupie
Groupie


Joined: Dec 27 2020
Location: Scotland
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote Captain_Bigzy Quote  Post ReplyReply Direct Link To This Post Posted: Aug 16 2022 at 12:58pm
Hi thanks for your response, no I have not trid that as was hoping there wold be a fix, guess ill have to give it a go.
Back to Top
Captain_Bigzy View Drop Down
Groupie
Groupie


Joined: Dec 27 2020
Location: Scotland
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote Captain_Bigzy Quote  Post ReplyReply Direct Link To This Post Posted: Aug 16 2022 at 1:10pm
Just tried installing php 7.4.13 x86 on IIS with same errors as above post i made.
Back to Top
Captain_Bigzy View Drop Down
Groupie
Groupie


Joined: Dec 27 2020
Location: Scotland
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote Captain_Bigzy Quote  Post ReplyReply Direct Link To This Post Posted: Aug 16 2022 at 1:14pm
created a php.php with info inside to ensure i have 7.4.13 installed and it is https://www.cloudcleaning.co.uk/php.php
Back to Top
 Post Reply Post Reply Page  123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.