PDA

View Full Version : Cron reindexing not working


moreorless
09-26-2005, 05:21 PM
Hi

I've managed to set a cron job for the periodic reindexing on my website. It appears to be functioning as a new spider log is produced each time the job runs. However, the reindexing does not appear to get beyond the first page. The days, links and depth have been set to 0, 20 and 20 respectively in the config file, so that doesn't appear to be the issue.

Any help with this problem will be greatly appreciated.

The spider log generated each time the process runs contains the following information:

Spidering in progress...
-----------------------------
SITE : http://www.otsi.nsw.gov.au/
Exclude paths :
- awstats/
- bus/stats.php
- cgi-bin/
- cp/
- components/
- FAQ/
- ferry/stats.php
- images/
- media/
- phpdig/
- rail/stats.php
- templates/
- webalizer/
- calendar.php
- login.html
XDuplicate of an existing document
1:http://www.otsi.nsw.gov.au/
(time : 00:00:00)
+
level 1...
(time : 00:00:00)

No link in temporary table
links found : 1
Optimizing tables...
Indexing complete !

Thanks

Charter
09-27-2005, 08:25 AM
It looks like the page you set for reindex hasn't changed, or looks like another page that hasn't changed, since last index. On next reindex try entering the site on a page that is new or changed, or resave the main index page so to give the file an updated timestamp. Also nix this (http://www.phpdig.net/forum/showthread.php?t=2005) bug.

moreorless
10-02-2005, 10:23 PM
Thanks Charter, that was a help.

Using forceall in the cron command also seems to have had an effect. I guess there is more than one way to skin a cat, or a mole as the case may be.

I'd like to take the opportunity to thank you and all the others involved in the development of PHPDig. It's a great product. I've been looking around for what seems like years for a sophisticated site search function that can be installed and configured by someone (i.e. me) who is not a hardcore programmer. PHPDig sure fits the bill. Great work.

Cheers