Host unlimited blogs, sites, forums for $4.95 only with this host

Drupal Hosts : Upload module broken out of the box

Hostgator web hosting is our best host for drupal. Sign up with our recommended host for drupal here

This is a drupal question asked by jasonk1230 on 03 July 2009

I just installed Drupal in a subdomain on my server (example.com/drupal). After enabling only the Upload module (in addition to the other default-on modules), I went to create content and attempted to upload an attachment. That’s when the weird behavior starts:

* When I attempt to upload a file that is well within the site’s size limit (say, 10 kb?), the site appears to upload the file (the loading bar appears), but then it simply reverts back to the blank Browse box without showing the uploaded file. There is no error message and nothing is uploaded to the tmp directory or the files folder.

Because I got no error message, I tried to see what happened when I was in a situation that I should get one.

* When I attempt to upload a file larger than the site’s limit (say, 1 mb), I get an error that reads “Validation error.”
* When I attempt to upload a file of a prohibited extension, I have the same problem as with a file of the right extenstion. The site appears to upload the file, then reverts back to the empty Browse box without an error.

I’ve checked the file directory permissions; they’re all correct. I also used Firebug to check the network traffic. The file seems to be sent just fine, but the response that comes back is always the same:

More info at this drupal node or sign up with the popular choice for drupal hosting

This entry was posted in Drupal Bookmark this post and come back later for the best web hosting coupons.

This web hosting blog is proudly hosted with reliable Hostgator webhosting for only one cents through this hostgator coupon. If you're new here, you may want to subscribe to this web hosting RSS feed

-->