|
05-25-2004, 03:39 AM | #1 |
Orange Mole
Join Date: Nov 2003
Posts: 69
|
Defensive programming
I just spent a couple of hours trying to find out why a newly installed PhpDig 180 was finding all the website pages, but never found any single keyword in them. In other words, the keywords table remained empty.
It was my own stupid mistake. I had altered the config file, changing MAX_WORDS_SIZE to 50, so I thought, but it turned out that due to my thick fingers, it had been set to 0. So PhpDig did exactly what I asked it to do: ignore all keywords with more than 0 characters. For the likes of me, who sometimes do silly mistakes, it would be a giant enhancement if PhpDig could do a couple of basic checks before starting and even while it is doing its gigantic task of finding pages, parsing them for keywords etc. Not so long ago, I had another problem that took me hours before I knew what I had done wrong and where again a simple check would have been a great help: http://www.phpdig.net/showthread.php...=3299#post3299 Or is PhpDig only meant for the smart admins who never run into these kinds of problems?
__________________
René Haentjens, Ghent University |
05-25-2004, 04:30 AM | #2 | |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Re: Defensive programming
Quote:
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gay programming | maggiemel | The Mole Hole | 4 | 08-16-2003 09:34 PM |