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

Forum location

#1
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?

Thanks
 

Brogan

XenForo moderator
Staff member
#2
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.

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180455
 
#4
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
 

Slavik

XenForo moderator
Staff member
#5
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
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.
 

Brogan

XenForo moderator
Staff member
#6
You don't need to restart apache ever...
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.
 

Slavik

XenForo moderator
Staff member
#7
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.
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
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
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
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?
 
#12
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
mydomain.com\public_html\forums\library\XenForo\Search
didn't know if this was normal or not

update: reinstalled and I am good :)
 
#13
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.
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!