close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

$WA_redirectURL =

Thread began 1/23/2011 8:14 pm by davidp420108 | Last modified 4/08/2016 2:34 pm by Ray Borduin | 1525 views | 9 replies |

davidp420108

$WA_redirectURL =

Is this the place that tells the submitted form where to go? I have changed it to a different url and it doesn't seem to matter. it still goes to the one that was created by WA.

in this case it goes to a detail page created by DA, but i would like to reroute it.

Thanks

David

Sign in to reply to this post

davidp420108

seemed to be a cache thing. it works now. what a wasste of time that one was

thanks

Sign in to reply to this post

mleonard321976

How did you solve this?

Can you say how you solved this problem?

No matter what I do. I cannot get the page to redirect to a new page. It doesn't move from the current page.

Sign in to reply to this post

Jason ByrnesWebAssist

If the redirect is not working, it could be a php error occurring preventing the header function from redirecting.

Add the following at link one of your page to turn error reporting on:

php:
<?php

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



be careful not to leave any blank space or blank lines between this code and the existing code on the page or you will trigger other errors. report back any errors you see and a copy of the page in a zip archive so we can examine the issue,

Sign in to reply to this post

mleonard321976

tried that

Hi, thanks for replying..
I added the error reporting section but got no errors..

My main problem is that that page doesn't go aywhere when the form is submitted.

I tried changed header("Location: ".$WA_redirectURL); to header("Location: "."page.php"); but it give me an error, says headers already sent.

Sign in to reply to this post

Jason ByrnesWebAssist

Send a copy of your page please in a zip archive.

Sign in to reply to this post

Yvonne

Redirect not working either.

Originally Said By: Jason Byrnes
  If the redirect is not working, it could be a php error occurring preventing the header function from redirecting.

Add the following at link one of your page to turn error reporting on:
php:
<?php

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


be careful not to leave any blank space or blank lines between this code and the existing code on the page or you will trigger other errors. report back any errors you see and a copy of the page in a zip archive so we can examine the issue,  

+

I added the error report code but didn't get an error either. After the form submits is stays on the page. It does add the info the db.

Sign in to reply to this post

Ray BorduinWebAssist

It could be a blank line in one of the include files. I'd need FTP access to debug it fully.

Sign in to reply to this post

Yvonne

Credentials

See Private area

Sign in to reply to this post

Yvonne

Resolution

In the Universal Email server behavior I changed the redirect there instead of in the Insert Record Behavior. It worked on my other page /capture-rep-page.php

Sign in to reply to this post
loading

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