I have a client who's form keeps giving us this message:
Your form could not be submitted for the following reason(s):
Warning: [ err 2/line 246/mailer.cls.php] mail(/var/log/phpmail.log): failed to open stream: Permission denied
I've tried re-saving and re-exporting the form, deleting the current form files on the server and uploading the new save. That didn't work. I've checked and they have PHP 5.3.x installed on their host. I'm not sure what this is and have never seen it happen before.
I have a form on their other website that does not give this error at all. That site is hosted on the same server (it's actually the main domain of the account and the one that is giving errors is a 2nd domain on the same account ( their hosting package includes up to 3 domains hosted on the account). They've called the hosting company and emailed them and what they got back was saying that there is an error in the PHP ... but since I'm not a PHP person I've no idea where to look for that. Any help would be appreciated as I cannot even find the directory that the error is saying the permission is denied for.
When I tested it just before I came here I got the error, but just now I did get the user reply email (just came in while I was typing this post).
To further this, the client is saying they are not getting any emails at all from the other site either, although that form is giving no errors and it is functioning to the point of sending out the users email reply as well, the client is not getting any emails on his end.
To even further this issue, this error that this second domain's form is giving now was not there when I first installed the form. The client had some major email server issues when the site first went live (long story, but the host he's working with has too many places for things on too many different accounts in my opinion and things got crossed or something). They got it fixed, as far as we know it was all working, but he says he's not gotten any emails from either of the accounts. We couldn't test this at the time of upload as it took his host a couple days of messing around to get the servers working again for email.
NOTE: I am checking my emails right now because when I just did the re-upload of the form I had added my email to the BCC box to see if it was sending anything out for the client end and I have not yet gotten it. I can't really be sure on this though as the last time when I was testing it, it took almost an hour for the email to reach me lol. Something ain't right there, but what that is I dunno.
My main concern is to fix the error message, and if anyone has any ideas on what to try to get the client's emails working that would be appreciated as well.
Your form could not be submitted for the following reason(s):
Warning: [ err 2/line 246/mailer.cls.php] mail(/var/log/phpmail.log): failed to open stream: Permission denied
I've tried re-saving and re-exporting the form, deleting the current form files on the server and uploading the new save. That didn't work. I've checked and they have PHP 5.3.x installed on their host. I'm not sure what this is and have never seen it happen before.
I have a form on their other website that does not give this error at all. That site is hosted on the same server (it's actually the main domain of the account and the one that is giving errors is a 2nd domain on the same account ( their hosting package includes up to 3 domains hosted on the account). They've called the hosting company and emailed them and what they got back was saying that there is an error in the PHP ... but since I'm not a PHP person I've no idea where to look for that. Any help would be appreciated as I cannot even find the directory that the error is saying the permission is denied for.
When I tested it just before I came here I got the error, but just now I did get the user reply email (just came in while I was typing this post).
To further this, the client is saying they are not getting any emails at all from the other site either, although that form is giving no errors and it is functioning to the point of sending out the users email reply as well, the client is not getting any emails on his end.
To even further this issue, this error that this second domain's form is giving now was not there when I first installed the form. The client had some major email server issues when the site first went live (long story, but the host he's working with has too many places for things on too many different accounts in my opinion and things got crossed or something). They got it fixed, as far as we know it was all working, but he says he's not gotten any emails from either of the accounts. We couldn't test this at the time of upload as it took his host a couple days of messing around to get the servers working again for email.
NOTE: I am checking my emails right now because when I just did the re-upload of the form I had added my email to the BCC box to see if it was sending anything out for the client end and I have not yet gotten it. I can't really be sure on this though as the last time when I was testing it, it took almost an hour for the email to reach me lol. Something ain't right there, but what that is I dunno.
My main concern is to fix the error message, and if anyone has any ideas on what to try to get the client's emails working that would be appreciated as well.
Do you have any .htaccess that you've placed on the 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
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
no, I didn't do one as of yet.
Jo Ann wrote:
no, I didn't do one as of yet.
no, I didn't do one as of yet.
PHP Sessions enabled?
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
Yes, and I mistakenly assumed the email I got was the user reply and then thought about that after I posted... it's not setup for one lol, so I checked again and it's the information that the client would get so....
The email parts are working like they should now, but the error is not. His not getting the emails I am pretty sure has something to do with his hosting company not having it setup correctly since they did all that setup for him, .....
But the error is still there so that's the only part I can probably do anything about on my end anyways.
The email parts are working like they should now, but the error is not. His not getting the emails I am pretty sure has something to do with his hosting company not having it setup correctly since they did all that setup for him, .....
But the error is still there so that's the only part I can probably do anything about on my end anyways.
If PHP Sessions are enabled, the other issue could be permissions. If you are using MySQL or CSV logging, the STORAGE folder needs full read/write permissions.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
hmm I typed but it disappeared lol.
I'll try changing the storage folder settings, but what should they be at? They are at 755 right now, and there are 2 write settings which are not checked at the moment. One is for Group and one is for World.
I'll try changing the storage folder settings, but what should they be at? They are at 755 right now, and there are 2 write settings which are not checked at the moment. One is for Group and one is for World.
Jo Ann wrote:
hmm I typed but it disappeared lol.
I'll try changing the storage folder settings, but what should they be at? They are at 755 right now, and there are 2 write settings which are not checked at the moment. One is for Group and one is for World.
hmm I typed but it disappeared lol.
I'll try changing the storage folder settings, but what should they be at? They are at 755 right now, and there are 2 write settings which are not checked at the moment. One is for Group and one is for World.
For any account I have used, I have never had to change permissions. 755 should be all that is required, but you can try in a pinch, 777. Remember all folders and sub-folders under the storage folder need to be changed.
See why S-Drive is so nice.

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
Yeah I've never had to change anything before to make a form work as far as permissions either. I just tested it with changing the storage and the 3 folders inside it to 777 and that didn't fix it either.
What is the URL?
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
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.