Several problems with "Export to...

User 407558 Photo


Registered User
36 posts

First off I've used CC software for several years and I've found most of it to be very intuitive, however I'm stumped by the new Web Form Builder and would appreciate your help/comments. I am not using the S-Drive since with the number of forms I use the cost is prohibitive (for the $300 a year that the S-Drive would cost I could have ten hosting packages!). Therefore I am attempting to export to a manual server. I believe I've followed the instructions and uploaded to the same folder as my contact page. My server supports php.

I've designed a simple contact form for a new website (www.octenmedia.co.uk/contact/index.html). The first and immediate problem is that the form does not look the same on my site as it does in WFB. There are also several validation issues with CSS3 (I know because during my first attempt I put the cart before the horse and validated the page before testing the form - a schoolboy error I know).

Ignoring the appearance issues for the moment, when I test the form I am directed to a page (http://www.octenmedia.co.uk/contact/contactform.php) with the following error message:
Not Found
The requested URL /contact/contactform.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

It would appear that the export to manual server has created a new directory: contact/contactform/ but the path in the code is contact/. Therefore I guess I will need to change the paths. I have tested this theory by changing the original css link
original - <link rel="stylesheet" type="text/css" href="contactform/theme/transparent/css/default.css?version=609" id="theme" />
revised - <link rel="stylesheet" type="text/css" href="../contact/contactform/contactform/theme/transparent/css/default.css" id="theme" />
This has cured the appearance problems - it now looks the same on my page as in WFB, but the form still does not work.

Obviously I need to change several more paths but but in which files? Can you give me a list of all the changes needed?

Many thanks in advance.

User 38401 Photo


Senior Advisor
10,951 posts

Hiya bladerider,

If I'm understanding what you said correctly, it sounds like you uploaded the entire directory that the program created? If that is the case, then that's the majority of your issues as it is stated to upload the "contents" of that directory rather than the entire directory. Just delete that directory online if you uploaded it as a whole and reupload just the files inside the directory (or move them outside the directory using FTP if you have that capability.

Hope that helps and let me know if I am misunderstanding what you said there.
User 407558 Photo


Registered User
36 posts

Hi Jo Ann,
thanks for the immediate response.
I've done as you suggested. Now when I test the form the http://www.octenmedia.co.uk/contact/contactform.php opens but contains the following:
"Warning: require(/home/octenmed/public_html/contact/contactform/fbapp/php/config.inc.php) [function.require]: failed to open stream: No such file or directory in /home/octenmed/public_html/contact/contactform.php on line 6

Fatal error: require() [function.require]: Failed opening required '/home/octenmed/public_html/contact/contactform/fbapp/php/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/octenmed/public_html/contact/contactform.php on line 6"

I added the path '.:/usr/lib/php:/usr/local/lib/php') to /home/octenmed/public_html/contact/contactform.php as suggested. When I test the form I now get the following warning:
Warning: require(/home/octenmed/public_html/contact/contactform.:/usr/lib/php:/usr/local/lib/php) [function.require]: failed to open stream: No such file or directory in /home/octenmed/public_html/contact/contactform.php on line 6

Fatal error: require() [function.require]: Failed opening required '/home/octenmed/public_html/contact/contactform.:/usr/lib/php:/usr/local/lib/php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/octenmed/public_html/contact/contactform.php on line 6

All help and advice gratefully recieved.
User 103173 Photo


VP of Software Development
0 posts

bladerider wrote:
Hi Jo Ann,
thanks for the immediate response.
I've done as you suggested. Now when I test the form the http://www.octenmedia.co.uk/contact/contactform.php opens but contains the following:
"Warning: require(/home/octenmed/public_html/contact/contactform/fbapp/php/config.inc.php) [function.require]: failed to open stream: No such file or directory in /home/octenmed/public_html/contact/contactform.php on line 6

Fatal error: require() [function.require]: Failed opening required '/home/octenmed/public_html/contact/contactform/fbapp/php/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/octenmed/public_html/contact/contactform.php on line 6"

I added the path '.:/usr/lib/php:/usr/local/lib/php') to /home/octenmed/public_html/contact/contactform.php as suggested. When I test the form I now get the following warning:
Warning: require(/home/octenmed/public_html/contact/contactform.:/usr/lib/php:/usr/local/lib/php) [function.require]: failed to open stream: No such file or directory in /home/octenmed/public_html/contact/contactform.php on line 6

Fatal error: require() [function.require]: Failed opening required '/home/octenmed/public_html/contact/contactform.:/usr/lib/php:/usr/local/lib/php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/octenmed/public_html/contact/contactform.php on line 6

All help and advice gratefully recieved.

http://www.octenmedia.co.uk/contact/fba … ertest.php
I see you are on an older version. Try upgrading to build 3008 and see if that helps. If it does not, open a support ticket and send us your .fb file and we will take a closer look at this for ya.
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 407558 Photo


Registered User
36 posts

Cheers Scott. As always the CC support is exemplary.
User 407558 Photo


Registered User
36 posts

Hi Scott/Jo Ann,
I've installed build 3008 and the form works. Brilliant! Thanks for the advice.

Just one further comment - and I don't know if it is me doing something wrong or a bug.

I created a directory named "contact" to hold my contact page, contact form and all of the various files for the contact form. When I use the export to manual server from within WFB it creates a sub directory named "contactform" within my contact directory. To get the form to work I have to move everything out of the newly created "contactform" directory into the "contact" directory and then delete the "contractform" directory. I think this is what Jo Ann was referring to when she suggested I had copied the entire directory rather than the contents. However I simply followed the software instructions.

I'm sure the mistake is probably mine but what do I do to correct it?

Thank you for your help so far, it really is appreciated.

Cheers.
User 103173 Photo


VP of Software Development
0 posts

There is actually a button on the Export dialog "Open in Explorer". If you press that button, it takes you to the folder where the files you need to upload are located. If you just manually grab that folder without using that button, then you will have the issue you described.
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 407558 Photo


Registered User
36 posts

OK now you've lost me Scott. Sorry to be such a nuisance.
Once I have saved the form (contactform.fb) to my hard drive, I export to manual server (File>Export>Manual Server Set up). There's no "open in Folder" button. Where am I going wrong?
User 103173 Photo


VP of Software Development
0 posts

bladerider wrote:
OK now you've lost me Scott. Sorry to be such a nuisance.
Once I have saved the form (contactform.fb) to my hard drive, I export to manual server (File>Export>Manual Server Set up). There's no "open in Folder" button. Where am I going wrong?

Sure there is. ;)

http://www.coffeecup.com/files/images/manual-form_exported-win.png
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 407558 Photo


Registered User
36 posts

Ok I see what you mean BUT the files have already been exported prior to the above dialog box appearing. I don't see how this prevents the creation of the sub directory.

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.