PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Requests

Reply
 
Thread Tools
Old 05-25-2004, 03:39 AM   #1
renehaentjens
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
renehaentjens is offline   Reply With Quote
Old 05-25-2004, 04:30 AM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Re: Defensive programming

Quote:
Originally posted by renehaentjens
Or is PhpDig only meant for the smart admins who never run into these kinds of problems?
If there is such a person, I'd like to meet him or her. I think anyone who has tried to customize phpdig in some way or another has run into problems with it, usually of their own making (note that I'm pointing a finger at myself as I say this, because I too am guilty).
vinyl-junkie is offline   Reply With Quote
Reply


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
Gay programming maggiemel The Mole Hole 4 08-16-2003 09:34 PM


All times are GMT -8. The time now is 01:04 AM.


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