View Single Post
Old 08-27-2004, 01:04 PM   #3
WebDiva 2.0
Former Member
 
Join Date: Aug 2004
Posts: 18
I'm having same problems too.

I have puTTy to connect to SSH. I am in -jailshell-2.05b
my path is /home/webdiva/public_html/phpDig/admin/spider.php

When I do this:
php -f /home/webdiva/public_html/phpDig/admin/spider.php http://www.domain-to-index.com/

I get message saying "cannot connect to db check connection file"

The config file does have my correct db/user/pass
the first if statement does contain the absoulte path:
/home/webdiva/public_html/phpDig
(no trailing slash)

When doing: cd to /home/webdiva/public_html/phpDig/admin/
-jailshell-2.05b$ /usr/bin/php -f spider.php http://domain-to-index.com
-jailshell-2.05b Could not open input file: /usr/bin/php/home/webdiva/public_html/phpDig/admin/spider.php

So, I then chmod 755 spider.php and still no joy.

Any thoughts? suggestions, please?
WebDiva 2.0 is offline   Reply With Quote