close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Getting a warning re:WAVT_Scripts_PHP.php

Thread began 8/07/2009 2:52 pm by iggymak198560 | Last modified 8/19/2009 2:14 pm by iggymak198560 | 3048 views | 9 replies


Getting a warning re:WAVT_Scripts_PHP.php

I'm having difficulty getting it to send mail and then go to the thank you page. I am a PHP neophyte so I'm not sure how it all works, having only a marginal understanding. I tried searching through here but didn't see anything...
It's on a Linux server at Datapipe.

For this site - contact.php, when I hit submit I get this message...

Warning: Cannot modify header information - headers already sent by (output started at /home/sites/ in /home/sites/ on line 68

Here are the lines around 68:

61: if (isset($_SERVER['QUERY_STRING']) && ($_SERVER['QUERY_STRING'] != '')) {
62: if (strpos($thePostURL,"?") !== false) {
63: $thePostURL.= "&" . ($_SERVER['QUERY_STRING']);
64: } else {
65: $thePostURL.= "?" . ($_SERVER['QUERY_STRING']);
66: }
67: }
68: header("Location: ". $thePostURL);
69: exit;
70: }

I tried doing this - changing a line on the contact page as noted in other posts here to if ($_SERVER["REQUEST_METHOD"] == "POST") {, but it didn't help. I have 5 other sites on the same server (I think it's the same, at least) and they all worked after changing that request method line so I'm kind of stymied. None of the others gave a warning, they all just refreshed the contact page.

A programmer said it might have a different IP #... but I'm not sure how that'd affect it.

I think I have to take something out somewhere to let it work, as somewhere it already tried to send it it seems... but I've no idea what or where!

Can someone have a look?


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





Ease of use


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