File upload aborted

1,346 views
Skip to first unread message

Matej Briškár

unread,
Mar 8, 2014, 1:39:32 PM3/8/14
to jquery-f...@googlegroups.com
I spent quite a huge amount of time to make this work, but I am not able to do so.
I even used chmod -R 777 on whole www/html directory, but it still fails with an error "File upload aborted".
Can be somebody please be of any help?


Matej Briškár

unread,
Mar 9, 2014, 1:06:09 PM3/9/14
to jquery-f...@googlegroups.com
The log says:
PHP Warning:  move_uploaded_file(/var/www/html/uploader/server/php/files/java.jpg): failed to open stream: Permission denied in /var/www/html/uploader/server/php/UploadHandler.php on line 1050, referer: http://localhost/uploader/index.html
PHP Warning:  move_uploaded_file(): Unable to move '/tmp/phpePXMWx' to '/var/www/html/uploader/server/php/files/java.jpg' in /var/www/html/uploader/server/php/UploadHandler.php on line 1050, referer: http://localhost/uploader/index.html

Shane White

unread,
Mar 12, 2014, 3:57:46 PM3/12/14
to jquery-f...@googlegroups.com
I had this same issue in windows. It was caused by the application not having write permissions to the file. Once I changed the file from "Read only" to "Read and Write" it worked for me. 
Reply all
Reply to author
Forward
0 new messages