When the jquery update is enabled, no content types can upload files. There is no JS error in Firebug. I've seen http://drupal.org/node/141262 & it doesn't appear to be a devel issue. The problem was first noticed without devel turned on. During the debugging process, I enabled devel, disabled it, upgraded it, then repeated. No change. I tried the drupal.js hack, mentioned in the noted post with no luck.

So it appears to attach the file to the node ok, but when the node is submitted, the attachment disappears.

I've since upgraded jquery update from 5.x-1.0 to the dev version with no change. This problem occurs for both standard Drupal content types and CCK ones.

The only way I can get a file to upload is to roll back to the old jquery & disable jquery_update. On one site I really thought it worked for one content type and the jq update, but when I went back to confirm it, I couldn't get it to work again.

And to be clear, it isn't a file permissions problem - since there are no errors in the drupal or apache logs and rolling back to old jquery does work.

Any ideas? Thanks.

Comments

scafmac’s picture

I may have typed too soon. I can no longer get the upload to work with jquery_update disabled... Perhaps the problem is unrelated to jquery update - I'll close this if I find that to be the case... More to come.

scafmac’s picture

Status: Active » Closed (fixed)

Turned out to be a problem with temp directory access. The web host is running php as a cgi instead of the traditional LAMP configuration - anyhow I needed to create a tmp folder in the files directory and then the upload worked.