vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Can't log in after importing existing DB (https://vborg.vbsupport.ru/showthread.php?t=322597)

ndoktoruser 05-10-2016 02:26 PM

Can't log in after importing existing DB
 
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 [DATE]1462901388[/DATE] at [TIME]1462901388[/TIME] ---------------

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!


All times are GMT. The time now is 01:04 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.00939 seconds
  • Memory Usage 1,710KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete