|
From: Steve W. <sw...@pa...> - 2001-08-01 17:42:06
|
On Wed, 1 Aug 2001, Andreas Krueger wrote: > I have installed your phpwiki again, > at www.andreask.de/phpwiki > you can see what happens. > Changing pages works fine, but still, > there are "XXX Cannot replace" error-messages. This is a mystery so far. This error message does not seem to exist in the PhpWiki source code, so it might be coming from PHP itself. I'm still looking. > And the "5 best incoming links, 5 best outgoing links, 5 most popular > nearby." are not shown. I should have mentioned earlier (and I believe this is in the INSTALL notes) that not all the features are implemented in the DBM version of PhpWiki. The related links features are based on SQL queries that we did not duplicate in 1.2. A user sent a patch some time ago but I never got it to work for me. > the one line: > $DBMdir = "/homepages/10/d10226928/htdocs/andreask/phpwiki/db"; > > I had to use this absolute path, because > $DBMdir = "/andreask/phpwiki/db"; > > resulted in errors That would be the correct thing to do... by the way Netcraft claims your ISP is running Linux, just so you know. cheers ~swain > > > > Hello Steve, > Thanks again for answering. > > > Please tell me what version of PhpWiki you are using > the newest: 1.2.0 02/01/01 > > > which database > I chose "default", so dbm, right? > > > what platform you are running on > I don't know, sorry. > > > and what version of PHP. > I found out about my PHP asking the provider: > PHP 4.0.6 > there is also an PHP 3.0.16 installed, > which can be chosen by *.php3 > > > I am currently trying out usemod092, a perl-based wiki. > Are there different dialects of Wiki-Markup? > > > Initial Comment: > I got these php-errors using the /admin tools: > /admin/dumpserial.php --------------------- Fatal error: Call to undefined > function: getallwikipagenames() in > /homepages/10/d10226928/htdocs/andreask/cp/wiki/admi n/dumpserial.php on > line 10 /admin/zip.php -------------- Fatal error: Call to undefined > function: closedatabase () in > /homepages/10/d10226928/htdocs/andreask/cp/wiki/admi n/zip.php on line 71 > How can I use the /admin - tools? ciao, AndreasK > > ---- > > The admin.php gave an error500 until I removed all those lines: // from the > manual, Chapter 16 if (($PHP_AUTH_USER != $wikiadmin ) || > ($PHP_AUTH_PW != $adminpasswd)) { Header("WWW-Authenticate: Basic > realm=\PhpWiki\"); Header("HTTP/1.0 401 Unauthorized"); echo > gettext ("You entered an invalid login or password."); exit; } > Now my admin.php is without password - but at least it works... ciao, > andreasK > > terrible, that sourceforge removes the cr-returns from my message... > > > Did you set the username and password for the > > administrator first? > yes, I did. > Only to "a" and "a", but I also tried other words. Any rules? > > Before that I got the error message "Set the administrator account and > password first", which showed, that the script worked perfectly up to that > line... > > > admin.php will not work > > without having the username and password defined. > yes, I read that. > > > With those lines removed anyone can use administrator > > features of your Wiki. > I know, that's a pity, but the directory is password-protected, anyway, so > not a terrible problem, this one. > > > THX, > Andreas > > > > > Hi Steve, > > > > > > Thanks for PHP Wiki, I am currently trying it out > > > as a development plattform for a small project. > > > Very useful, these Wiki's! > > > > > > I have already posted two questions in /bugs > > > > > > but here are more: > > > a) > > > Somewhere I have seen YOUR PhpWiki with 3 > > > automatic footer-lines which show: > > > 5 best incoming links, 5 best outgoing links and > > > 5 most popular nearby. > > > > > > How can I do that? > > > > > > b) > > > With admin.php I often get the message: > > > XXX Cannot replace > > > But the action is actually done perfectly. > > > > > > Also index.php sometimes reacts like that: > > > XXX Cannot replace XXX Cannot replace > > > > > > Thanks a lot in advance, > > > AndreasK > > > > > > > > > --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa http://pgp.document_type.org:11371/pks/lookup?op=get&search=0xF7323BAC |