close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

"Go to page" function not engaging

Thread begun 12/17/2009 5:13 am by MBrem | Last modified 12/17/2009 1:08 pm by MBrem | 2782 views | 7 replies |

MBrem

"Go to page" function not engaging

Hi,
Using UE to send a form submission acknowledgement. The form posts to itself. The Go-to action is specified in the UE. However, when the form is submitted the response e-mail IS sent but the page does not redirect to the go-to "thank you" page.



Thanks,
Mark

Sign in to reply to this post

MBrem

Resolved

This issue was resolved by moving the UE php code above the Validation TK php code on the page.

Sign in to reply to this post

Jason ByrnesWebAssist

By moving the UE code above the validation toolkit code, the email message will always be sent regardless of whether validation passes or fails. it may have fixed the redirect issue, but I dont think it is the "correct" fix, since it basically nullifies the validation.

I would think that there was an error occurring on the page causing the header() function not to work. Probably a blank space or line between php code blocks.

Set the page back to having the UE code after the validation toolkit code and try again.

If the redirect is still not working, try adding the following to line 1, this will turn error reporting to see if a php error is causing the issue:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



if there is an error, report back the text of the error and send a copy of your page.

Sign in to reply to this post

MBrem

Error persists - file and code attached

Hi Jason,

I did as you suggested and received the following error message upon submit:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache2/htdocs/AboutColoradoSafety/OnsiteTraining.php:5) in /usr/local/apache2/htdocs/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php on line 3

-----

File attached.

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

Jason ByrnesWebAssist

change line 5 and 6:

php:
<?php virtual("/WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>

<?php virtual
("/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>





to:

php:
<?php require_once("../WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>

<?php 
require_once("../WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
Sign in to reply to this post

MBrem

Fantastic. That did the trick. I'm being drug, kicking and screaming into understanding PHP. ;-)

Sign in to reply to this post

Jason ByrnesWebAssist

Dreamweaver will use the virtual function if you set the Option in your site definition on the Local Info tab "Create links relive to:" to Site. If you chose "Document" instead, it will use the require once function.

Sign in to reply to this post

MBrem

Good to know. Thanks for the insight.

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...