It’s me again! I tried to enable the RaidPlanner Today module for my frontpage, and after saving, and visiting my frontpage, I get a 500 error.
PHP Error:
[01-May-2012 00:31:44] PHP Fatal error: require_once(): Failed opening required ‘C:\inetpub\wow/administrator/components/com_content\includes\plugin.php’ (include_path=’.;C:\php\pear’) in C:\inetpub\wow\administrator\components\com_raidplanner\helper.php on line 20
For some reason, the helper.php is trying to look for plugin.php in com_content, instead of com_raidplanner, which seems pretty odd since it looks like it should be calling com_raidplanner correctly…. *shrug*
Helper.php Line 20:
Does not work:
require_once ( JPATH_COMPONENT_ADMINISTRATOR . DS . ‘includes’ . DS . ‘plugin.php’ );
Works:
require_once ( JPATH_ADMINISTRATOR . DS . ‘components’ . DS . ‘com_raidplanner’ . DS . ‘includes’ . DS . ‘plugin.php’ );