View Single Post
  #10  
Old 02-18-2008, 02:56 PM
NashChristian's Avatar
NashChristian NashChristian is offline
 
Join Date: Jul 2007
Location: Nashville, TN
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again for all the help Lynne! I'm working on the .htpasswd file now!

One question does come to mind, with the .htaccess protected directory (my entire test site), 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.

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

Thanks!
Jeff

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

Quote:
Originally Posted by Lynne View Post
As for you hardcoded links, you might want to take a look at them and see if they need to be. My navbar isn't standard vb because I have pages 'outside' my forums folder, so I actually 'hardcode' the link, but I do that by just putting "$vboptions[bburl]/" in front of all the links. It gets that variable from the vboptions. So, as long as it is correct in there, then I am fine. There are some threads with hardcoded links, but those don't affect my testing.
Hello Lynne! I think that I understand what you are saying here, but I'm unsure of the syntax. I use vBadvanced, so I have many links (for style graphics, etc...) that I hardcode to my root folder (or have to provide the full URL to). Are you saying that instead of using http://mysite.com I can use "$vboptions[bburl]/" and that will direct it toward my root folder for that website?

Thanks again for all your help!
Jeff

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

Quote:
Originally Posted by Marco van Herwaarden View Post
Copy all files.
Make backup of your database
Create a new database and restore the backup into this new database.
Update the config.php in your test install to point to the new test database.
If needed update Forum URL and Cookie settings in your vBulletin Options.

That should be all in most cases.
Hello Marco,

I understand the concept you are trying to get accross to me, but I must have missed a step somewhere.

First of all, I don't remember where to find the 'config.php' file.

Second, for some reason I can't log into my ADMINCP. I'm assuming that I need to change a few settings, defining where the site is located, etc... Do I not need to tell it where it is located (the full path) etc... or is that just with my vBa products?

When I try to log into my test site AdminCP, I get the following error:
Quote:
Warning: main(/homepages/20/d153189940/htdocs/test.nashvillechristian.com/forums/includes/init.php) [function.main]: failed to open stream: No such file or directory in /homepages/20/d153189940/htdocs/test.nashvillechristian.com/forums/admincp/global.php on line 34

Fatal error: main() [function.require]: Failed opening required '/homepages/20/d153189940/htdocs/test.nashvillechristian.com/forums/includes/init.php' (include_path='.:/usr/local/lib/php') in /homepages/20/d153189940/htdocs/test.nashvillechristian.com/forums/admincp/global.php on line 34
Which brings about my other question I asked earlier, how do I post a link for support on this, now that I have .htaccess protected my test site?

Also, since I have not been able to redirect the database yet, it appears to be pulling the data from my live site by default.

Any assistance would be appreciated!

Thanks!
Jeff
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01120 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete