Form could not be submitted - Post ID...

User 2634808 Photo


Registered User
3 posts

Hello,

We've had a few forms up and running on our website for a while. This morning they were working and then we just started getting this error message:

Warning: [ err 2/line 248/mailer.cls.php] mail(): Could not execute mail delivery program '/usr/sbin/sendmail -t -i '
Warning: [ err 2/line 45/utilities.inc.php] error_log(/home/admin/web/euro-parts.ca/public_html/Invoice Submission/storage/fb_error.log.php): failed to open stream: Permission denied
Warning: [ err 2/line 84/utilities.inc.php] error_log(/home/admin/web/euro-parts.ca/public_html/Invoice Submission/storage/fb_error.log.php): failed to open stream: Permission denied
Warning: [ err 2/line 248/mailer.cls.php] mail(): Could not execute mail delivery program '/usr/sbin/sendmail -t -i '
Warning: [ err 2/line 45/utilities.inc.php] error_log(/home/admin/web/euro-parts.ca/public_html/Invoice Submission/storage/fb_error.log.php): failed to open stream: Permission denied
Warning: [ err 2/line 84/utilities.inc.php] error_log(/home/admin/web/euro-parts.ca/public_html/Invoice Submission/storage/fb_error.log.php): failed to open stream: Permission denied
Failed to send an email to "myemail@emailsubmitted.ca".
Failed to send an email to "invoice@mydomain.com".

Now im not sure why or if it existed prior but the fb_error.log.php file does not exist on that file path. Is this a permissions issue? There has been no work done on the site between it working and it not working...

Any help is greatly appreciated!
Thanks
User 10077 Photo


Senior Advisor
1,096 posts

use WFB forms on my server quite frequently. The first thing to do is a server test. Upload your form files to the server and use your browser to go to:

www.your-domain.com/form-folder/fbapp/php/servertest.php


It will tell you if there is a server issue.
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
User 2634808 Photo


Registered User
3 posts

ok so results are

FormBuilder version: Web Form Builder (Windows), build 2.4.5318

PHP Version: 5.4.45-0+deb7u2 (should be 5.2 or newer)

Mail configuration in php.ini file:
Sendmail Path:/usr/sbin/sendmail -t -i
Sendmail From:
SMTP:localhost
SMTP Port:25

Data base access:
MySQL: Installed
SQLite: Not Installed
PDO - MySQL driver: Installed
PDO - SQLite driver: Not Installed

File upload configuration:
File Uploads: On
File Uploads Max Size: 2M
Post Max Size: 8M

and the session results are

PHP Sessions:
Cool, sessions are usable!

I did a quick test to make sure it wasnt just a hickup and still getting the same errors.

The SQLite and Driver we have never used, so that is not something new
User 103173 Photo


VP of Software Development
0 posts

This issue could be caused by permissions not being properly set on your server. With an FTP client, locate the folder called storage and change the permissions for that folder and all folders under it to 755. That should then fix the issue.
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.
User 2634808 Photo


Registered User
3 posts

thought i checked that, storage was 755 but one of the sub directories was not set properly, seems to be working! Thanks!
User 103173 Photo


VP of Software Development
0 posts

Henry Van Heesch wrote:
thought i checked that, storage was 755 but one of the sub directories was not set properly, seems to be working! Thanks!

Awesome!! :)
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.