开发者

Flash/uploadify filereference.upload not working, unknown reason

开发者 https://www.devze.com 2022-12-18 02:30 出处:网络
I\'ve been using the uploadify jquery for a long time - this tool has been working on severa开发者_开发技巧l different servers for quite a while. Recently, on rackspace cloud sites accounts, the uploa

I've been using the uploadify jquery for a long time - this tool has been working on severa开发者_开发技巧l different servers for quite a while. Recently, on rackspace cloud sites accounts, the uploads stopped working.

There's been no change to our code and our code works perfectly on other servers. I'm having trouble finding the issue, here's what happens:

  • The filereference.upload is called, we provide all of the proper info - url, filename, etc
  • The URL is http, and is correct. When visited through a web browser it works
  • All debugging and tracing show that our code is running correctly
  • The DataEvent.UPLOAD_COMPLETE_DATA evens never trigger
  • The ProgressEvent.PROGRESS events never trigger.
  • Server access logs and application traffic logs never show any requests coming to the upload script.

Based on all of this info, it seems that:

  • Our script works fine, file.upload is called properly
  • Event.OPEN is fired.
  • Traffic never reaches the server
  • No io/http errors are called.
  • file.upload does return false, but it also returns false on servers that the upload works, and the complete events are called.

We're not using any firewalls or proxies on our end, and these tools work perfectly on other servers. But, these sites that are on the rackspace cloud sites all share this problem. However, a site that was in development a few months ago worked just fine on the same rackspace ckoud sites account. Trying the flash build from that version still won't work now.

How can I go about finding out what's breaking between the file.upload and the reaching the server?


Couple of questions:

What browser are you using (different debug tools for different browsers) Is there any authentication difference between the dev server and the production server?


I don't know if you have answer to this yet or not, but I had the same issue and I had to ask Rackspace to swtich my App to Classic Mode (.net website)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号