vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   ? 2 instances on the same server (https://vborg.vbsupport.ru/showthread.php?t=285985)

b3zra1y 07-27-2012 01:40 AM

? 2 instances on the same server
 
hey people -
I'm running my live site (at Arvixe) from a directory called 'forums'.

I need a staging environment where i can test things and restore DB backups to to make sure repeatable processes are in place.
So... I created a directory called 'Staging' and also a staging DB.

Can i assume that... if i have vBulletin running out of 2 directories... and each is pointing to its own database... that the "wires won't get crossed" ?
For some CMS's I know there are architectural things to keep in mind to make sure one site doesn't mess up another.

But I'm not sure how stringent vBulletin is.
Can you help me out ?
I need to make sure I don't flub stuff up.

Lynne 07-27-2012 03:08 AM

I have a setup like that. In the config.php file, make sure you set a unique cookie prefix for each forum. And, if you use xcache, make sure you have a unique prefix set for that also. And, of course, if attachments/images are stored in the file system (database is the default), then you make sure to copy those over to their own directory also.

b3zra1y 07-31-2012 03:20 AM

Thanks Lynne.
So.... I should know the answer to this.
But - where do I see the location of images on my vBulletin installation (either in the DB or on disk ?)

Macsee 07-31-2012 04:37 PM

Are your images stored in the file system? If not then you don't need to bother with copying them over, they are in the attachment tables in the database and would get copied when you copy the database.

You can check whether it's file system or db storage: AdminCP > Attachments > Attachments Storage Type

As far as images are concerned, they'll all be in forums/images and the sub folders in there.


All times are GMT. The time now is 03:52 PM.

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.00930 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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