Closed (duplicate)
Project:
Drupal core
Version:
5.2
Component:
upload.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2007 at 03:20 UTC
Updated:
14 Feb 2008 at 09:46 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedAre the permission to the files directory set appropriately?
Comment #2
Ustas commentedHello!
I've got the same problem. I don't remember the version of my Drupal installation, but upload.module file has 1.148 version in its Id tag - it's up to date. So, the problem began from some moment, and I can't find out its reason. Mysterious.
Description:
The first file attaches to the list as usual, but when I try to attach second file it replases the first one. There are no JavaScript errors in FireFox and IE. Opera shows alert screen with such text: "An error occurred:" and then goes HTML-code of access denied page. By the way access privileges on files uploads are granted, there are enough free space on disk and file directory privileges are correct too.
After submit of the form there are no atteched files appear in the list, and no files in files directory.
Platform: Gentoo Linux, apache2 with mod_php5. MySQL. I use Garland theme, but in other themes (even without ajax-style upload) nothing works.
Comment #3
Ustas commentedThere is nothing in
$node->fileswhenupload_save()is called.Comment #4
Anonymous (not verified) commentedIt seems this patch http://cvs.drupal.org/viewcvs/drupal/drupal/modules/upload/upload.module... as caused a regression with the upload function.
Comment #5
Ustas commentedI've made rollback, but nothing happens. In garland theme the headers of fieldsets became not clickable, so I can't even open the upload form.
Comment #6
caprenter commentedThere have been similar issues reported here:
http://drupal.org/node/121467
and here:
http://drupal.org/node/64298
It may be to do with the 'favicon' settings in the theme - I know it sounds really starnge, but it is a really issue!!
If favicon is turned off it seems to interfere with uploads - if your favicon is turned off, try turning it back on and see if that helps.
I spent ages on this myself trying to see what was wrong and then stumbled across the second post, and it fixed it!
Comment #7
Ustas commentedYes, favicon options was turned off, and probably it became the main cause of this problem. I've turned on favicon back in all active themes ('Shortcut icon' option in 'Toggle display' fieldset and 'Use the default shortcut icon' in 'Shortcut icon settings' fieldset) and cleared browser cache, but the problem still remains without any changes. :(
Comment #8
Ustas commentedI've closed and reopened session and after that file uploads begin to work! Thanks a lot, guys! :)
Issue closed as a duplicate of http://drupal.org/node/65153
Comment #9
allanx commentedI use Firefox as my main browser - but use Explore to test stuff. I just tested uploads and discovered this function works in IE but not FFox. Go figure!
Comment #10
allanx commentedIn Ffox it seems everything else works fine - besides an initial loss of the modified css, and all the files in the /files folder.
But not the file upload.
I should mention also that when using FF to Attach a new file, it appears to be uploading then stops, leaving the field blank. But with Explorer its fine!
Comment #11
gmayes commentedHi,
I've been pulling my hair out with this issue, and finally figured out what caused the problem on my setup. I'm running 5.2 on RHEL5 w/ Apache 2.2.3, and at some point in my configuration and installation of modules, uploads/attachments would no longer work and image uploads via IMCE died as well. Strange though it may be, what killed uploads was the Remember_Me module. Once I uninstalled that module, attachments/uploads/IMCE all started working again. Glorious day!
I hope that helps someone else out.
-Geoff
Comment #12
patchak commentedHey man thanks for that comment! I uninstalled the remember me module and the uploads work again! I'll post an issue on the module if it's not already there.
Thanks again