Problems uploading to own server -...

User 2257431 Photo


Registered User
3 posts

Hi purchased form designer around a month ago, all went well until I try to upload to my server which is a 1and1 cloud server. It was running php 7 so reduced down to php 5.6 as coffeecup don't support php 7. curl, sessions and PDO are all active. All forms are setup. and the form is directed to a thank you page when completed online. Correct email addresses have been input in the from and to fields. Used the export feature to upload into the httpdocs file on the server where the site is located. Tried it out error message saying it couldn't send to my email address. went into user.cfg.php and changed settings to the below info, got an error message smtp couldn't connect. been trying different options but no joy.


Anyone with any ideas?

<?php
/**
* CoffeeCup Software's Web Form Builder.
*
* This configuration file is intended to change the default behavior of the Web Form Builder scripts to
* accomodate special needs some users may have due to the server setup they have to deal with.
*
* The user is responsible for any changes to this file.
* Remove the '//' in front of the lines that you need add '//' in front of the lines you don't need.
*
*
* @version $Revision: 2244 $
* @author Cees de Gruijter
* @category FB
* @copyright Copyright (c) 2011 CoffeeCup Software, Inc. (http://www.coffeecup.com/)
*/

/*********************** Send Mail Configuration ****************************/

// What service is available for sending mail? Possible values are:
// - localhost [default] Server where the shop is installed, must be a Linux or Unix machine with sendmail
// - smtp A mail server of your choice that supports the standard SMTP protocol
//$user_config['mailer']['service'] = 'localhost';
$user_config['mailer']['service'] = 'smtp';

// Does the remote SMTP server need authentication?
$user_config['mailer']['smtp']['auth'] = true;
//$user_config['mailer']['smtp']['auth'] = false;

// Use this if the server needs authentication:
$user_config['mailer']['smtp']['user'] = 'david@xxxxxxxxx.co.uk';
$user_config['mailer']['smtp']['password'] = 'mypassword';

// The address of the server
$user_config['mailer']['smtp']['host'] = 'mail@xxxxxxx.co.uk';
//$user_config['mailer']['smtp']['host'] = 'smtp.gmail.com';

// Connection parameters for a plain SMTP server
$user_config['mailer']['smtp']['port'] = '25';
$user_config['mailer']['smtp']['secure'] = 'true';

// Connection parameters for a SMTP server that supports secure connections, such as smtp.gmail.com
//$user_config['mailer']['smtp']['port'] = '465';
//$user_config['mailer']['smtp']['secure'] = 'ssl';

?>
User 187934 Photo


Senior Advisor
20,181 posts

Hi David,
If you share a link to your form we may be able to spot 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 2257431 Photo


Registered User
3 posts

Link to page is http://david-woodcock.co.uk/questionnaire as the site isn't live yet I have just put up the files and the page
thanks for taking a look

Server test is
Server configuration
FormBuilder version: Web Form Builder (Windows), build 2.9.5509
PHP Version: 5.6.36 (should be 5.3 or newer)
Curl extensions: OK
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: Installed
File upload configuration:
File Uploads: On
File Uploads Max Size: 2M
Post Max Size: 8M
PHP Sessions:
Cool, sessions are usable!

user.cfg.php

*
* This configuration file is intended to change the default behavior of the Web Form Builder scripts to
* accomodate special needs some users may have due to the server setup they have to deal with.
*
* The user is responsible for any changes to this file.
* Remove the '//' in front of the lines that you need add '//' in front of the lines you don't need.
*
*
* @version $Revision: 2244 $
* @author Cees de Gruijter
* @category FB
* @copyright Copyright (c) 2011 CoffeeCup Software, Inc. (http://www.coffeecup.com/)
*/

/*********************** Send Mail Configuration ****************************/

// What service is available for sending mail? Possible values are:
// - localhost [default] Server where the shop is installed, must be a Linux or Unix machine with sendmail
// - smtp A mail server of your choice that supports the standard SMTP protocol
$user_config['mailer']['service'] = 'localhost';
//$user_config['mailer']['service'] = 'smtp';

// Does the remote SMTP server need authentication?
$user_config['mailer']['smtp']['auth'] = true;
//$user_config['mailer']['smtp']['auth'] = false;

// Use this if the server needs authentication:
$user_config['mailer']['smtp']['user'] = 'david@myemailaddress';
$user_config['mailer']['smtp']['password'] = 'password';

// The address of the server
$user_config['mailer']['smtp']['host'] = 'mail.mywebsite.co.uk';
//$user_config['mailer']['smtp']['host'] = 'smtp.gmail.com';

// Connection parameters for a plain SMTP server
$user_config['mailer']['smtp']['port'] = '25';
$user_config['mailer']['smtp']['secure'] = '';

// Connection parameters for a SMTP server that supports secure connections, such as smtp.gmail.com
//$user_config['mailer']['smtp']['port'] = '465';
//$user_config['mailer']['smtp']['secure'] = 'ssl';


Can you see any problems with the above? ive been trying weeks to get this working with no joy. This is a 1and1 cloud server you have said it works with 1and1 with no problems, is there any specific 1and1 settings to adjust ?
User 2257431 Photo


Registered User
3 posts

These are the server logs for the error -

2018-07-10 11:06:54
Access
51.7.122.18
200
GET /questionnaire HTTP/1.0


2.80 K
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /css/default.css HTTP/1.0


224
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /css/animate.css HTTP/1.0


224
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /css/nivo-lightbox.css HTTP/1.0


230
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/calendar02.js HTTP/1.0


248
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /images/lightbox/default.css HTTP/1.0


236
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/slick.js HTTP/1.0


243
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/main.js HTTP/1.0


242
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/jquery.slimmenu.js HTTP/1.0


253
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/nivo-lightbox.js HTTP/1.0


251
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/wow.min.js HTTP/1.0


245
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /willwriterform.php HTTP/1.0


6.89 K
Apache access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /css/default.css HTTP/1.1


34.0 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /css/animate.css HTTP/1.1


2.25 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /css/nivo-lightbox.css HTTP/1.1


5.42 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/calendar02.js HTTP/1.1


5.48 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /images/lightbox/default.css HTTP/1.1


1.73 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/slick.js HTTP/1.1


78.2 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/main.js HTTP/1.1


1.89 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/jquery.slimmenu.js HTTP/1.1


5.01 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/nivo-lightbox.js HTTP/1.1


11.6 K
nginx access
2018-07-10 11:06:54
Access
51.7.122.18
200
GET /javascripts/wow.min.js HTTP/1.1


10.4 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/form_init.js HTTP/1.0


260
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/theme/default/css/default.css HTTP/1.0


253
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/images/image_default.png HTTP/1.0


256
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/css/jquery-ui-1.8.5.custom.css HTTP/1.0


261
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/css/normalize.css HTTP/1.0


248
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/css/jquery.signaturepad.css HTTP/1.0


258
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery-1.4.4.min.js HTTP/1.0


272
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/theme/default/images/btn_submit.png HTTP/1.0


260
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery-ui-1.8.9.custom.min.js HTTP/1.0


282
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery.ui.datepicker.js HTTP/1.0


276
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/easyXDM/easyXDM.min.js HTTP/1.0


275
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/jquery.validate.js HTTP/1.0


266
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery.metadata.js HTTP/1.0


271
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery.placeholder.min.js HTTP/1.0


278
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/validation_data.js?101 HTTP/1.0


256
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/validation.js HTTP/1.0


261
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/conditionals.js HTTP/1.0


263
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery.signaturepad.min.js HTTP/1.0


279
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/lang/messages_validation.js HTTP/1.0


275
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/lang/messages_datepicker.js HTTP/1.0


688
Apache access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/form_init.js HTTP/1.1


11.6 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/theme/default/css/default.css HTTP/1.1


27.4 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/images/image_default.png HTTP/1.1


11.7 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/css/jquery-ui-1.8.5.custom.css HTTP/1.1


34.0 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/css/normalize.css HTTP/1.1


8.70 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/css/jquery.signaturepad.css HTTP/1.1


3.36 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery-1.4.4.min.js HTTP/1.1


76.8 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/theme/default/images/btn_submit.png HTTP/1.1


1.20 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery-ui-1.8.9.custom.min.js HTTP/1.1


57.0 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery.ui.datepicker.js HTTP/1.1


70.6 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/easyXDM/easyXDM.min.js HTTP/1.1


20.2 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/jquery.validate.js HTTP/1.1


20.9 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery.metadata.js HTTP/1.1


3.86 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery.placeholder.min.js HTTP/1.1


1.32 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/validation_data.js?101 HTTP/1.1


3.00 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/validation.js HTTP/1.1


6.50 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/conditionals.js HTTP/1.1


3.69 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/libs_js/jquery.signaturepad.min.js HTTP/1.1


11.6 K
nginx access
2018-07-10 11:06:55
Access
51.7.122.18
200
GET /willwriterform/common/js/lang/messages_validation.js HTTP/1.1


1.34 K
nginx access
2018-07-10 11:06:56
Error
51.7.122.18
404
GET /favicon.ico HTTP/1.0


562
Apache access
2018-07-10 11:07:21
Access
51.7.122.18
200
GET /willwriterform/theme/default/images/btn_submit_hov.png HTTP/1.0


264
Apache access
2018-07-10 11:07:21
Access
51.7.122.18
200
GET /willwriterform/theme/default/images/btn_submit_hov.png HTTP/1.1


1.22 K
nginx access
2018-07-10 11:07:22
Access
51.7.122.18
200
POST /willwriterform.php HTTP/1.0


6.89 K
Apache access
2018-07-10 11:07:22
Access
51.7.122.18
200
GET /willwriterform/validation_data.js?990 HTTP/1.0


256
Apache access
2018-07-10 11:07:22
Access
51.7.122.18
200
GET /willwriterform/validation_data.js?990 HTTP/1.1


3.00 K
nginx access
User 187934 Photo


Senior Advisor
20,181 posts

I would open a support topic. Please report back here when you get an answer.
https://www.coffeecup.com/help/myroom/opentopic/
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.