vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Creating test forum issue (https://vborg.vbsupport.ru/showthread.php?t=307544)

RichieBoy67 01-26-2014 11:19 PM

Quote:

Originally Posted by mathforum (Post 2477086)
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.

mathforum 01-26-2014 11:32 PM

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.

RichieBoy67 01-26-2014 11:40 PM

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.

mathforum 01-26-2014 11:41 PM

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 (Post 2477093)
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.

ozzy47 01-26-2014 11:43 PM

At the point you are at now, you should not have to take the live site offline anymore.

mathforum 01-26-2014 11:45 PM

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.

RichieBoy67 01-26-2014 11:46 PM

Quote:

Originally Posted by ozzy47 (Post 2477096)
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 (Post 2477097)
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..

mathforum 01-26-2014 11:57 PM

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. :D

RichieBoy67 01-27-2014 12:03 AM

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. :)

ozzy47 01-27-2014 12:09 AM

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. :)


All times are GMT. The time now is 12:50 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.01195 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete