Re: [Refdb-users] php web addnote functional
Status: Beta
Brought to you by:
mhoenicka
|
From: Matt P. <mat...@ut...> - 2004-02-13 23:54:38
|
On Fri, Feb 13, 2004 at 10:32:20PM +0100, Markus Hoenicka wrote: > Hi Matt, > > Matt Price writes: > > Hey folks, > > > > I have finally (after demonstrating to myself many times over that I'm > > a terrible programmer) gotten a barely adequate version of a web 'add > > note' page working. You can find it here: > > http://www.derailleur.org/webref/index.php?format=risx&field=CK&searchText=Garthwaite2002 > > > > First of all, thanks for this effort. Much appreciated. > > > a couple of serious problems: > > > > -searching by author is entirely broken. THis seems to be an issue > > with my refdb installation, as it doesn't work from refbc either. > > > > This is related to the next "problem". > > > - searches don't work on regex's -- that is, they only work when the > > precise, full field value is entered. Again this seems to be a > > problem with my installation of refdb: > > refdbc: getref :CK:=Martin2001 > > gets a reference, whereas > > refdbc: getref :CK:=Martin > > does not. > > > > As you're running the CVS version, you're ahead of the latest NEWS > file (not yet checked in) which will explain a change in the query > syntax. Queries using '=' or '!=' now default to a literal match, this > is why > refdbc: getref :CK:=Martin2001 > works for you. If you want a partial or a regexp match, you have to > use the new tilde operators '~' and '!~' instead: > refdbc: getref :CK:~Martin > > So if I understand your problem correctly, this is an "early adopter" > issue. Sorry for the inconvenience. > > > - this last leads me to another issue with my refdb installation: I > > can't delete notes. > > e.g.: > > refdbc: deletenote :NID:>0 > > 0 datasets deleted, 0 skipped > > The deletenote command expects a whitespace-separated list of ID > values, like this: > refdbc: deletenote 1 3 4-6 > The < and > operators are not (yet) implemented. > > > ... and also I periodically lose the capacity to add notes, and have > > to rebuild my db to get it back > > > > This is a serious issue that I can't reproduce here. In order to fix > this I seriously need more debug information. If you find the time, > please > > - start refdbd with a log level of 7 > - start with a fresh database > - use a defined set of notes and add them until addnote fails > - send me the log and the set of notes that caused the failure. > > I can't fix things which I can't reproduce. I need these data. Hey Markus, sorry to take so long getting you data, but I'm being somewhat unsystematic at the moment -- I will do my best to reproduce the error faithfully and get back to you, but it will likely be a couple of days at best. Looking at my mail it sounds rather plaintive, and I don't mean that actually -- I suspect the problem may lie, for instance, in a faulty installation ofm ysql sor some such. anyway it's my birthday and we have a babysitter so I'm off to the movies -- more sometime later! matt . > > Thanks > Markus > |