close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

My page does not redirect to the GOTO page

Thread begun 4/13/2014 10:43 am by dsnoyes418343 | Last modified 4/15/2014 8:22 am by Jason Byrnes | 955 views | 3 replies |

dsnoyes418343

My page does not redirect to the GOTO page

Hello,
I've been using Universal Email with great success for a few years now - but recently I set up a new form for a boarding kennel online reservation form and the visitor is not being redirected to the thankyou.html page as set up in the email message for the Go To Page (I am using Button: Submit pressed).

Here is the page with my form: http://www.moonlitekennels.com/ReservationForm.php

When the form is completed, the page just seems to reload. I need the visitor to be redirected to http://www.moonlitekennels.com/thankyou.html so they know the message went through.

The form data is emailed to me perfectly fine - it's just the redirect that isn't working. As I said, I've done dozens of these with success, but for some reason, this one just isn't working like all the rest!

Any assistance is greatly appreciated!
Sue

Sign in to reply to this post

Jason ByrnesWebAssist

there is probably an error occuring that is causing the reddirect to fail.

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

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



test the page again and report any errors that are displayed, also, attach a copy of the ReservationForm.php file to your reply.

Sign in to reply to this post

dsnoyes418343

Error Reporting and File Attached

I turned error reporting on and see this at the top of the page right away:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/webassist/form_validations/wavt_validatedform_php.php on line 3

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/webassist/form_validations/wavt_validatedform_php.php on line 3

I got this after submitting the form:


Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/webassist/form_validations/wavt_validatedform_php.php on line 3

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/ReservationForm.php on line 77

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/ReservationForm.php on line 77

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/webassist/email/mail_php.php on line 285

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/webassist/email/mail_php.php on line 285

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/ReservationForm.php on line 107

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/ReservationForm.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/moonlite/public_html/ReservationForm.php:1) in /home/moonlite/public_html/ReservationForm.php on line 109

Thanks in advance for your help!
Sue

Attached Files
ReservationForm.php
Sign in to reply to this post

Jason ByrnesWebAssist

This error is happening because the BOM signature is enabled for the page.

Go to Modify -> Page Properties

in the Title / Encoding section, uncheck the Include Unicode Signature (BOM) option.


NOTE: when you added the error reporting code block, you also included a blank line between php blocks. you will need to also delete the blank line at line 5.

see this post for more details on the headers already sent error:
http://www.webassist.com/forums/posts.php?id=19285

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