Print Page | Close Window

email submission

Printed From: openElement Website
Category:

openElement


Forum Name: Error Reports
Forum Description: Submit an error report for our technical support.
URL: https://forums.openelement.uk/en/forum_posts.asp?TID=1895
Printed Date: Apr 18 2024 at 4:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: email submission
Posted By: NickB
Subject: email submission
Date 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





Replies:
Posted By: brolysan17
Date 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.


Posted By: brolysan17
Date 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.


Posted By: brolysan17
Date 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.


Posted By: lecos
Date 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.


Posted By: Captain_Bigzy
Date 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


Posted By: Hobby001
Date Posted: Aug 16 2022 at 12:54pm
Have you tried going backwords to php 7.4?



-------------
https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video


Posted By: Captain_Bigzy
Date 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.


Posted By: Captain_Bigzy
Date 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.


Posted By: Captain_Bigzy
Date 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" rel="nofollow - https://www.cloudcleaning.co.uk/php.php


Posted By: Hobby001
Date Posted: Aug 16 2022 at 4:02pm
Here is  temporary link to a zip file

Unzip the content and install it on your server.

Open testmail.php and run the test.  You will see if the server offers a mail service

https://denislafrance.net/e-mailer/testmail.zip" rel="nofollow - https://denislafrance.net/e-mailer/testmail.zip


-------------
https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video


Posted By: Captain_Bigzy
Date Posted: Aug 16 2022 at 4:06pm
i get error so i assume i dont have mail setup ?  Im using ISS if you have any info what i need to do that would be great


Sorry, an error occurred, try again / Oops an error occured




Posted By: Captain_Bigzy
Date Posted: Aug 16 2022 at 4:58pm
Ok i managed to setup SMTP server using a video and i now get confirmation that email has been sent however I am not actually getting any emails.

I have went into the gmail settings and turned on POP for all mail.

Not sure what else I need to do.


Posted By: Hobby001
Date Posted: Aug 16 2022 at 5:38pm
Check your junk email.  

The sender must have an address from your domain like noreply@mydomain.com


-------------
https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video


Posted By: Captain_Bigzy
Date Posted: Aug 16 2022 at 5:43pm
Already checked that, should have mentioned but nothing in spam ect...

on OpenElement Editing then Email Form configuration i have set both recipient and sender to the same email its supposed to go to.

Im not sure whats going wrong at this point.


Posted By: Hobby001
Date Posted: Aug 16 2022 at 8:17pm
I am in the woods with limited internet access.  Can't help realy well untill September.

-------------
https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video


Posted By: Captain_Bigzy
Date Posted: Aug 16 2022 at 8:22pm
Ah ok ill see if i can find anyone who may be able to help if not will just scrap that out of the template,, kind of needed for my sons new business website which is live so don't want to have people messaging through it and not receiving them LOL


Posted By: Captain_Bigzy
Date Posted: Aug 17 2022 at 12:41am
I found another post regarding email forms and saw that theres a setting in  Projrct/Prefrences where you can enter SMTP authentication details but i tried entering this and i just get a massive bunch of errors when trying to send message in the form.

If anyone can help me figure out if i need to nter details here or not?  And of so what will the details be

SMTP

Server ?

SSL ?

Port ?

Username ?

Password ?


Regards.


Posted By: Hobby001
Date Posted: Aug 17 2022 at 9:27pm
Try changing the mail configuration in project preferences 

-------------
https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video


Posted By: Captain_Bigzy
Date Posted: Aug 18 2022 at 4:29pm
When i enter anything into outgoing email configuration i just get bunch of errors which i assume is because im entering wrong details but i do not know what details i need to enter?



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

Deprecated: Function get_magic_quotes_runtime() is deprecated in C:\inetpub\wwwroot\CLOUDCLEANING\WEFiles\Server\WESendMail-v210.php on line 30

Deprecated: Function get_magic_quotes_gpc() is deprecated in C:\inetpub\wwwroot\CLOUDCLEANING\WEFiles\Server\WESendMail-v210.php on line 31

Fatal error: Uncaught Error: Call to undefined function eregi() in C:\inetpub\wwwroot\CLOUDCLEANING\WEFiles\Server\class\class-phpmailer.php:726 Stack trace: #0 C:\inetpub\wwwroot\CLOUDCLEANING\WEFiles\Server\class\class-phpmailer.php(651): PHPMailer->SmtpConnect() #1 C:\inetpub\wwwroot\CLOUDCLEANING\WEFiles\Server\class\class-phpmailer.php(417): PHPMailer->SmtpSend() #2 C:\inetpub\wwwroot\CLOUDCLEANING\WEFiles\Server\openElement.php(396): PHPMailer->Send() #3 C:\inetpub\wwwroot\CLOUDCLEANING\WEFiles\Server\WESendMail-v210.php(335): OEMail->send() #4 {main} thrown in C:\inetpub\wwwroot\CLOUDCLEANING\WEFiles\Server\class\class-phpmailer.php on line 726


Posted By: Hobby001
Date Posted: Aug 30 2022 at 1:02am
Could you fix your server?

-------------
https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net