PDA

View Full Version : Can't log in after importing existing DB


ndoktoruser
05-10-2016, 02:26 PM
Hello!

I have a vB5 forum online.
I dumped the DB and imported it to a local environment.
I went to the table setting and I changed the values of the rows "frontendurl", "frontendurl_login" and "bburl" to match the new addresses in the local environment.
However, when I try to login on /forum or on forum/admincp, I am redirected to live address.

Does anyone have any idea of what I should do?

Thanks in advance.

Lynne
05-10-2016, 02:41 PM
You will need to upload the tools.php file from the do_not_upload directory to the /core/admincp directory and also upload the /core/install directory. Then point your browser at the tools.php file and click to Update the options cache. That will update the settings in the datastore table and you should then be able to login.

ndoktoruser
05-10-2016, 03:00 PM
Hi!

Thank you for the fast reply.
I did what you said, but the tools.php page sends me to the live domain.
Maybe there is a table in the DB which holds the domain address of the live forum.

--------------- Added 1462901388 at 1462901388 ---------------

Hello again!

I found the solution.
Besides the table setting I posted in the first post, I also had to change values of the rows "options" and "publicoptions" in the table datastore and I also changed a value pointing to the live system in the table link (I believe this last entry is not a must, because it only represents the link to the forum).

As far as I see, I can log in with no problem and the system does not try to redirect the call to the live domain, I stay in my local environment.

Thank you for the help, Lynne!