close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

ERROR: headers already sent

Thread began 9/03/2009 12:05 am by peter383096 | Last modified 9/09/2009 6:21 am by peter383096 | 9098 views | 21 replies

peter383096

  line 3:
ini_set('display_errors',on);

should be:
ini_set('display_errors','on');  


I have made this change.

  Line 5 -7 dont look correct either:
<?php require_once("file:///website/fuel09-Manager/WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once('file:///website/fuel09-Manager/Connections/FuelManagement.php'); ?>
<?php require_once("file:///website/fuel09-Manager/WA_DigitalFilePro/HelperPHP.php"); ?>


they should not have a file reference, it should be a relative path the included files:
<?php require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once('Connections/FuelManagement.php'); ?>
<?php require_once("WA_DigitalFilePro/HelperPHP.php"); ?>



The only time I have seen the require-once lines use a file reference is if you save as outside of the website and when Dreamweaver asks to update links you answer yes.  


yep sorry - the links were broken when I did a save as in order to zip the file... I must have clicked yes... it is not like that on the live site, so this is not the problem.

I still get the below error code

  Notice: Use of undefined constant on - assumed 'on' in /usr/home/fuelcd/www/htdocs/fuel09-Manager/jobs_Insert.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/home/fuelcd/www/htdocs/fuel09-Manager/jobs_Insert.php:3) in /usr/home/fuelcd/www/htdocs/fuel09-Manager/WA_DigitalFilePro/HelperPHP.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/fuelcd/www/htdocs/fuel09-Manager/jobs_Insert.php:3) in /usr/home/fuelcd/www/htdocs/fuel09-Manager/jobs_Insert.php on line 153  



Here is a link to the new page with the changes ou requested - attachment.php?attachmentid=343&stc=1&d=1252017607

Thanks for your time.
Pete

Attached Files
jobs_Insert-rev.php.zip

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