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

XF 1.2 Moved forum directory, getting errors.

#1
I moved my forum from public to public/forum so I can have a webpage as the main directory, and now im getting errors.


Warning: require(/usr/www/cubewebhosting/public/library/XenForo/Autoloader.php): failed to open stream: No such file or directory in /usr/www/cubewebhosting/public/index.php on line 6

Fatal error: require(): Failed opening required '/usr/www/cubewebhosting/public/library/XenForo/Autoloader.php' (include_path='.:/usr/share/php5:/usr/share/php') in /usr/www/cubewebhosting/public/index.php on line 6

What do I do?
 

Brogan

XenForo moderator
Staff member
#2
The error indicates one or more files are missing.

You may need to double check everything was moved correctly.
 

Jake Bunce

XenForo moderator
Staff member
#3
This could also be your opcode cache. APC doesn't update its cache when changing directories. You may need to restart the web server to clear it.
 
#4
Could it also be that the directory that I set up as the main xenforo directory isn't really the main directory now? The xenforo index.php isn't in public/index.php, its in public/forum/index.php.
 

Jake Bunce

XenForo moderator
Staff member
#6
Could it also be that the directory that I set up as the main xenforo directory isn't really the main directory now? The xenforo index.php isn't in public/index.php, its in public/forum/index.php.
That's why I suspect APC. The error message indicates the old path.