PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Spidering from shell - returns immediately, with nothing (http://www.phpdig.net/forum/showthread.php?t=2042)

ciaran@clissman 06-17-2005 02:32 AM

Spidering from shell - returns immediately, with nothing
 
Hi,

I'm calling spider.php from the shell, like this

1) I cd to the admin directory
2) php -f spider.php http://mysite.com

The script returns immediately.

A previous thread suggested that I needed to check my db connection variables; these are all fine (and I can run phpdig from the web interface no problem).

I know the php is ok, because I have run other php scripts in this manner, both from shell and as cron jobs.

I'm using version 1.8.7.

Any ideas ?

Thanks

Ciaran, Dublin, Ireland

ciaran@clissman 06-17-2005 03:14 AM

My Mistake
 
Hmmm, the problem was that I had an unnoticed space in my relative path variable in the config file. What a waste of a day and a bit... :rolleyes:

Ciaran


All times are GMT -8. The time now is 06:02 PM.

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