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 09-28-2011, 12:47 PM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default New domain with a backup of another database.

What i did today was.
Copied all my vb files from my cpanel for an existing forum.
Exported all the files from the data base.

Re uploaded all the new files and data base to a new data base and folder for a new domain.
Edited the config.php to the new data base.

But when I tried to log into the new Forum with the new URL it just redirected me to the old working Forum.

So how can I get this to work?
Reply With Quote
  #2  
Old 09-28-2011, 12:59 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit your includes/config.sys (if you haven't already) and make sure all the settings are for your new server. Then on the new site go to the options in the adminCP, and under "Site Name / URL / Contact Details" make sure the Forum URL and home page URL are set to your new site.
Reply With Quote
  #3  
Old 09-28-2011, 01:27 PM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the problem kh99, I put in the data base name, urser name and password in the config.php but when going to the new URL it takes me to the Admin panel but when I try to log in it redirects me to the existing URL/other domain.

So i am unable to change the Site URL in the Admin panel.

The reason I am doing this is that I had modified and edited so much on the other site I though instead of starting from scratch again I could just use the data base and files from one to the other.

But this one has got me, on how to do it.
Reply With Quote
  #4  
Old 09-28-2011, 01:31 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, right, you're trying to log in. Did you try (after logging in and getting redirected) just going to http://www. yoursite.com/admincp ?
Reply With Quote
  #5  
Old 09-28-2011, 02:01 PM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, and it was the new URL, but as soon as i logged in it sent me to the other URL.

There must be a way of doing what I want to do but it's just knowing what to do.
Probably something very simple I'm missing doing,
Reply With Quote
  #6  
Old 09-28-2011, 02:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try editing the database directly, the record in the datastore table where title = "options", and change the forum url (it's in serialized format so you either need to leave the field the same length or fix the length value).

I don't know anything about tranfering a site, but I think I remember reading a post saying that there's some reason you shouldn't do what you're trying to do. (That's not much help, I know).
Reply With Quote
  #7  
Old 09-28-2011, 02:24 PM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been looking in the files in the data base but i can't find the options fro changing the URL
Reply With Quote
  #8  
Old 09-28-2011, 02:42 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just finished doing this exact thing for a client of mine. (moved forum from one URL to a new URL but kept exisiting forums, users, etc.).

When you backed up the database, did you disable all hooks and plugins in AdminCP on the original site before backing up the database? (ACP->Settings->Options->Plugin/Hook System)

To be double sure, I also disable all products except the ones included in a default vBulletin install.
Reply With Quote
  #9  
Old 09-28-2011, 03:07 PM
Fready Fready is offline
 
Join Date: Nov 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't disable them no.

So how would that make the problem I got?

What do I need to do?
How did you do what i am wanting to do without the new Forum redirecting to the other Forum when trying to get into the Admin CP?
Reply With Quote
  #10  
Old 09-28-2011, 03:18 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if it would cause the problem you're having or not. But, that is the first thing that should be done when moving a database for vB.

So far as I know, vB should not redirect you away from the ACP you're on to the original one. It's never happened to me.

I'm not 100% certain, but I think it might have to do with the cookies for your old site. I would suggest opening a support ticket at the vbulletin.com site and ask how to reset the cookie info with tools.php. And include info on what is happening to you so they can verify the problem. I'm sure they've run across this before.
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 02:37 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.06010 seconds
  • Memory Usage 2,242KB
  • Queries Executed 11 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete