I'm quite stuck with this problem and searched around on this forum plus the internet trying to figure out a way to fix this. However so far no such luck.
Right now I own a forum with 1.2M attachments (1.1M uniques according to attachment management). But I want to start generating thumbnails of the old attachments. For years I upheld the whole txt link attachment system, but I have to go with the ages and change this out to Thumbnails. I enabled the thumbnail option and it works great with the new attachments, no problems with that what so ever.
Except now I want to apply this same thing to the other 1M attachments where this hasn't been done with (yes I'm fully aware this will take a long time).
But when I go to Maintenance -> Update Counters -> Rebuild Attachment Thumbnails
All I get is the following error:
Processing: Attachment : 19 (jpeg)Error: Attachment Missing
Processing: Attachment : 20 (jpg)Error: Attachment Missing
Processing: Attachment : 21 (jpg)Error: Attachment Missing
Processing: Attachment : 22 (jpg)Error: Attachment Missing
Processing: Attachment : 23 (jpg)Error: Attachment Missing
Processing: Attachment : 24 (jpeg)Error: Attachment Missing
Processing: Attachment : 25 (png)Error: Attachment Missing
Processing: Attachment : 26 (jpeg)Error: Attachment Missing
Processing: Attachment : 27 (jpeg)Error: Attachment Missing
Processing: Attachment : 28 (png)Error: Attachment Missing
Processing: Attachment : 29 (jpeg)Error: Attachment Missing
Processing: Attachment : 30 (png)Error: Attachment Missing
Processing: Attachment : 31 (jpeg)Error: Attachment Missing
Processing: Attachment : 44 (jpg)Error: Attachment Missing
etc etc etc...
Now at first I thought this would be, hey old attachments, they might not be there anymore. So no problem. Yet I let this run till 300,000 and it simply kept on giving the same error response back. But just with much higher numbers. Even though I tested several of these Attachment ID's (might be stupid thing to do) to check or they where indeed there, and they are.
Now I did the following:
- Checked or PHP Safe Mode was On, it is not by default and it is not enabled for my site either, double checked the php.ini
- Checked the PHP Safe Mode upload settings (tried with it set on Yes and set on No)
- Checked or the tmp directory was set correctly. It was and its possible to write to it through vbulletin.
- Checked by debugging the config.php file or the allocation of my Attachment folder was correct. It was, saved it in any case.
- Attachment storage location (on Harddrive) shows the correct attachment folder as well
- New attachments and thumbnails upload to this directory fine, no problems at all
- Checked to be certain or all the attachments still work, even though a text link, all the older attachments posted years before the server move, still function properly. (For all forum users)
Added information:
- I did recently moved the forum from another box, although the transfer went without a problem, same for the Database import and attachment transfer (1TB worth).
So does anyone have any idea's why the vBulletin won't allow me to create proper thumbnails from the attachments? Any kind of input would be very welcome.
Comment