vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   I moved attacments from DB to filesystem but they are still being retrieved from DB (https://vborg.vbsupport.ru/showthread.php?t=292213)

pokusek 11-30-2012 11:13 AM

I moved attacments from DB to filesystem but they are still being retrieved from DB
 
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 12:49 PM

Did you rebuild attachments?

pokusek 11-30-2012 12:52 PM

How? There is only an option to rebuild thumbnails AFAIK.

Brandon Sheley 11-30-2012 12:54 PM

Quote:

Originally Posted by pokusek (Post 2386781)
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 01: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?

kh99 11-30-2012 01:28 PM

Quote:

Originally Posted by pokusek (Post 2386830)
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.


All times are GMT. The time now is 07:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01643 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete