From: Arno H. <aho...@xm...> - 2001-01-09 17:55:20
|
cc'ed to phpwiki-talk as it might be of interest to others as well .... (sorry Steve, you receive it twice) ------------ Hi Richard, I'm Arno, one of the developers of phpwiki. Steve asked me to help him tr= y=20 to figure out what your problem is. =46rom the emails Steve sent me, it seems the problem is either very mund= ane=20 or pretty sophistcated. To ensure that everything is going as it should b= e, please make the following steps and send us the results. - which version of phpwiki are you using? I suggest downloading the nightly tarball from ftp://phpwiki.sourceforge.net/pub/phpwiki/phpwiki.nightly.tar.gz Untar it and try it out, still no page? - send us the result from a call to phpinfo() The following assumes a fresh install from the nightly tarball. - in config.php line 4: change error_reporting(E_ALL ^ E_NOTICE); to error_reporting(E_ALL); - in dbmlib.php line 35 remove the "@" in front of dbmopen()=20 - if you have time add the following prints to OpenDataBase() in dbmlib.p= hp: (lines marked with ###########) function OpenDataBase($dbname) { global $WikiDB; // hash of all the DBM file names print "entered OpenDataBase($dbname)\n"; flush(); ############ reset($WikiDB); while (list($key, $file) =3D each($WikiDB)) { print "trying db -$key-, file -$file-\n"; flush(); ########## while (($dbi[$key] =3D dbmopen($file, "c")) < 1) { print "result was -$dbi[$key]-\n"; flush(); ############ $numattempts++; if ($numattempts > MAX_DBM_ATTEMPTS) { ExitWiki("Cannot open database '$key' : '$file', giving=20 up."); } sleep(1); } print "final key is -$dbi[$key]-\n"; flush(); ########### } print "leaving OpenDataBase()\n"; flush(); ############### return $dbi; } - look at index.php again, do a "View HTML source" in your browser and send us what you see there (byte for byte) This should give us a good clue, what is happening. I'm concentrating on OpenDataBase(), because in one of your emails you wr= ote that you see the print before, but not the print directly after=20 OpenDataBase() Btw, have you made sure that all files *and* directories are readable by Apache? This includes lib/*, template/*, and pgsrc/* Thanks for helping us debugging phpwiki /Arno |