Hello I have followed the installation instructions and it works all the way up to the point where it is uploading, where it just sits and never gets the files uploaded. I have attached a screenshot demonstrating the problem I am having. I checked permissions for the directory and everything is good to go. Filefield still uploads properly but I would like to be able to upload lots of files at once. I am using CKeditor as you can see. Any ideas if it could be a conflicting module or anything else?

CommentFileSizeAuthor
#8 UploadBug.patch1.25 KBAxl
Capture.PNG30.81 KBschnelle02
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xandeadx’s picture

check watchdog and error.log

schnelle02’s picture

[Wed Sep 28 11:58:33 2011] [error] [client 192.168.100.2] File does not exist: /var/www/ocupload
[Wed Sep 28 11:59:39 2011] [error] [client 192.168.100.2] File does not exist: /var/www/ocupload
[Wed Sep 28 12:00:18 2011] [error] [client 192.168.100.2] File does not exist: /var/www/ocupload
[Wed Sep 28 12:00:18 2011] [error] [client 192.168.100.2] File does not exist: /var/www/ocupload
[Wed Sep 28 12:00:18 2011] [error] [client 192.168.100.2] File does not exist: /var/www/ocupload

It appears to be looking for the ocupload module in the wrong place?

xandeadx’s picture

Maybe your server is configured incorrectly. Path "ocupload" should be execute Drupal index.php.

schnelle02’s picture

hmm strange... the path to index.php is /var/www/index.php

schnelle02’s picture

This seems to be the line of code that is causing the error.


          upload_url             : Drupal.settings.basePath + 'ocupload/upload',

There is no file or directory at '/ocupload/upload' or even '/ocupload' for that matter. It seems like the upload_url should be '/sites/default/files', am I correct?. Any ideas?

xandeadx’s picture

There is no file or directory at '/ocupload/upload' or even '/ocupload' for that matter.

it is not directory, it is drupal path

It seems like the upload_url should be '/sites/default/files', am I correct?

no

Pilot’s picture

I can corroborate the same experience, but I am not showing any errors in any of my logs... The uploads just hang per schnelle02's png above.

However, at first, it seemed to be working *a little* - meaning the bar showed darkening to about 30% and hung, this on a 28kb gif. When I tried a second download, this reverted to 0% and the second similarly sized gif both then hung at 0%.

I also have ckeditor through the ckeditor module. I also have ckfinder enabled (but not working, probably for other reasons). I am ssl only on this site. Will look further, but I am stumped...

hmmm.

-----------------------------
Followup:

I don't find anything. I have now set my php logs up as well, and nothing their either. I only have minimal modules on the site (securelogin, and assorted relating to the editor/filtor). My php is running fcgid/worker on Apache with minimal modules their too. Not sure what else I can add to this other than Im running on Drupal 7.9 with PHP 5.2.17 with few modules there either. I am affraid I only have a superficial understanding of how PHP works... and I know I can use the filemanager system to upload content.

If anyone can suggest further diagnostics I might try, I will give it a go.

Axl’s picture

Component: Miscellaneous » Code
Category: support » bug
Status: Active » Needs review
FileSize
1.25 KB

Same as:
http://drupal.org/node/1333100

See attached patch

Best, Axl

merro’s picture

Hello,

I have clients having the same issue, it works fine for me on Snow Leopard in Firefox and Safari.

The clients are on Lion using Safari and get the never ending upload issue.

I've applied the patch with no result, i'm wondering if the other people with this issue are also on OSX Lion?

if so it could point to Lion having problems with javascript rather than the module itself.

I'm getting my clients to update their version of Lion and try Firefox as well, i'll see how that goes..

Turns out it was a proxy related issue

funtik44’s picture

2 Axl

For IE with PROXY your patch is work well, but for Chrome and FireFox with PROXY it's not work!

xandeadx’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.