Error on Mailer.cls.php when...

User 462989 Photo


Registered User
53 posts

Please can anyone advise me how to fix this issue?
I am using WFB ver 2.10, build 5575 and the hosting server is running PHP 7.3.28.

When the Form "Submit" button is pressed an error message is displayed referring to Line 249 in Mailer.cls.php stating: "Warning: [err2/line249/mailer.cls.php] has been disabled for security reasons"
Line 249 relates to "safe_mode does not allow a 'from' parameter" and the actual code is "$result = mail( $this->to, $this->subject, $this->message, $headers, '-f ' . $this->from );"

Can anyone tell me what this line should actually contain to get over this error?
Thank you.
Nick
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

Hi Nick,
I would open a support topic and see if the CC gurus can figure it out.
Please post back when you get info.
https://www.coffeecup.com/help/myroom/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 462989 Photo


Registered User
53 posts

Hi Eric
Thank you.
I have opened a ticket with CC, but the solutions offered so far are not solving the problem.
Any suggestions are therefore very welcome, please!
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

Who is your host?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 462989 Photo


Registered User
53 posts

ZAWebHosts, in South Africa. I have been with them for many years and had no problems.
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

Have you asked your host what they changed that may have caused the issue?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 462989 Photo


Registered User
53 posts

Hi Eric
The hosting company has moved the websites to a new server, running PHP 7.3. He has confirmed it is active.
The old server was running PHP 5.6, but has unfortunately been decommissioned so we can't even move a website back to it to confirm it would still work with that version of PHP.
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

Can you share your form project file and I'll test on my host?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 462989 Photo


Registered User
53 posts

Hi Eric
Thanks very much.
This is on a website I use for testing items and the email resulting from the form comes only to me, so nobody else is impacted by any test emails!!
Attachments:
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

I don't have a connection good enough to upload the test form yet. Hopefully later.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.