Im reposting from http://drupal.org/node/1293786#comment-5207942 because I think it is a bug, and it makes the module unusable. I will continue to investigate it a bit further, but without some suggestions for diagnostic I am a bit limited in what I can do.

Comments

Axl’s picture

I can confirm this error with a drupal 7.x minimal installation.

The error is caused by the standard non-rewrite in paths.
To fix this, the following change should be implemented:

ocupload/static/plugin.js, line 31:

-            upload_url               : Drupal.settings.basePath + 'ocupload/upload',
+            upload_url               : Drupal.settings.basePath + '?q=ocupload/upload',

This should work with rewrited and non-rewrited urls.

Best, Axl

isour 2.0’s picture

don't work for me

access_log:
[01/May/2012:14:48:16 +0400] "POST /ocupload/upload HTTP/1.1" 302 207 "-" "Shockwave Flash" 11423 0

drupal log:
404 sites/all/libraries/swfupload/Flash/undefined

xandeadx’s picture

Status: Active » Closed (fixed)