close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DA Update Single Record then redirect

Thread began 7/16/2012 1:19 pm by Paul | Last modified 7/16/2012 2:00 pm by Paul | 690 views | 2 replies |

PaulBeta Tester

DA Update Single Record then redirect

Using DA to create a single update page in a restricted area.

I've noticed if i include redirect page, for example... (but it could be anything);

php:
$WA_redirectURL = "updated.php";



I get the following error, when i update as a logged in user.

Warning: Cannot modify header information - headers already sent by (output started at /home/house345/public_html/hf1/members/account/index.php:1) in /home/house345/public_html/hf1/members/account/index.php on line 91

If i remove the "updated.php", leaving it empty, theres no error and page updates ok. However, i've lost the redirect functionality.

Incidentally, the error points to line 91, which happens to be;

php:
$WA_redirectURL = "updated.php";



Any ideas on where things are going wrong?

Sign in to reply to this post

Jason ByrnesWebAssist

That error means that there is some sort of output to the page before the header() function used to redirect the page is called.

the error is occurring at line 91, but it is reporting the output that causes the error at line 1 in this section of the error:
output started at /home/house345/public_html/hf1/members/account/index.php:1

Where it is pointing to line 1, that usually happens if the Unicode Signature (BOM) is enabled on the page, it is a PHP bug.


See the following page for details on the error and how to correct it:
showthread.php?t=19285

Near the end, I talk about the BOM bug.

Sign in to reply to this post

PaulBeta Tester

Resolved.

Thanks.

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