From: Steve W. <sw...@pa...> - 2000-12-31 19:49:13
|
Hi David, happy new year!... > I've installed Apache 1.3.14, Php 4.04 and phpwiki 1.19 on Windows NT > 4.0sp6, and things aren't working so well. > > I have been able to get a default frontpage to come up, but when I set up > k:/apache/htdocs/phpwiki/mywiki/Pages using the content of the pgsrc dir, it > won't serve any of those pages. (Also changed lib/config.php to use the > 'file' db type and also modified the paths as needed.) > I modified the error reporting at the top of the index.php file and got the > following: > Warning: unserialize() failed at offset 0 of 337 bytes in > lib/db_filesystem.php on line 52 Ah... you're using the flat-file database approach, which is severely alpha in quality. I have never installed it myself. I won't have time today, and probably not tomorrow either, but definitely this week. > Warning: Undefined variable: hash in lib/stdlib.php on line 113 > > Warning: Undefined variable: hash in lib/stdlib.php on line 115 > > Warning: Undefined variable: hash in lib/stdlib.php on line 117 > > >From what I understand of php, the undefined variables are probably not a > problem, but the unserialize is something I know nothing about. PHP has a built-in function pair, serialize() and unserialize(). They take an array and convert it to/from a string. This is so the arrays can be written to a file and later restored. > > Also, on the default "FrontPage" page that does come up, clicking on any of > the links for editing etc. don't work at all - I get a blank page after a > longish delay (server timing out?). I think this might be due to some > setting that's not correct in the apache config file, but i'm clueless about > what it might be. Do you get the "connection reset by peer" error in your Apache errors file? > BTW, admin/wikiadminforms.php comes up beautifully! Then, the "download > zips" stuff won't work. Not a surprise, since it doesn't require a database hit to render the page... not as I recall, anyway. > Any insight you might have would be appreciated. > > Sincerely, > > Dave LeBlanc I'm cc'ing this to phpwiki-talk in case Ari is out there, who wrote the flat file support. cheers sw -- http://wcsb.org/~swain/ | "In a calendar year, America's entire * * * * * * | recorded music industry has revenues * * * * * * | roughly equal to one month's sales by * * * * * * | IBM." --Philip Greenspun |