Hello,
I'm not sure, where to look for the cause of the problem and so I'm not sure if my problem is an ImageField, a FileField or a server issue.
CCK version: 6.x-2.6
imagefield und filefeld version: 6.x-3.2
permissions for your tmp and files directory: 777
download method (public or private files): public
imagefield configuration: what information do you need? I couldn't find any website with the imagefield configuration, there are only upload configuration and configuration of every single image field
expected results:
To be able to upload a file or an image to a node in an image field or as an attachment.
the unexpected actual results
While uploading a small image (8KB), there is an upload progress bar, which stucks at about the half of the file uploaded and causes some kind of refreshing of the part of the site (the site will not actually be loaded once more, but Safari shows about every second one more loading element of ..., for example 35 of 36, then in the next second 36 of 37 etc.). The only thing I can do is to close the window. The file won't show up on the server or in the node.
I was also trying to upload a file as a normal attachment, not in a field. I thought it would be uploaded, but after the page refreshed, there where no list shown nor any file on the server.
The site moved on Friday to a new server. And we were updating the Drupal installation since then. On Friday we updated the Drupal version to the newest one (from 6.13, I think) and - as far as I know (the updates where made by someone else) - also some modules. I saw that filefield was already in the newest version and imagefield still in 6.x-3.1, maybe it caused the problem?
And todays night we updated many modules, so now they are all at the newest version. It was the first update since about 3-4 months. On the old server there were no problems with uploading files. Also one of the user of the site told me, she managed to upload a small image (through an image field) yesterday, so I persume, it has something to do with the update, which we made, not with the configuration of the server.
I also looked at the php-settings:
upload_max_filesize 2MB
post_max_size 8MB
memory_limit 128MB
But those 2MB is much more than the files I was trying to upload.
Steps to reproduce the problem.
Try to upload an image or a file :)
For me this problem is critical, since the website is going on production at the end of the week. It's already pretty big and full of content, so it's not possible to start over. We have backups from Friday, so it's possible to make the changes back, but I think, it is not the right solution, since we need to update those modules and Drupal (maybe we should have done it in another order?).
I would be really greatful for help.
Joanna
Comments
Comment #1
quicksketchI can't tell what the problem is from your description (even though you were quite thorough). It's very strange for the progress bar to be working but the upload itself not to be saved. I'd suggest checking your error log at admin/reports/dblog.
Comment #2
typoagrafka commentedAs I wrote, the progress bar didn't work correctly, it showed immediately on klicking "Upload" about a half of the progress and than there was this refreshing but no change in the progress status.
Now I changed from the progress bar to this another option (a kind of spinning blue circle) an it goes through but than it shows the error message: "The file in the Bild field was unable to be uploaded."
I just got a message from the user, that she didn't upload any file yesterday but only linked it from another server, so it wasn't quite right, what I wrote about it. It means, it could be a server issue.
The only thing, which I found in the error log of Drupal was:
When I click on the first link it shows:
But the file had the size of only 8KB, so it's not right, what is written in that message.
There are also some information messages about parsed js files, but no error messages to that issue.
Comment #3
typoagrafka commentedI was the server issue: save_mode was on and should have been off.
Comment #4
typoagrafka commented