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

Reply
 
Thread Tools Display Modes
  #11  
Old 01-26-2014, 11:19 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mathforum View Post
This is turning out to be harder than I thought.

I cleared out the first database with the wrong URL info then turned off my site, changed info, did mysql dump via SSH, changed info back and turned back on my main site.

I have this database now that I've listed in the dev site's config file but I still can't access the folder even! It's mysite.com/dev14 which goes to mysite.com.

What am I doing wrong?
ok, lets slow down a bit.

You copied your site files over to that directory?

You imported that dump to a new database and changed the config on the test site to match?

If you did the above and still not working then change your test site htaccess to 1.htaccess and try adding the forum path to the config in the test site to match the test site path. If you need to change the site path for the test site and cannot access the admincp you can go into the admincp settings in the new database and change the path there.

Also, turn off the password htaccess for now until we get it set and working..

I know Vbulletin lists one of the methods as changing the paths first. I never do that and always go into the database to do it so the main site isn't impacted. It should not matter though for this purpose.

To troubleshoot also try disabling the main site htaccess by renaming it 1.htaccess .. if you still can't get access than it rules out that being the issue.
Reply With Quote
  #12  
Old 01-26-2014, 11:32 PM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I got a database error, which is a decent sign. Even after changing the .htaccess to 1.htaccess I'm still not getting asked to log in, which I don't like. I'm going to double check the master password.
Reply With Quote
  #13  
Old 01-26-2014, 11:40 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is the cookie path set to? / ? Plus, you would still see the site, just not be able to log in. I don't think that is the cause. What about file permissions? This would not rediect you to main site but would limit access.
Reply With Quote
  #14  
Old 01-26-2014, 11:41 PM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really appreciate your help, but I will need to avoid taking the site offline any more today. It's our two year birthday and I want us to look good!

I'm checking the SQL password, so if that works I'll let you guys know.

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

Quote:
Originally Posted by RichieBoy67 View Post
what is the cookie path set to? / ?
I forgot the change this when I was making and exporting the new database from my main one. I wouldn't be surprised if I can't log in to the new site but I should be able to connect.
Reply With Quote
  #15  
Old 01-26-2014, 11:43 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At the point you are at now, you should not have to take the live site offline anymore.
Reply With Quote
  #16  
Old 01-26-2014, 11:45 PM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's definitely the log in for the db. Where can I find this? I am waiting on my host but trying to look in phpmyadmin as well.
Reply With Quote
  #17  
Old 01-26-2014, 11:46 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
At the point you are at now, you should not have to take the live site offline anymore.
Yeah, that is why I do not use the "change the site details before" approach. I just copy everything over and then change the details in the database and never touch the main site.

I set up test sites at least one or twice a month when ever I am doing something major or something untested. It is a good way to see if something works without causing issues for someone.

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

Quote:
Originally Posted by mathforum View Post
It's definitely the log in for the db. Where can I find this? I am waiting on my host but trying to look in phpmyadmin as well.
It depends on your server panel but it should be under where you created the database and the database username..
Reply With Quote
  #18  
Old 01-26-2014, 11:57 PM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Success! The cookies don't seem to be causing any problems... is that working ok because I gave them both different prefixes?

I'm excited. Thank you both very much!!!

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

I still need to password protect it. Don't want people signing up for it.
Reply With Quote
Благодарность от:
ozzy47
  #19  
Old 01-27-2014, 12:03 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also turn the test site off so admins only see it and yes password protecting the directory is a good idea.

Not sure how you have the cookie paths set. I usually leave them default for test sites which is blank I believe.

You also do not want it being crawled and indexed.
Reply With Quote
  #20  
Old 01-27-2014, 12:09 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I would do also is start by making any changes to the test site small ones, to make sure it is for certain not copying it to the live site in anyway.
Reply With Quote
Благодарность от:
RichieBoy67
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 11:19 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.04128 seconds
  • Memory Usage 2,265KB
  • 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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete