Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Jan 2014, 21:29
mathforum mathforum is offline
 
Join Date: Nov 2005
Creating test forum issue

I'm trying to get a test forum going on my site to play around with different things and not be afraid of taking the thing down with a syntax error. I'm following this guide and so far I've copied the entire site to a new folder called /dev14/.

Copied SQL database and renamed it to use on the new site.

I also went into the config.php file and disabled all plugins plus changed the cookie prefix. Tried turning on an .htaccess password protect on /dev14/.

Seems like it should be close to ready but when I try to view the folder I am redirected to my main site. No password prompt. Is vBSEO doing this maybe?
Reply With Quote
  #2  
Old 26 Jan 2014, 21:33
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Did you update the URLs at AdminCP --> Settings --> Options --> Site Name / URL / Contact Details before doing the backup as the guide suggested?
Reply With Quote
  #3  
Old 26 Jan 2014, 21:54
mathforum mathforum is offline
 
Join Date: Nov 2005


Fail. What's my play?
Reply With Quote
  #4  
Old 26 Jan 2014, 21:56
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Start back over from the beginning, and follow the instructions completely or update manually in the database after backing up (NOT RECOMMENDED)
Reply With Quote
  #5  
Old 26 Jan 2014, 22:04
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Did you check the htaccess in the main directory?
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.


Last edited by RichieBoy67; 26 Jan 2014 at 22:42.
Reply With Quote
  #6  
Old 26 Jan 2014, 22:24
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Originally Posted by RichieBoy67 View Post
Dud you check the htaccess in the main directory?
No that's not it, he did not follow the steps correctly, so any changes he makes on the test site, are going to take place on the live site, as the test site is still pointing to the live one, via the settings.
Reply With Quote
  #7  
Old 26 Jan 2014, 22:46
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Oh I see. I mentioned it because he is using Vbseo and that could cause these types of things when doing a test site in a sub directory of a directory with a copy already installed.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #8  
Old 26 Jan 2014, 22:50
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Yeah that very well be a issue down the line, but the OP needs to set it up from the get go the right way first, then can worry about the vBSEO thing.
Reply With Quote
  #9  
Old 26 Jan 2014, 22:59
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
I don't know what steps he took other than what he mentioned but he did not mention changing the database info in the config. He mentioned that he disabled plug ins though.

## OP, If you still haven't fixed this I would be happy to finish it free of charge if it can be tonight with in the next hour or so. Will take only a few minutes if all the data is already moved.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #10  
Old 26 Jan 2014, 23:16
mathforum mathforum is offline
 
Join Date: Nov 2005
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?

--------------- Added 26 Jan 2014 at 23:18 ---------------

Originally Posted by RichieBoy67 View Post
Oh I see. I mentioned it because he is using Vbseo and that could cause these types of things when doing a test site in a sub directory of a directory with a copy already installed.
I do have an active .htaccess in the main directory, full of vBSEO stuff. I also have an .htaccess for the dev folder/site with just a password prompt. I disabled all plugins so vBSEO wouldn't try to do something twice.

Still can't even reach my folder.
Reply With Quote
  #11  
Old 26 Jan 2014, 23:19
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
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.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.


Last edited by RichieBoy67; 26 Jan 2014 at 23:28.
Reply With Quote
  #12  
Old 26 Jan 2014, 23:32
mathforum mathforum is offline
 
Join Date: Nov 2005
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 26 Jan 2014, 23:40
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
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.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #14  
Old 26 Jan 2014, 23:41
mathforum mathforum is offline
 
Join Date: Nov 2005
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 26 Jan 2014 at 23:42 ---------------

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 26 Jan 2014, 23:43
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
At the point you are at now, you should not have to take the live site offline anymore.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 12:58.

Layout Options | Width: Wide Color: