close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problem with file upload

Thread began 7/12/2012 6:30 am by xxpdmxxblood438284 | Last modified 7/12/2012 1:25 pm by Jason Byrnes | 565 views | 3 replies |

xxpdmxxblood438284

Problem with file upload

I'm having a problem with File Upload.

Errors:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\attelier\admin\crud\galeria\galeria_Insert.php:5) in C:\xampp\htdocs\attelier\webassist\file_manipulation\helperphp.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\attelier\admin\crud\galeria\galeria_Insert.php:5) in C:\xampp\htdocs\attelier\admin\crud\galeria\galeria_Insert.php on line 57


POST:

array(6) {
["galeria_nome"]=>
string(0) ""
["galeria_id_noticia"]=>
string(0) ""
["galeria_noticia"]=>
string(0) ""
["Insert_x"]=>
string(2) "64"
["Insert_y"]=>
string(2) "15"
["WADAInsertRecordID"]=>
string(0) ""
}

FILES:

array(1) {
["galeria_foto"]=>
array(5) {
["name"]=>
string(11) "foto1-g.jpg"
["type"]=>
string(10) "image/jpeg"
["tmp_name"]=>
string(24) "C:\xampp\tmp\php89C0.tmp"
["error"]=>
int(0)
["size"]=>
int(35652)
}
}


I have another insert that works fine, but this I do not know what is happening.

Any ideas how i can fix this?

Thanks

Attached Files
galeria_Insert.zip
helperphp.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the error is happening because of a blank space after the closing php tag on line 4:
"?> "

remove the blank space at the end of line 4:
"?>"

Sign in to reply to this post

xxpdmxxblood438284

another problem

The error was resolved.

Another problem that i have on this file is when i upload a image. No file is saved on the upload folder.

Sign in to reply to this post

Jason ByrnesWebAssist

tp help troubleshoot, go to the bindings panel and expand the Wa Uploaded Files Global Status, add the Debug info binding to the page, and report the results after trying to upload.

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