• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.0 Source database details stored?

#1
Hi,

I recently bought a site running xf. The owner had started a conversion from vB4 but never completed it. Unfortunatly it has been sitting like this for a few months. The redirects are in place and working, however the attachments step has never been run.

The good news is that I have the vB4 database that was used to start the import. However, the SOURCE database name, username and password have changed since I moved everything to my server. Therefore I need to edit these to finsh the import.

I don't want to start the import from the the beginning as the redirects will be screwed then.

I'm happy to go into phpmyadmin and manually change this data if thats what it takes to be able to finish the existing import.
 

Mike

XenForo developer
Staff member
#2
It should be the importSession record in xf_data_registry, though note that this is serialized (binary) data, so you need to be very careful editing it.
 
#3
I was hoping you weren't going to say that lol.

Is the easiest way to do this in PHP, by unserializing it, modifying and reserializing?
 

Jake Bunce

XenForo moderator
Staff member
#5
I can help you edit it manually in phpmyadmin if you send me a PM with the blob data, or a URL and login for phpmyadmin. Mike is correct that you need to be careful editing serialized data, but I have done it many times before and can probably save you the trouble of writing a PHP script.