shelly
03-17-2007, 11:16 PM
Hi has anybody got sposored cron working??
I have tried with these 2 paths?
/usr/bin/php /home/shelly/public_html/mysite/cron/sponsored.php
and
php /home/shelly/public_html/mysite/cron/sponsored.php
but both paths give me the error:
X-Powered-By: PHP/4.4.4
Content-type: text/html
<br />
<b>Warning</b>: main(/includes/compat.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />
<br />
<b>Warning</b>: main(/includes/compat.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />
<br />
<b>Warning</b>: main() [<a href='function.include'>function.include</a>]: Failed opening '/includes/compat.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />
Thanks
Shelly
I have tried with these 2 paths?
/usr/bin/php /home/shelly/public_html/mysite/cron/sponsored.php
and
php /home/shelly/public_html/mysite/cron/sponsored.php
but both paths give me the error:
X-Powered-By: PHP/4.4.4
Content-type: text/html
<br />
<b>Warning</b>: main(/includes/compat.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />
<br />
<b>Warning</b>: main(/includes/compat.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />
<br />
<b>Warning</b>: main() [<a href='function.include'>function.include</a>]: Failed opening '/includes/compat.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/shelly/public_html/mysite/includes/config.inc.php</b> on line <b>108</b><br />
Thanks
Shelly