Closed (fixed)
Project:
Drupal core
Version:
4.7.0
Component:
upload.module
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 May 2006 at 13:59 UTC
Updated:
17 Aug 2006 at 18:44 UTC
Jump to comment: Most recent file
If attachments are added to the node using the 'Attach' button they will be lost after then node is saved and then viewed.
The only way to add an attachment is to add a single file and then save the node, avoiding the use of the 'Attach' button completely. Repeat for each attachment.
Users adding files with the 'Attach' button are going to loose everything and have to repeat the process over and over until they work out it's not gonna work. Frustrating.
This error occurs on a fresh 4.7.0 install, and on my 4.6->4.7 upgraded site.
Using FireFox 1.5.0.3 as the browser (incase it's JavaScript related).
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | upload.module_0.png | 81.35 KB | mbchandar |
| #9 | upload.module.png | 81.35 KB | mbchandar |
Comments
Comment #1
killes@www.drop.org commentedI am using a similar version of FF and cannot reproduce it. Maybe a server issue? Downgrading.
Comment #2
buddaI'm not sure (without delving deeper) what the difference is between using the 'Attach' button and the node 'Submit' button as far as uploading files goes.
It's as if the ajax is not actually uploading the file to the server, yet no JavaScript errors occur.
The server setup is a pretty standard LAMP configuration - Apache2.
I've ruled out file permissions because saving the node works fine (as mentioned in the original issue post).
Comment #3
edgauthier commentedFirefox 1.5.0.3 and 4.7RC4 - I'm noticing the same problem.
Using the attach button shows the progress bar and appears to upload the file. When submitting the node, the attachment is gone.
If I don't press the attach button and just submit, the file is uploaded and works fine.
Comment #4
DaveNotik commentedUsing 4.7.0, choosing Attach successfully uploads the file and adds it to the list. But upon clicking Preview or Submit, the file is lost and does not appear in the list. Checking my /files/ directory on the server reveals that the file is indeed not physically present.
I noticed this issue, and tried Submit without Attach, and the file uploaded and stuck successfully.
My client had called with this issue ("I can't upload our newsletter!"), same for me on repeated attempts (Firefox).
I'd say this is critical. Upgrading.
Comment #5
mbchandar commentedhi,
i checked with the latest version of drupal code from cvs.
it happened for me like this.
1. i browsed the files and selected and then attached.
2. if i pressed preview button, that time it is not saved.
3. only after clicking on submit button, it saved to the files folder.
Comment #6
buddambchandar - what web browser are you using? if you don't say, and the bug occurs for many others, then it's not minor at all!
Comment #7
mbchandar commentedhi,
i use firefox 1.5.0.2 under Fedora Core 5.
Comment #8
buddambchandar: Could you please try using the latest FireFox update, as mentioned in the original bug report.
For the record, I was using a MS Windows XP machine with FireFox.
Comment #9
mbchandar commentedhi budda,
i used the latest version of drupal from cvs and firefox 1.5.0.3 in fedora core 5.
following is the process what i did,
1. create content -> attached 3 files as per your description.
2. clicked submit button and then it saved.
3. now i am able to view that node with three files
Comment #10
mbchandar commentedhi budda,
i used the latest version of drupal from cvs and firefox 1.5.0.3 in fedora core 5.
following is the process what i did,
1. create content -> attached 3 files as per your description.
2. clicked submit button and then it saved.
3. now i am able to view that node with three files
also check out the screenshot i attached
Comment #11
buddaThis bug is against 4.7 of Drupl, rather than CVS - not sure if that will make a difference, but you never know.
Maybe it's Windows FireFox build related? Anyone with a Mac & FF 1.5.0.3 care to comment?
Comment #12
crashpoint commentedI installed drupal on Suse linux 9.1 and am having Mozilla Firefox 1.5.0.1. The error is replicated in this configuration also.
Comment #13
crashpoint commentedI followed the above method of not using the attach button at all and that seemed to upload the attachment. But when I hover over the link of the attached file when I submit it the path shown is relative to the root of the site
for eg.
Suppose the site name is http://www.examplesite.com/drupal
And drupal has been unzipeed in /var/home/drupal
if I attach a file /var/home/drupal/xyz.pdf through the method described above it is attached but on moving over the link the path shown
http://www.examplesite.com/drupal/var/home/drupal/xyz.pdf
how should i go about solving this ? thanks in advance
Comment #14
mbchandar commentedhi Crashpoint,
I tried the same way how u tried. still i am not able to replicate any error. i am using Fedora Core 5, firefox 1.5.0.3, apache 2, php 5.
still it works fine.
Comment #15
kilolima commentedI have the same problem in FF 1.08 and Konqueror 3.52.-0.1 on Fedora Core 4. Can't attach any files at all and feeling pretty dumb.
Comment #16
lukanova commentedSame here, attaching files doesn't work at all. Why is this bug closed, while there was no solution posted? Using firefox 1.5.0.4 (on Debian Linux) and fresh install of Drupal 4.7.3, 2006-08-02. The file does not upload at all and does not appear in the list.
Comment #17
killes@www.drop.org commentedto repeat myself: It works for me. Check that your PHP/Apache combo allows uploads at all and that your file isn't too big.
Comment #18
lukanova commentedyes,
i appologise. being (a bit) rude quickly proves you wrong. it works perfectly, here too, with correct apache/php settings (had to turn on file uploads).