vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   New domain with a backup of another database. (https://vborg.vbsupport.ru/showthread.php?t=271047)

Fready 09-28-2011 12:47 PM

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?

kh99 09-28-2011 12:59 PM

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.

Fready 09-28-2011 01:27 PM

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.

kh99 09-28-2011 01:31 PM

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 ?

Fready 09-28-2011 02:01 PM

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,

kh99 09-28-2011 02:10 PM

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

Fready 09-28-2011 02:24 PM

Been looking in the files in the data base but i can't find the options fro changing the URL

nhawk 09-28-2011 02:42 PM

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.

Fready 09-28-2011 03:07 PM

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?

nhawk 09-28-2011 03:18 PM

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.


All times are GMT. The time now is 01:25 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.01585 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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