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.
Vanilla stopped working with fatal error require_once() [function.require]: Failed opening required
I installed a pre-packaged WordPress+Vanilla, and it was all working, but then today I get the following:
Fatal error: require_once() [function.require]: Failed opening required 'mydomain/wp/forums/applications/controllers/class.controller.php'
(include_path='.:/usr/local/nf/php5_2/lib/php') in mydomain/wp/forums/library/core/class.dispatcher.php on line 531
of course, there IS no forums/applications/controllers/ folder.
The line of code in question is:
require_once(CombinePaths(array(PATH_APPLICATIONS, $this->_ApplicationFolder, 'controllers', 'class.'.strtolower($this->_ApplicationFolder).'controller.php')));
Any ideas why it is looking in the wrong place?
Fatal error: require_once() [function.require]: Failed opening required 'mydomain/wp/forums/applications/controllers/class.controller.php'
(include_path='.:/usr/local/nf/php5_2/lib/php') in mydomain/wp/forums/library/core/class.dispatcher.php on line 531
of course, there IS no forums/applications/controllers/ folder.
The line of code in question is:
require_once(CombinePaths(array(PATH_APPLICATIONS, $this->_ApplicationFolder, 'controllers', 'class.'.strtolower($this->_ApplicationFolder).'controller.php')));
Any ideas why it is looking in the wrong place?
Tagged:
0
Comments
First suggestion: delete the ini files in your /cache folder.
Cleared the ini files and it works fine, except now it is using the original template, not my modified version, which doesn't make sense.
For future reference, is clearing ini files from the cache something I'm likely to have to do often? what causes this error, and how can I prevent it in the future?