I'm trying to setup a cron job for my affiliate program (using PAP) with the following path:
/usr/local/bin/php -q /home/dhuhmhsc/public_html/pap/scripts/dailyreports.php
(above two lines are supposed to be in one line only)
But I received the following error message:
"Warning: require_once(../settings/settings.php): failed to open
stream: No such file or directory in
/home/dhuhmhsc/public_html/pap/scripts/global.php on line 16
Fatal error: require_once(): Failed opening required
'../settings/settings.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/dhuhmhsc/public_html/pap/scripts/global.php on line 16"
The "../settings/settings.php" folder and file are existed in the directory.
According to PAP support:
"That error means, that is something wrong with your path, you should ask your hosting support"
How to rectify this error?
/usr/local/bin/php -q /home/dhuhmhsc/public_html/pap/scripts/dailyreports.php
(above two lines are supposed to be in one line only)
But I received the following error message:
"Warning: require_once(../settings/settings.php): failed to open
stream: No such file or directory in
/home/dhuhmhsc/public_html/pap/scripts/global.php on line 16
Fatal error: require_once(): Failed opening required
'../settings/settings.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/dhuhmhsc/public_html/pap/scripts/global.php on line 16"
The "../settings/settings.php" folder and file are existed in the directory.
According to PAP support:
"That error means, that is something wrong with your path, you should ask your hosting support"
How to rectify this error?
Comment