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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-24-2011, 04:36 PM
boodog boodog is offline
 
Join Date: Nov 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Test forum problem

I created a test forum per instructions on vb.com. I followed the instructions on admincp settings for the test forum but something's not right, and I believe it's with the cookies. When I reset the cookies for the test forum I could no longer log-in to my regular forum's admincp. It scared me so I changed everything back on the test forum and now all is well.

Another thing that happened is that the navbar I have in an ad at the top got totally screwed.

I'd like to have a test forum clone of my regular forum, but this experience has really made me nervous that something could get seriously screwed up in the process. I'd appreciate any comments or suggestions. Perhaps I've not included enough technical detail of what I did.

Thanks!
Reply With Quote
  #2  
Old 05-24-2011, 09:16 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you set a unique cookie prefix in the config.php file for your test site?

Also, you did make sure to change your config.php file and point to the new database, right? If so, then you shouldn't be nervous about playing with your test site.
Reply With Quote
  #3  
Old 05-25-2011, 07:11 AM
boodog boodog is offline
 
Join Date: Nov 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne. Yes, I set a unique cookie prefix called vbtest in config.php. I tried again and I still must have something misconfigured as I'm seeing recent forum posts as opposed to the test database clone which is about 10 days old. I'm not seeing the test database. I've also entered correct test database info (name, password, etc) in my config.php so it should be pointing to the correct test database location.

I'm wondering if the PATH TO SAVE COOKIES setting is incorrect. I point it to what I assume is the correct location where it says SUGGESTED SETTINGS. There's only one option that points to my test forum and I choose that one. Does the name of path to save cookies need to be the same as cookie prefix maybe?

What makes me more nervous than anything is getting locked out of my admincp and not being able to get back in to fix things. Any advice on avoiding that situation and/or how to deal with it if it should happen would be appreciated
Reply With Quote
  #4  
Old 05-25-2011, 04:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you saved a copy of your database a few days ago to make the test site, then it definitely should NOT be showing recent posts from today in it. Do you have AdminCP > Settings > Options > Site Name/URL/etc > forum url set to the test site url?
Reply With Quote
  #5  
Old 05-25-2011, 04:59 PM
boodog boodog is offline
 
Join Date: Nov 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did but changed it back because somehow it was connecting with my regular forum and it wouldn't allow me to sign back in to the admincp. Fortunately I had another tab open in admincp so I could change it back. Had I not, I think I might have been locked out. I've tried 2 more times entering all the URLs and all but the same thing happens. I'm not sure having a test forum is worth the risk and trouble!
Reply With Quote
  #6  
Old 05-25-2011, 05:11 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, you are changing stuff in the database and not through the admincp? If so, where are you changing things in the database?

As a test site user myself, I would say having a test site is a necessity.
Reply With Quote
  #7  
Old 05-25-2011, 09:55 PM
boodog boodog is offline
 
Join Date: Nov 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I changed the settings in the admincp as instructed in Trevor's tutorial. i've not made any changes to the database clone which my hosting co. made for me. I've compared its size to my live database and it's smaller which indicates that the live one continues to grow and the clone does not.

I agree that having a forum for testing is much better than fiddling with the live one. I'll get it sorted out eventually. Thanks, Lynne
Reply With Quote
Reply


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:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.22562 seconds
  • Memory Usage 2,214KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (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_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
  • 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