close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Header may not contain more than a single header

Thread began 6/25/2012 12:29 pm by Jon Cunningham | Last modified 6/25/2012 2:11 pm by Jason Byrnes | 2350 views | 3 replies |

Jon CunninghamBeta Tester

Header may not contain more than a single header

Hi Guys,

I have swapped over to Databridge and on the whole the experience has been ok all but for a few issues.

Background to issue:

Security assist pages have been created.

Ran data assist from Databridge to create insert / update / detail pages .

During wizard I chose file for 8 inputs.

After creation I changed the record set Variable run time value to the $_SESSION["SecurityAssist_TraineeID"]

so when a user logs in, it logs into their account. This works fine.

the problem I'm getting is when you use the file filed to upload an image, on submit I get the following error

Warning: Header may not contain more than a single header, new line detected. in C:\xampp\htdocs\xxx\xxx\cwi_update.php on line 258

I would appreciate any help with this.

I have attached a text file of my page code which is generated as is all but for adding security and Variable run time value.

Kind regards

Jonathon

Attached Files
cwi_update.txt
Sign in to reply to this post

Jason ByrnesWebAssist

I think this is a problem with the redirtect.

the recorect is trying to pass a page number to the detail page which is not needed.


change line 227:

php:
$WA_redirectURL = "cwi_detail.php?TraineeID=".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"")  ."".(isset($_GET["pageNum_WADAtrainee"])?"&pageNum_WADAtrainee=".intval($_GET["pageNum_WADAtrainee"]):"")  ."";




to:

php:
$WA_redirectURL = "cwi_detail.php?TraineeID=".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"")  ."";
Sign in to reply to this post

Jon CunninghamBeta Tester

Hi Jason,

This did not work.

I get the same error message:

Warning: Header may not contain more than a single header, new line detected. in C:\xampp\htdocs\boab\academy\cwi_update.php on line 258

Kind regards

Jonathon

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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