Skip to:
Content
Pages
Categories
Search
Top
Bottom

uri override in bb-config.php locks url in general-settings


  • extremejacob
    Member

    @extremejacob

    I typed in the wrong url in general-settings and was unable to get back to change it.

    I have been able to recover and get back into admin by inserting (in bb-config.php)

    $bb->uri = ‘http://website.com/’;

    However, now the url in general-settings can’t be changed (it shows a lock), presumably because of the hard override in bb-config.php.

    I seem to be stuck in a catch-22. If I remove the override, I can’t change the admin/general-settings. If I don’t have the override, I can’t access the admin/general-settings.

    Any ideas?

    Can I change the url directly? I presume admin/general-settings writes the configuration to a file somewhere? Can I edit that manually instead?

Viewing 2 replies - 1 through 2 (of 2 total)

  • zaerl
    Participant

    @zaerl

    It writes the option in the database. Open phpmyadmin. Locate the meta table (usually bb_meta.) Change the bb_option called uri to whatever you want.


    extremejacob
    Member

    @extremejacob

    Thanks!!!

    That fixed it. Easy to do, even though I never used phpmyadmin before.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar