close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Upload Error

Thread began 4/14/2010 10:43 pm by windsoarer388279 | Last modified 4/16/2010 11:47 am by Jason Byrnes | 543 views | 3 replies |

windsoarer388279

Upload Error

I'm getting the session_start error in my image upload page. The file and record both get uploaded fine, but when the upload completes the error is on the top of my page. Attached is my file, any help is appreciated.

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home3/aginsign/***/upload_new.php:1) in /home3/aginsign/***/webassist/file_manipulation/helperphp.php on line 58

Attached Files
upload.zip
Sign in to reply to this post

Jason ByrnesWebAssist

change lines 1 - 3:

php:
<?php virtual('/Connections/connAgin.php'); ?>

<?php virtual
("/WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php virtual
("/webassist/file_manipulation/helperphp.php"); ?>



to:

php:
<?php require_once('Connections/connAgin.php'); ?>

<?php 
require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php 
require_once("webassist/file_manipulation/helperphp.php"); ?>





Dreamweaver will use the virtual syntax if you set the "Create Links Relative To" option on the Local Info tab of your site definition to Site. the virtual syntax will cause the headers already sent error. Set that to Document instead so that Dreamweaver will use the require_once syntax.

Sign in to reply to this post

windsoarer388279

Yes that was easy. Just realized that change was made since I reloaded Windows and re-setup my site.

Thank you very much.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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