PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   command line and ABSOLUTE_SCRIPT_PATH (http://www.phpdig.net/forum/showthread.php?t=1734)

olivier 02-10-2005 09:34 AM

Same problem here with FreeBSD 4.9

su-2.05b# /usr/local/bin/php -f /usr/local/www/data/phpdig/admin/spider.php /var/cron/phpdig.txt >> /var/log/spider.log
PHP Warning: main(../includes/config.php): failed to open stream: No such file or directory in /usr/local/www/data-dist/phpdig/admin/spider.php on line 96
PHP Warning: main(): Failed opening '../includes/config.php' for inclusion (include_path='.:') in /usr/local/www/data-dist/phpdig/admin/spider.php on line 96
PHP Notice: Use of undefined constant USE_RENICE_COMMAND - assumed 'USE_RENICE_COMMAND' in /usr/local/www/data-dist/phpdig/admin/spider.php on line 98
PHP Warning: main(../admin/robot_functions.php): failed to open stream: No such file or directory in /usr/local/www/data-dist/phpdig/admin/spider.php on line 115
PHP Warning: main(): Failed opening '../admin/robot_functions.php' for inclusion (include_path='.:') in /usr/local/www/data-dist/phpdig/admin/spider.php on line 115
PHP Fatal error: Call to undefined function: phpdigprnmsg() in /usr/local/www/data-dist/phpdig/admin/spider.php on line 131


I used the same trick and it is working now... Thanks Drywall and Charter!

Olivier.


All times are GMT -8. The time now is 01:58 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.