Just did a git pull of cvshead and I'm trying to setup cli for cron because I want the logs, but it fails when executed from terminal manually, or via cron.
Executing /admin/cron.php through moodle works perfectly. I also have php-cli cron tast for cron working with mahara on this same server, so It's just something with Moodle (or the way i've set it up)
Anyways here's the error returned when I try to execute this:
PHP Warning: require(../config.php): failed to open stream: No such file or directory in /var/www/www.subdomain.mysite.com/htdocs/moodle/admin/cron.php on line 45
PHP Fatal error: require(): Failed opening required '../config.php (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/www.subdomain.mysite.com/htdocs/moodle/admin/cron.php on line 45
here's the ownership on moodle/ dir:
drwxr-xr-x 42 www-data www-data 4096 2010-11-30 10:38 moodle
and for config.php
-rw-r--r-- 1 www-data www-data 22601 2010-11-30 10:38 config.php
the webroot is set to /moodle so touching subdomain.mysite.com will get the moodle index.
I tried looking through the tracker for this issue but I couldn't find anything. any suggestions for me? Thanks!