vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Dev site forwarding back to main (https://vborg.vbsupport.ru/showthread.php?t=318526)

mathforum 05-03-2015 12:44 AM

Dev site forwarding back to main
 
Hi everyone,

I'm trying to update my dev site by clearing out the old one and making a new copy. I've followed the directions posted here and this process has worked before:

1) Turn off forum
2) Change forum folder and forum URL in AdminCP to point to dev site
3) Copy db
4) Change (2) back to main site values
5) Copy files over to dev site
6) Load db copy with new values
7) Change config.php file to new values

I've done all this but yet the dev site won't load and is immediately forwarding back to the main site. I do have DBseo installed but don't know how to account for this.

Any ideas?

ForceHSS 05-03-2015 01:14 AM

htaccess file have you updated it

mathforum 05-03-2015 01:19 AM

Quote:

Originally Posted by ForceHSS (Post 2544713)
htaccess file have you updated it

Good catch. Didn't think of that.

The .htaccess file was in fact copied over and I just deleted it. Unfortunately it still redirects to the main site. Should I make a new .htaccess file and put something particular in it? I feel like the deletion would take care of potential issues.

ForceHSS 05-03-2015 02:27 AM

I have this in mine
Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^skaperend\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.skaperend\.com$
RewriteRule ^(.*)$ http://www.mystechtronics.net/$1 [R=301,L]

Change what you need and use

mathforum 05-03-2015 02:45 AM

Quote:

Originally Posted by ForceHSS (Post 2544717)
I have this in mine
Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^skaperend\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.skaperend\.com$
RewriteRule ^(.*)$ http://www.mystechtronics.net/$1 [R=301,L]

Change what you need and use

Just to confirm, this is what you have for your dev site .htaccess? I have a main .htaccess file that is quite long with custom rewrites and stuff for DBSeo. My dev site is located in a folder like this: mainsite.com/dev/forum.php.

ForceHSS 05-03-2015 03:30 AM

Quote:

Originally Posted by mathforum (Post 2544719)
Just to confirm, this is what you have for your dev site .htaccess? I have a main .htaccess file that is quite long with custom rewrites and stuff for DBSeo. My dev site is located in a folder like this: mainsite.com/dev/forum.php.

Yes I have a lot more info in my htaccess file but there is no need to upload the whole file

mathforum 05-03-2015 09:40 AM

Didn't work unfortunately.

The only thing I can think of is DBTech's DBSeo. On my old dev site we didn't have this since we made it before we installed the product, so maybe the doubled files are still redirecting to the main site. The issue is I can't get to the dev site AdminCP to check or disable the product. How can I disable a product without the AdminCP? Could I try just deleting those files on the dev site?

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

Ok, I disabled all plugins on the dev site by adding this to the config.php file - didn't work.

PHP Code:

define('DISABLE_HOOKS'true); 

This has got to mean the database copy didn't work properly and isn't pointing to the right place, right?


All times are GMT. The time now is 07:05 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.01045 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete