close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Blank Page

Thread began 3/25/2012 11:54 pm by jim286478 | Last modified 3/27/2012 10:34 am by Jason Byrnes | 913 views | 6 replies |

jim286478

Blank Page

I have created a page with an html form on it. Using Form Tool Kit 1.0 I have inserted a captcha and applied server validation to the captcha and a few of the other fields. I then used UE4 to have the form emailed to me. I uploaded the page and all dependent files to my server and when I view it in a browser the page is blank, the error message I get from the browser is "internal server error". However, the page shows up fine if I delete the php scripts WA installs. In other words the html page and form seem to be OK.
I have tried but can not find the problem. I do appreciate some help on this.
I have attached a zip file of the page.
Thanks

Attached Files
submitlink.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

try adding the following code at line 1 to turn error reporting on:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

jim286478

Blank Page

Jason here is the error messages:
Warning: require_once(/webassist/form_validations/wavt_scripts_php.php) [function.require-once]: failed to open stream: No such file or directory in /home3/igwebsco/public_html/submitlink.php on line 4

Fatal error: require_once() [function.require]: Failed opening required '/webassist/form_validations/wavt_scripts_php.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/igwebsco/public_html/submitlink.php on line 4

This means it can't find the file but its uploaded and I check on the server, its correctly positioned in the right folder and it is there! This is weird!

Sign in to reply to this post

Jason ByrnesWebAssist

it's probably the leading slash in the require once location.

the require once location expects a document relative link rather than a site relative link

Sign in to reply to this post

jim286478

I have tried it without the leading slash but nothing. I even change the file location to the main folder and nothing.
Tried this:
<?php require_once("/webassist/form_validations/wavt_scripts_php.php"); ?>
<?php require_once("/webassist/form_validations/wavt_validatedform_php.php"); ?>
and this:
<?php require_once("webassist/form_validations/wavt_scripts_php.php"); ?>
<?php require_once("webassist/form_validations/wavt_validatedform_php.php"); ?>
and this:
<?php require_once("wavt_scripts_php.php"); ?>
<?php require_once("wavt_validatedform_php.php"); ?>

and still it can't find it. What am I doing wrong please?

Sign in to reply to this post

jim286478

OK I got it. Changed it to document root and it working now but the email won't send!

Sign in to reply to this post

Jason ByrnesWebAssist

in the email behavior, you have is set to redirect to the thankyou.html page. Is it redirecting to that page or just reloading?

the answer to this question will determine where to look for the problem.


if it is just reloading it means there is a problem with the validations on the page.

I see that you have3 different validation server behaviors, you should only have one that is used to perform all of the validations.


If it is directing to the thankyou.html page, it means the email is being sent to the SMTP server, but the SMTP server is refusing to relay the message. you will need to double check the email server settings, the from address and the to address to make sure they are correct for your server.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...