Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #21  
Old 02-18-2008, 11:00 PM
NashChristian's Avatar
NashChristian NashChristian is offline
 
Join Date: Jul 2007
Location: Nashville, TN
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne,

I backed up the live site database through my vB AdminCP>Maintenance>Database Backup. Is that ok?

I'm on hold with my ISP right now. They're phpMyAdmin control panel is not allowing me to import a file over 8mb to restore the database, and my file is 13 MB! So they are having to import it via the SSH option for me, as I don't have SSH permissions on my account.

I need to find a new host for this site. 1&1 only allows a max database size of 100MB. They will allow me multiple databases, but their max. file size is still 100MB per data base, which is not going to be enough.

I've heard that SiteGround.com has awesome prices for forum sites, so I've been planning to look into making the switch once my site got up and running. I was just trying to hold off on getting another monthly expense, since I already had the shared hosting package through 1&1.

I was thinking that without the data, I would still get my site looking like the day I purchased it from vB, just without content. I was forgetting that vB uses the database to store a lot of settings and internal data besides just the threads and posts.

So I have to run the upgrade script after this database gets restored? I wasn't anticipating this step. What will the upgrade script do in this instance?

I'm also curious, if later on, I want to update the data in my TEST site, how do I OVERRIGHT the data that I'm currently importing into the test database tables?

Also, how do I know which settings I change are stored in the database? So basically, if you make changes on your test site that are stored in the database, you have to go in and manually make the same changes again to your live site, since there is no way of automating this process once you like the changes, is that correct?

So do you just use this for modifying templates and installing mods? If I go in and edit phrases and things like that, a test site really won't help much will it?

I'm a little confused. I was hoping that a test site would be as simple as testing all changes and functions, then once you work the bugs out, upload it to the new site. It seems that there is a bit more to it than that. Can you give me an idea of what you realisitically use it for, and what types of changes are more a pain than their worth in a test environment?

Thanks a bunch!
Jeff

--------------- Added [DATE]1203412348[/DATE] at [TIME]1203412348[/TIME] ---------------

It's been a long day, but I think that I've got this all worked out now. (Thanks to all your help!!!)

After I got my database restored to the new test database, and the config file setup correctly, the two sites (live and test) now seem to be operating independantly.

Once this was done correctly, I was able to reinstate my .htaccess password protection on my test site, without it affecting my live site anymore.

I still have a couple of outstanding questions which I would like to understand, if anyone would be so kind as to answer:

First I did not run the upgrade.php, and I want to ensure that is OK. The reason I didn't run it, is because I am not wanting to modify my site version prior to 3.7 going gold. I'm simply wanting to setup a test site at the moment for any mods/hacks. Did this need to be run for some reason, even without actually upgrading to a newer version of vB?

Am I correct in thinking that any settings which I change, or hacks that I implement are stored in the DATABASE except for the templates for each style? Or maybe the templates are too, but they can be downloaded and then imported into my live site?

I'm confused about what changes I should try to make on my test site, and what I shouldn't bother trying to do because I will still have to go manually make the same changes on my live site afterwards. Can someone please explain this to me? What changes are worth making in a test environment?

Initially I thought that I could test ALL changes, and then simply FTP overwright my live site with my test site after I work out all the bugs. This seems to NOT be the case though, for two reasons: First with an online test site some of the pathing would be different. Surely I could try to minimize this, but still SOME would be different. This may be avoidable with an OFFLINE/LOCAL test environment, if the .htaccess file will allow ALL site variables to remain the same, however there still is another problem: any settings or changes stored in the database will not upload along with the test site when I overwright my live site. I don't see any way around this, since there is no way for your test database to stay current in Real Time, with the data that has been entered via posts & threads, since the time when the test environment was created. Unless there were some sort of a mirroring of the data, which I'm unfamiliar with in this application.

Do Admin's who use local test sites find it more helpful to do so? Do they really NOT have to modify any site variables? Can they simply FTP overwright their live site with their test site once the work is done? How is it better and why does it help?

So, how do admins really and truly get the MOST out of a test site? Do they typically only use it for template modifications and upgrades? How can I use this to my best advantage?

I'm also curious, if later on, I want to update the data in my TEST site, how do I OVERWRIGHT the data that I've just imported into my database? Is there some way to flush out the database and reload it? Or must I create a new database and simply delete the old one, forcing me to redo a bit of configuration work?

I have one last question I mentioned earlier, for Marco or another vB staffer:

With my entire test site directory .htaccess protected, how do I request help from others on public forums such as this one and vbadvanced? I have a lot of situations where I post a link to demonstrate the problem I am encountering, for whoever reads and responds to my post. (This could be anyone.)

Is there a work-around for this with .htaccess, or do I need to temporarily disable it in times like this, or do I need to publically post a temporary User Name and Password, or what do most admins do to facilitate this?

Thanks again for everyone's help! Thank you especially Lynne for all the time you took to help me today!


Jeff
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:14 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.06970 seconds
  • Memory Usage 3,243KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (15)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (27)post_thanks_box
  • (27)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (27)post_thanks_postbit_info
  • (27)postbit
  • (27)postbit_onlinestatus
  • (27)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete