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-03-2015, 12:44 AM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 05-03-2015, 01:14 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

htaccess file have you updated it
Reply With Quote
2 благодарности(ей) от:
MarkFL, mathforum
  #3  
Old 05-03-2015, 01:19 AM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
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.
Reply With Quote
  #4  
Old 05-03-2015, 02:27 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 05-03-2015, 02:45 AM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
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.
Reply With Quote
  #6  
Old 05-03-2015, 03:30 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mathforum View Post
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
Reply With Quote
  #7  
Old 05-03-2015, 09:40 AM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
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 12:00 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.04261 seconds
  • Memory Usage 2,229KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (2)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete