Failed to open stream

I just installed Scheduler within Joomla. The installation of the component did not register any errors. However on the admin backend when clicking on the Scheduler component, I am getting the following message:

Warning: require_once(/home/mysite/public_html/components/com_scheduler/codebase/…/…/configuration.php) [<href=‘function.require-once’>: failed to open stream: No such file or directory in /home/mysite/public_html/components/com_scheduler/codebase/dhtmlxSchedulerConfiguratorLoad.php on line 27.

Fatal error: require_once () [<href=‘function.require’>function.require]: Failed opening required’ /home/mysite/public_html/components/com_scheduler/codebase/…/…/configuration.php)’ (include_path=’.:/usr/local/php5/lib/php’) in /home/mysite/public_html/components/com_scheduler/codebase/dhtmlxSchedulerConfiguratorLoad.php on line 27.

My Joomla configuration.php is not located within the public_html folder (one level up), so I am wondering if that is messing this up. Any help is appreciated.

Running Joomla 1.5.20.

Thanks.

There are next lines in
joomla/components/com_scheduler/codebase/dhtmlxSchedulerConfiguratorLoad.php

line 26
define(‘JPATH_BASE’, dirname(FILE).DS.’…’.DS.’…’.DS.’…’);
line 27
require_once ( JPATH_BASE .DS.‘configuration.php’ );

You may need to change the second line, to fix the paths

Thanks for the reply!

So my Joomla config file is under /home/mysite/config/configuration.php (not inside public_html). Within Joomla, I had previously set up the definition to the correct path within the /includes/define.php. All other modules seem to be working correctly following the custom defined path that Joomla sees as where the configuration.php is located.

My Joomla site is not rooted in any subdirectories, it is installed directly within public_html. Given that, could you please give me an example syntax of what lines 26 and 27 should say?

Thanks a bunch!

Try to change the start of dhtmlxSchedulerConfiguratorLoad.php as

[code]define( ‘_JEXEC’, 1 );
define( ‘DS’, DIRECTORY_SEPARATOR );
define(‘JPATH_BASE’, dirname(FILE).DS.’…’.DS.’…’.DS.’…’);
require_once(dirname(FILE).DS.’…’.DS.’…’.DS.’…’.DS.‘includes’.DS.‘defines.php’);
require_once(JPATH_CONFIGURATION.DS.‘configuration.php’);

require_once ( JPATH_BASE .DS.‘includes’.DS.‘framework.php’);
$mainframe =& JFactory::getApplication (‘site’);
$mainframe->initialise ();
$mainframe->route ();
require_once(JPATH_ROOT.DS.‘components’.DS.‘com_scheduler’.DS.‘codebase’.DS.‘dhtmlxSchedulerConfigurator.php’);
[/code]

Thanks Stanislav, that did the trick!