Problems running command line
Hi, I can index my site fine from the web interface, but when it comes to the command line, nothing happens. As in, I type in the usual php -f spider.php forceall > spider.log (php is in my path and i'm running it from the admin/ directory), and it immediately exits from the spider.php script. When I check the spider.log file, it's blank. Any suggestions? I'm running phpdig 1.8.7
|
Okay, I've basically narrowed it down to a problem with calling mysql_connect in includes/connect.php. The problem seems to be that it just isn't coming back from this functional call. I tested by putting echo statements before and after this call. Only the one before showed, and the script broke after that. Anyone else have this problem? Apparently I'm running php v4.1.2
|
Check the the following are set correctly in the connect.php file:
Code:
define('PHPDIG_DB_PREFIX','<dbprefix>'); |
All times are GMT -8. The time now is 07:41 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.