From: Arno H. <aho...@in...> - 2001-01-01 10:23:46
|
David, > I've installed Apache 1.3.14, Php 4.04 and phpwiki 1.19 on Windows NT 1.19 has some nasty bugs. Try the nightly tarball instead. > The biggest problem imho is that there is no seed database, zip file or > flat (serialized) file to get one started. ??? If no FrontPage exists, files from pgsrc/ are *automatically* inserte= d=20 into whatwever database you have chosen (dbm, mysql, flatfile, ...) If this didn't work for you, I'd appreciate if you could give as a more=20 detailed bug report. > run your code before delivery with warnings enabled. I do. Not too long ago, I cleaned up a whole bunch of those warnings. Maybe, I didn't check with a fresh install. > There are some suspicious ones which I think makes it fail silently > when warnings are off. Example? > When loading the pages into mysql using the "edit this page" page's Sav= e > button, mysql reported some syntax errors (loudly <g>) yet, when I went > back and reloaded the base page and clicked on the link pointing to the > page i'd just entered, it was there! This behavior stopped after about > the 4th page loading. I guess this has to do with some SQL queries turning up an empty result a= t=20 the beginning. Actually, this can only happen if you start with *no* page= s=20 in your db, whereas if the setup process works you have at least a dozen=20 pages from pgsrc/ in your database. > It would be really nice, given the availability of the page sources, if > there was some sort of initial "load database/zip/flatfile" utility. Apart from the automatic load process (if no FrontPage exists), there's a= =20 "load serialized pages" on the admin page. Or am I misunderstanding=20 something here? > P.S. I tried locking a page (formatting rules), but phpwiki didn't seem > to honor that Could you describe exactly what you are doing and what the results are? Locking works for me. > I don't see any bits in the wiki schema for page access control > do you do it some other way? Currently we distinguish only between two users: admin and everyone else. Admin may edit locked pages, mortals may not (stored in 'flags',=20 FLAG_PAGE_LOCKED is set). Reading is allowed for everyone. A more=20 sophisticated user managament is currently not high priority. /Arno |