LPology / Simple-Ajax-Uploader

Javascript file upload plugin with progress bar support. Works in all major browsers, including IE7+, Chrome, Firefox, Safari, and Opera. No dependencies - use it with or without jQuery.
995 stars 267 forks source link

Can't get the given example to work #113

Closed ghost closed 8 years ago

ghost commented 9 years ago

A the title says, I can't get the given example to work (it seems I am not the only one). Here is the server response through debug mode : "[Uploader] Server response:
Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0

Warning: Cannot modify header information - headers already sent in Unknown on line 0
{"success":false,"msg":"Upload directory is not writable"}"1 SimpleAjaxUploader.js:633:13

I hope anyone know a fix/workaround.

LPology commented 8 years ago

The message "Upload directory is not writable" means your upload directory either does not exist, or does not have correct permissions set.