Im having trouble uploading my form to a database:
I have tried the following:
* Created the database
* created the user
* linked the user to the database.
* whitedlisted all Ips for the database
* tried to connect with ( localhost, domain, and Ip)
Neither the .csv file or the database will get uploaded.
I purchased this program thinking it could publish and upload the database at my hosting server, but it looks like i just have a little piece of code, which i dont mind, But having the form upload the data to a database, is required.
Has anyone successfully linked the form from their site to the database.
Any help would be amazing.
I have tried the following:
* Created the database
* created the user
* linked the user to the database.
* whitedlisted all Ips for the database
* tried to connect with ( localhost, domain, and Ip)
Neither the .csv file or the database will get uploaded.
I purchased this program thinking it could publish and upload the database at my hosting server, but it looks like i just have a little piece of code, which i dont mind, But having the form upload the data to a database, is required.
Has anyone successfully linked the form from their site to the database.
Any help would be amazing.
If you FTP into your server, look inside of the STORAGE folder. There should be a log file telling you what the problem is with MySQL.
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.
Thank you i think i see my error:
I am now seeing this error after i FTP'd the files to my server.
Your form could not be submitted for the following reason(s):
Failed to execute query associated to this form.
Warning: [ err 2/line 23/mergeformpost.inc.php] DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Attribute maxlength redefined in Entity, line: 3366
Im just using the form exporter i see that im supposed to put this code on the page that i want the form on, so i made a index.html page.
<script type="text/javascript">document.write(unescape("%3Ciframe src=\"index/index.html\" width=\"642\" height=\"9312\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E<a href=\"index.php\" title=\"index\">Check out my CoffeeCup Form</a>%3C/iframe%3E"));</script>
<noscript>
<iframe width="642" height="9312" style="border:none; background:transparent; overflow:hidden;"
src="index/index.html">
<a href="index.php" title="index">Check out my CoffeeCup Form</a>
</iframe>
</noscript>
** since i am not using any other page on the site, the form will be the only thing on the page.
** also tried just uploading just the .php and the folder that i got from the export and still get the same error.
*** weird things is that im still getting the emails sent to my email account stating that the form was submitted,
anthonyidiaz.com/tnt
Any ideas on what could be causing this error?
I am now seeing this error after i FTP'd the files to my server.
Your form could not be submitted for the following reason(s):
Failed to execute query associated to this form.
Warning: [ err 2/line 23/mergeformpost.inc.php] DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Attribute maxlength redefined in Entity, line: 3366
Im just using the form exporter i see that im supposed to put this code on the page that i want the form on, so i made a index.html page.
<script type="text/javascript">document.write(unescape("%3Ciframe src=\"index/index.html\" width=\"642\" height=\"9312\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E<a href=\"index.php\" title=\"index\">Check out my CoffeeCup Form</a>%3C/iframe%3E"));</script>
<noscript>
<iframe width="642" height="9312" style="border:none; background:transparent; overflow:hidden;"
src="index/index.html">
<a href="index.php" title="index">Check out my CoffeeCup Form</a>
</iframe>
</noscript>
** since i am not using any other page on the site, the form will be the only thing on the page.
** also tried just uploading just the .php and the folder that i got from the export and still get the same error.
*** weird things is that im still getting the emails sent to my email account stating that the form was submitted,
anthonyidiaz.com/tnt
Any ideas on what could be causing this error?
Hiya Anthony,
When you uploaded the folder, did you upload the whole folder the program created or the contents that you should be uploading? Don't upload the folder that ends with _exported. Upload the items inside that folder. I'm guessing that's the main issue here. Let us know if not though
When you uploaded the folder, did you upload the whole folder the program created or the contents that you should be uploading? Don't upload the folder that ends with _exported. Upload the items inside that folder. I'm guessing that's the main issue here. Let us know if not though

Those are the files that i am uploading,
I will get the above error when uploading the folder and the .php file..
* i tried with and with out a .html file ( with and with our the code given to me by the form exported page)
* i also tried moving the files from within the folder to the document root, with the .php file
Your will see the error after completing the form
Not sure what really to do, ive tried the steps perfectly on this page:
http://www.coffeecup.com/help/articles/ … your-page/
I will get the above error when uploading the folder and the .php file..
* i tried with and with out a .html file ( with and with our the code given to me by the form exported page)
* i also tried moving the files from within the folder to the document root, with the .php file
Your will see the error after completing the form
Not sure what really to do, ive tried the steps perfectly on this page:
http://www.coffeecup.com/help/articles/ … your-page/
Well hmm it's not really difficult at all. Not even going to read those steps, so if they are the same then they are lol, but here's what I do:
Make sure all settings are completed in the form
Save the form
go to File and use the Export option
Export the form which will create the nameofyourform_exported folder
Upload ONLY the files within that folder (the folder and the php file basically) to the root folder OR
Upload them to the location the page the form is on is residing. This would be priority over root folder.
Paste the code onto the HTML page you plan to use for the form. This is important. Although the form creates an HTML file, it's the HTML file of the form itself, it's not the displaying file.
You NEED to do the above for sure. I'm not sure you "have" to put the code on another HTML page, but the issue would be that you would have to reference the HTML page that resides in the folder you uploaded rather than a page on your root directory. Much easier to use the code on a page that resides in the root directory of your site.
That's it, there should be nothing else.
Make sure all settings are completed in the form
Save the form
go to File and use the Export option
Export the form which will create the nameofyourform_exported folder
Upload ONLY the files within that folder (the folder and the php file basically) to the root folder OR
Upload them to the location the page the form is on is residing. This would be priority over root folder.
Paste the code onto the HTML page you plan to use for the form. This is important. Although the form creates an HTML file, it's the HTML file of the form itself, it's not the displaying file.
You NEED to do the above for sure. I'm not sure you "have" to put the code on another HTML page, but the issue would be that you would have to reference the HTML page that resides in the folder you uploaded rather than a page on your root directory. Much easier to use the code on a page that resides in the root directory of your site.
That's it, there should be nothing else.
Thank you that helped with that issue:
Not to be a pest, but the form is online ( thank you very much for great customer service)
But after submitting the form, i get an error_log on my public_html:
I have had my hosting company work on this, and they state that the export files may be missing a folder.
The error :
[07-Jun-2012 05:36:08] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'cartapp_v1/api/checkoutcontroller.interface.php' (include_path='/home/tnt/public_html/tnt:.:/usr/lib/php:/usr/local/lib/php') in /home/tnt/public_html/tnt/fbapp/php/checkoutcontroller.cls.php on line 9
When i go to line 9 of that files, i see this:
require CARTREVISION . '/api/checkoutcontroller.interface.php';
I have looked for the file checkoutcontroller.interface.php hoping that i can just correct the path, however that folder nor path are ever exported from the manual export.
if i try commenting out the line, i will just get another error.
Any idea on what i am doing wrong?
Not to be a pest, but the form is online ( thank you very much for great customer service)
But after submitting the form, i get an error_log on my public_html:
I have had my hosting company work on this, and they state that the export files may be missing a folder.
The error :
[07-Jun-2012 05:36:08] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'cartapp_v1/api/checkoutcontroller.interface.php' (include_path='/home/tnt/public_html/tnt:.:/usr/lib/php:/usr/local/lib/php') in /home/tnt/public_html/tnt/fbapp/php/checkoutcontroller.cls.php on line 9
When i go to line 9 of that files, i see this:
require CARTREVISION . '/api/checkoutcontroller.interface.php';
I have looked for the file checkoutcontroller.interface.php hoping that i can just correct the path, however that folder nor path are ever exported from the manual export.
if i try commenting out the line, i will just get another error.
Any idea on what i am doing wrong?
Hiya Anthony,
Do you have a link to the page with the form on it? That would help a lot better to see what might be wrong. Not sure I'll have any answers on this part anyways, but I'm sure it will help for those that do
Do you have a link to the page with the form on it? That would help a lot better to see what might be wrong. Not sure I'll have any answers on this part anyways, but I'm sure it will help for those that do

Hi,
I'm having a slightly similar issue except in my case I'm getting the following error when trying to save data from my form to my mysql database:
Failed to open database [1045] SQLSTATE[28000] [1045] Access denied for user 'dbconnex'@'cp7-virtual.syra.net.au' (using password: YES).
By the looks of the message above it's not putting my db hostname which is dbconnex.com
Below are what's generated for my db entries from my formbuilder 2.0 version form.cfg.php file:
"save_database" :
{
"database" : "dbconnex_forum",
"is_present" : true,
"password" : "password",
"port" : 3306,
"server" : "dbconnex.com",
"tablename" : "xxxx_xxxxx_data",
"username" : "xxxxxxxx"
},
What am I doing wrong here? Please note I'm using TOAD mysql and even Mysql Workbench and connect fine with the above settings - in fact I created the table with the above db config using TOAD. Can someone please help here.
Also the page that this form is on is www.dbconnex.com/chefpanel/join.htm - so it's not in the root folder. I uploaded the export files to www.dbconnex.com/chefpanel .
Thanks
I'm having a slightly similar issue except in my case I'm getting the following error when trying to save data from my form to my mysql database:
Failed to open database [1045] SQLSTATE[28000] [1045] Access denied for user 'dbconnex'@'cp7-virtual.syra.net.au' (using password: YES).
By the looks of the message above it's not putting my db hostname which is dbconnex.com
Below are what's generated for my db entries from my formbuilder 2.0 version form.cfg.php file:
"save_database" :
{
"database" : "dbconnex_forum",
"is_present" : true,
"password" : "password",
"port" : 3306,
"server" : "dbconnex.com",
"tablename" : "xxxx_xxxxx_data",
"username" : "xxxxxxxx"
},
What am I doing wrong here? Please note I'm using TOAD mysql and even Mysql Workbench and connect fine with the above settings - in fact I created the table with the above db config using TOAD. Can someone please help here.
Also the page that this form is on is www.dbconnex.com/chefpanel/join.htm - so it's not in the root folder. I uploaded the export files to www.dbconnex.com/chefpanel .
Thanks
I figured it out. I had to set the db host as localhost not the external website host name dbconnex.com because the form is being filled locally. All works now.
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.