![]() |
|
| |||||||
| Notices |
| CPanel - Control Panel All Cpanel questions and issues. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
|
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? |
|
#2
| ||||
| ||||
|
Try changing the path you have set as .:/usr/lib/php:/usr/local/lib/php') to '../usr/lib/php:/usr/local/lib/php') Two dots ".." instead of ".:"
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |