PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 11-06-2006, 09:48 PM   #1
carlaron
Green Mole
 
Join Date: Nov 2006
Posts: 1
command line indexing that actually works

I tried about every suggestion in this forum, and I could not get a command-line index updating to work... the documentation says to run spider with /usr/bin/php -f, several people suggested usign wget or lynx to simulate loading it via the web... nothing worked. It would not give any errors, it just never did ANYTHING to the index.

Finally, instead of putting the /usr/bin/php -f in front of my /path/to/phpdig/admin/spider.php, I just set the permissions on spider.php to 744 (owner can execute, everyone else can only read) and called it directly, like this...

/path/to/phpdig/admin/spider.php all

and it works like a charm... I was able to put that simple command into cron and it re-indexes every night now.
carlaron is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line vs. admin indexing wx3 Troubleshooting 8 09-08-2004 01:31 AM
Can I close Putty during command line indexing? Nosmada How-to Forum 7 01-23-2004 04:46 PM
indexing from command line with text file Wayne McBryde Troubleshooting 8 01-12-2004 06:56 PM
Indexing by command line... Canadian How-to Forum 4 01-04-2004 07:44 PM
Indexing by command line interface Skop Troubleshooting 8 10-14-2003 03:23 AM


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


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