Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
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?