View Full Version : I moved attacments from DB to filesystem but they are still being retrieved from DB
pokusek
11-30-2012, 12:13 PM
Any idea what might be wrong? Images were saved into my folder but their path on the forum still looks like this: "http://domain.com/attachment.php?attachmentid=4198&d=148567094". I expect something like domain.com/path/blabla.jpg.
I tried updating thread unformation etc.
Any ideas?
betterthanyours
11-30-2012, 01:49 PM
Did you rebuild attachments?
pokusek
11-30-2012, 01:52 PM
How? There is only an option to rebuild thumbnails AFAIK.
Brandon Sheley
11-30-2012, 01:54 PM
Any idea what might be wrong? Images were saved into my folder but their path on the forum still looks like this: "http://domain.com/attachment.php?attachmentid=4198&d=148567094". I expect something like domain.com/path/blabla.jpg.
I tried updating thread unformation etc.
Any ideas?
Can you link us to an example post with attachments?
pokusek
11-30-2012, 02:11 PM
Well, I could, but I don't really want to share my forum URL :D
I just backed up my DB and it has just few megabytes - it had about 100 MB when images were being stored in the database.
So I guess that vBulletin is retrieving the images from files but they are still being rendered by a PHP script, right?
So I guess that vBulletin is retrieving the images from files but they are still being rendered by a PHP script, right?
That's right. There are still some things that have to be handled by a php script, like permission checks and the "lighbox" display.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.