[Basic] Files upload but no event triggered

74 views
Skip to first unread message

Greg

unread,
May 17, 2013, 10:07:33 AM5/17/13
to jquery-f...@googlegroups.com
Hi,

How can it be that files upload to the server but I get no events at all (neither progress, nor done)? I only set custom filepath in index.php to send as parameter for UploadHandler and thats all!
Please someone help me with this.

Thanks a lot!
Greg

Greg

unread,
May 19, 2013, 5:58:20 PM5/19/13
to jquery-f...@googlegroups.com
Hi,

This particular problem was caused by a seemingly unrelated function that was supposed to create the url string. In debug the string was created successfully but it made the upload malfunction.
Now I use only this:

"http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"].$myFolder;

and I ALMOST get all the time the events. It arrives though sometimes that it misses out on some "done" event and this causes that the file is not written in the DB because my DB writting method is not called.
Any ideas on why this can happen?

Thanks a lot
Greg
Reply all
Reply to author
Forward
0 new messages