need help with cron job

hi,

I did a fresh install and this is the error i am getting in /periodic/error_log

[18-Aug-2009 04:04:01] PHP Warning:  require_once(/home/mary/public_html/stgeorgescollege.in/periodic/../inc/header.inc.php): failed to open stream: No such file or directory in /home/mary/public_html/stgeorgescollege.in/periodic/cron.php on line 23

Cron job is: cd /home/mary/public_html/stgeorgescollege.in/periodic; /usr/local/bin/php -q cron.php

I also tried : cd /home/hdavy200/public_html/stgeorgescollege.in/periodic; /usr/bin/php -q cron.php

I have all the latest files from the trunk_

Thanks all

Quote · 18 Aug 2009

That's an odd error...seems like the path that is specified /home/mary etc... is valid because you are able to run cron.php.  I would check the ownership and permissions for the inc folder.  especially the header.inc.php file.

if you have shell access paste the output of the following command here:

# ls -al /home/mary/public_html/stgeorgescollege.in/inc

That should give you a directory listing that will show the ownership and permissions of the files in the inc directory.

Shared Dolphin Hosting w/RMS
Quote · 18 Aug 2009

Did a fresh install and here is the output.

ls -al /home/mary/public_html/stgeorgescollege.in/inc
total 244
drwxr-xr-x   4  mary mary  4096     Aug 18 04:15 ./
drwxr-xr-x  19 mary mary  4096     Aug 18 04:17 ../
-rw-r--r--      1 mary mary     15     Aug 18 04:03 .htaccess
-rw-r--r--      1 mary mary   851     Aug 18 04:03 RadiusAssistant.inc.php
-rw-r--r--      1 mary mary 27931    Aug 18 04:03 admin.inc.php
-rw-r--r--      1 mary mary 11535    Aug 18 04:03 admin_design.inc.php
-rw-r--r--      1 mary mary  4045     Aug 18 04:03 banners.inc.php
drwxr-xr-x    2 mary mary  4096     Aug 18 04:03 classes/
-rw-r--r--      1 mary mary  3254     Aug 18 04:03 db.inc.php
-rw-r--r--      1 mary mary 26046    Aug 18 04:03 design.inc.php
-rw-rw-rw-    1 mary mary  7895    Aug 18 11:29 header.inc.php
-rw-r--r--      1 mary mary 10554    Aug 18 04:03 images.inc.php
drwxr-xr-x    4 mary mary  4096     Aug 18 04:03 js/
-rw-r--r--      1 mary mary 12565    Aug 18 04:03 languages.inc.php
-rw-r--r--      1 mary mary  3856    Aug 18 04:03 match.inc.php
-rw-r--r--      1 mary mary 28288   Aug 18 04:03 membership_levels.inc.php
-rw-r--r--      1 mary mary  2575    Aug 18 04:03 params.inc.php
-rw-r--r--      1 mary mary 18652   Aug 18 04:03 prof.inc.php
-rw-r--r--      1 mary mary 15213   Aug 18 04:03 profiles.inc.php
-rw-r--r--      1 mary mary  2339    Aug 18 04:03 shared_sites.inc.php
-rw-r--r--      1 mary mary  2412    Aug 18 04:03 tags.inc.php
-rw-r--r--      1 mary mary 28450   Aug 18 04:03 utils.inc.php

Quote · 18 Aug 2009

What hosting do you use? If godaddy or similar, use the browse option to find your file from cron setup area.

Quote · 19 Aug 2009

see http://www.boonex.com/unity/forums/#topic/what-is-the-correct-permission-for-d7.htm

That looks fine, but I might have put it in a different post, but make sure that the inc directory itself has 777 perms.

so from /home/mary/public_html/stgeorgescollege.in

do an

# ls -al

and see what the permissions are on the inc folder.

or just

# chmod 777 /home/mary/public_html/stgeorgescollege.in/inc

make sure that the permissions on the files INSIDE the ic directory remain the way they are.

Try that and let me know whether the cron job runs.

Shared Dolphin Hosting w/RMS
Quote · 19 Aug 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.