close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

A couple of Errors

Thread began 10/25/2009 7:30 am by Daryl | Last modified 10/25/2009 11:33 am by Office Guy-172461 | 3396 views | 6 replies |

DarylBeta Tester

A couple of Errors

I have been getting a few errors after updating DFP.

  Warning: Invalid argument supplied for foreach() in .../WA_DigitalFilePro/HelperPHP.php on line 316  



  Warning: Cannot modify header information - headers already sent by (output started at ...WA_DigitalFilePro/HelperPHP.php:316) in .../k9_SaD_Insert.php on line 160  



There are no blank spaces following any closing php tags and the form is set to multipart.

Any ideas?

Sign in to reply to this post

Office Guy-172461

Solving the "headers already sent" problem

It's not just blank spaces. Have a look here:
148/

Sign in to reply to this post

DarylBeta Tester

Thanks for the link to the knowledge base.

I have checked again for blank spaces or lines and there aren't any.

I have no idea what this means

  The solution is to eliminate anything that would generate any output that occurs before the call to header().  



It appears to be the insert behaviour that calls the headers and there are three DFP behaviours before it.

Sign in to reply to this post

Office Guy-172461

It means that the header() command must come before any html code that would generate any thing that's sent to the browser. The spaces are the most common because they are easily missed. If you make sure the header() command is on the first line, you should be able to avoid this error.

Sign in to reply to this post

Office Guy-172461

I've updated the article with some more information. Let me know if it is still not clear and I will try to make it clearer.

Sign in to reply to this post

DarylBeta Tester

I moved the insert behaviour above all of the others and this solved the error.

But now I have another problem - but I will make a new Topic

Thanks for your help!!

Sign in to reply to this post

Office Guy-172461

You're welcome. Glad it worked for you.

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