PDA

View Full Version : Plz Help me to save my Valuable DATA


nalinikpriya
11-03-2016, 05:50 AM
Few days back one of domains has expired due to some other reasons. Then I have downloaded all the files from root including DB. Now I had uploaded those files to the new domain and DB too. But my site is not working. I have no chance of entering into the old site (as it has already expired) to remove the site url from settings. So can you plz guide me to save my precious database. Plz guide me step wise. Site is not properly loading and also i am unable to log into my admin cp.

TheLastSuperman
11-03-2016, 12:05 PM
Few days back one of domains has expired due to some other reasons. Then I have downloaded all the files from root including DB. Now I had uploaded those files to the new domain and DB too. But my site is not working. I have no chance of entering into the old site (as it has already expired) to remove the site url from settings. So can you plz guide me to save my precious database. Plz guide me step wise. Site is not properly loading and also i am unable to log into my admin cp.

Steps to regain access and view forum:

Update Site URL in your license details i.e. what is new www.mynewsite.com - change that here so it is correct: https://members.vbulletin.com
Upload all old forum files to new server.
Create a New Database.
Import old database backup into new database.
Assign a database user to the database, also grant all privileges.
Edit file in /includes/ named config.php, change old database details to the new details i.e. new database name (of database you imported old data into) and also change database username+password. Re-upload the updated config.php so it overwrites the old.


Check to see if site loads. If it does then great, login and change the site URL in the settings, if it does not then you'll need to edit the database value for the bburl (site url) as it will think you're trying to login to the old url instead of the new due to the conflicting setting value and therefor may do a login loop per say.

RichieBoy67
11-03-2016, 12:22 PM
You should have access to your server still. Shoot me a pm if you need help.

nalinikpriya
11-03-2016, 12:58 PM
Steps to regain access and view forum:

Update Site URL in your license details i.e. what is new www.mynewsite.com - change that here so it is correct: https://members.vbulletin.com
Upload all old forum files to new server.
Create a New Database.
Import old database backup into new database.
Assign a database user to the database, also grant all privileges.
Edit file in /includes/ named config.php, change old database details to the new details i.e. new database name (of database you imported old data into) and also change database username+password. Re-upload the updated config.php so it overwrites the old.


Check to see if site loads. If it does then great, login and change the site URL in the settings, if it does not then you'll need to edit the database value for the bburl (site url) as it will think you're trying to login to the old url instead of the new due to the conflicting setting value and therefor may do a login loop per say.

Sir, I did everything as you have mentioned in your reply.

1 Updated the address in the members area
2 Uploaded all the files to the server sql fiel to the DB
3 Edited the config

Now the site is pointing to the new domain but the site is not loaded well. Also failed to login to Admin panel. When I am trying to login It is pointing to the old site which the domain has already expired.

And how can i edit the database value for the bburl? can youplz guide me?

--------------- Added 1478181789 at 1478181789 ---------------

You should have access to your server still. Shoot me a pm if you need help.

I don't have access of the old one(domain)

Dragonsys
11-03-2016, 01:51 PM
2 Uploaded all the files to the server sql fiel to the DB

did you upload the DB file (.sql) or did you import it to your new DB?

nalinikpriya
11-03-2016, 02:00 PM
Imported via phpmyadmin

Dave
11-03-2016, 02:21 PM
If you can't access the AdminCP because you're in a redirect loop:
Open the datastore table in PHPMyAdmin and edit the entry that has "options" as title.
Replace all old occurrences of your domain name with the new one.

nalinikpriya
11-04-2016, 11:52 AM
@Dave first of all I am very much thankful to your reply, as per your advise, I have changed the details of my old site in the said entry. Now I am able to login to my admin cp. There I have changed the links to new domain. But my home page is not working/loading properly. I don't know where I did mistake?

Dave
11-04-2016, 01:07 PM
Have you cleared the cache under maintenance in the AdminCP?
Else you might have to give us a link to your site so we can see what's going wrong.

nalinikpriya
11-04-2016, 01:25 PM
Have you cleared the cache under maintenance in the AdminCP?
Else you might have to give us a link to your site so we can see what's going wrong.

Yes, I cleared the Cache but of no use. You can see my site here http://www.youngtalks.com/

Dave
11-04-2016, 04:19 PM
Well it looks like that because the base href is still set to your old URL.

<base href="http://www.vedicastroasciences.com/" /><!--[if IE]></base><![endif]-->


Did you change all the URL settings in the AdminCP?

nalinikpriya
11-05-2016, 03:54 AM
Yes Dave, I have removed all the urls of the old domain with new one. But still the site is not loading properly. Also on hosting server, even i had deleted the Directory named on the old domain, still it reappears.

Brandon Sheley
11-05-2016, 08:49 AM
You haven't changed the board URL under options in the admincp as Dave has stated.

nalinikpriya
11-05-2016, 01:30 PM
@Brandon Sheley, I have changed all old urls in admincp

Dave
11-05-2016, 01:46 PM
Open the headinclude template in the theme that you use and change the base href HTML tag manually.

nalinikpriya
11-05-2016, 02:10 PM
Okay, I will try it now

Brandon Sheley
11-05-2016, 03:05 PM
If that doesn't work you can open the "do_not_upload" folder from vb.com, upload tools.php and reset your URL that way as well.

It may be cached somewhere if not hard coded, which it shouldn't but who knows.

nalinikpriya
11-05-2016, 03:26 PM
Okay, I will do it now

--------------- Added 1478365216 at 1478365216 ---------------

If that doesn't work you can open the "do_not_upload" folder from vb.com, upload tools.php and reset your URL that way as well.

It may be cached somewhere if not hard coded, which it shouldn't but who knows.

Yes.. after using the tools.php now its working. Also I have removed the custom styles and now i am able to access the front end too. Thanks very much for your valuable suggestion. :up::up:

--------------- Added 1478365582 at 1478365582 ---------------

@TheLastSuperman, @RichieBoy67, @Dragonsys, @Dave and @Brandon Sheley, Big Thanks to you all for guiding me in getting back my site.
My prob has been solved.