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

Forum location

Discussion in 'Troubleshooting and Problems' started by Eliteoomph, Jun 24, 2011.

  1. Eliteoomph

    Eliteoomph Member

    I suspect this will be resolved shortly...

    While in the Admin Control Panel under Home>Options Basic Board Information

    There is a setting called: Board Url which I have set to www.mydomain.com/forum

    however that does not work and instead my board url is www.mydomain.com/xenforo

    which is the name of my folder.

    Will simply renaming the folder fix this? if so what is the Board Url function for?

  2. Brogan

    Brogan XenForo Moderator Staff Member

    The board URL is primarily for emails.

    What do you actually want your forum directory to be?
    Rename it to whatever you want it to be - the FAQ explains what needs to be done.

    How can I move my installation to a different directory?
    Update the Board URL in the ACP -> Options -> Basic Board Information and move the files to the new directory. You may need to restart the server for the change to take effect.

  3. Eliteoomph

    Eliteoomph Member

    I just want it to be /forum
    it is currently /xenforo
  4. Eliteoomph

    Eliteoomph Member

    i updated the board url and restarted Apache but it is just a blank page when i try it. tried from different location and got a server error
  5. Slavik

    Slavik XenForo Moderator Staff Member

    You don't need to restart apache ever... not unless you are updating any modules attached to it or it crashes.

    You say you have updated the board URL in admin, I presume to www.mydomain.com/forums

    Now log into your FTP and rename your httpdocs/xenforo folder to httpdocs/forums

    And all should be fine.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    That's not correct.

    A few people have reported that they needed to restart Apache after moving the install, usually related to caching of some sort.

    Which is why it was added to the FAQ.
  7. Slavik

    Slavik XenForo Moderator Staff Member

    I would argue these people are using incorrectly configured setups or are sat behind some sort of ISP/DNS cache.

    Having to restart the httpd for a change of folder name is rediculous.
  8. Eliteoomph

    Eliteoomph Member

    well when I moved the folder it caused a 500 php error which I have been trying to get resolved via the error log... I am about to just restore a backup in the correct folder location and I think i should be fine... but I need to locate a few post... where are the post/threads stored?
  9. Eliteoomph

    Eliteoomph Member

    i managed to save the data I was trying to save but now I get these errors when I try to login to the admin control panel

    Server Error

    fopen(/srv/www/letsgiv.com/public_html/forums/internal_data/install-lock.php): failed to open stream: Permission denied
    1. XenForo_Application::handlePhpError()
    2. fopen() in XenForo/Install/Model/Install.php at line 270
    3. XenForo_Install_Model_Install->writeInstallLock() in XenForo/ControllerAdmin/Abstract.php at line 78
    4. XenForo_ControllerAdmin_Abstract->_assertInstallLocked() in XenForo/ControllerAdmin/Abstract.php at line 16
    5. XenForo_ControllerAdmin_Abstract->_preDispatchType() in XenForo/Controller.php at line 302
    6. XenForo_Controller->preDispatch() in XenForo/FrontController.php at line 309
    7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    8. XenForo_FrontController->run() in /srv/www/letsgiv.com/public_html/forums/admin.php at line 13
  10. Eliteoomph

    Eliteoomph Member

    since I am not that far into designing and writing my content I am thinking about scratching this and performing a uninstall/reinstall... What do you think?
  11. Eliteoomph

    Eliteoomph Member

    can't find the install-lock.php i think it got deleted somehow during this whole ordeal.... i am thinking i should just reinstall...
  12. Eliteoomph

    Eliteoomph Member

    ok I am reinstalling it now..
    on a side note... whenever i have installed or copied over these files before I seem to always get an error on this folder
    File activity incomplete. 1 file(s) or folder(s) were not completed.
    Files updated: 2376

    Files with errors: 1
    didn't know if this was normal or not

    update: reinstalled and I am good :)
  13. liquidox

    liquidox Member

    I'd like to confirm this, been stuck on this issue a few times. Moving the XF folder can lead to issues when running PHP-FPM + APC, so if you have that issue, restart it!

Share This Page