Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Failed opening required '/.../httpdocs/forum/applications/controller
judgej
✭
I have just moved a test instance of Vanilla 2 from one domain on a web server to another domain, but in a sub-folder. I have updated .htaccess in the sub-folder to set the root folder, but all I get is that error. File permissions have also been set correctly.
Looking in Google, it seems that many sites seem to have this problem and it seems to be related to server settings. The test Vanilla I have moved has just moved between domains on the same server, so all the options should be the same between the two.
Any ideas what I should look at next?
Looking in Google, it seems that many sites seem to have this problem and it seems to be related to server settings. The test Vanilla I have moved has just moved between domains on the same server, so all the options should be the same between the two.
Any ideas what I should look at next?
0
Comments
RewriteCond %{REQUEST_URI} ^/forum RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /forum/index.php\?p=$1 [QSA,L]
I know the RewriteRule is being triggered, because I can set it to redirect to any other page on the website.
RewriteBase /yoursubdir
there's a short explanation in the original .htaccess
Vanilla Forums COO [GitHub, Twitter, About.me]
Something else it may be worth looking at while in the cache directory, are the folder permissions. The folders are all created by the web process and do not give write permission to the group or other users.
What this means is that you need to be root to do anything in the cache folders, even to delete them (you cannot delete a folder if you do not have write permission to it *and* it contains anything such as files or further folders). Many hosting packages do not provide root access. The same thing happens with the config.php file when it is created - I needed to go in as root to change its permissions so that it could be modified by both the web user and the FTP user.
Dunno if I should raise that as a bug?
Vanilla Forums COO [GitHub, Twitter, About.me]