Hi,
I just installed phpwiki, version 1.2, at my home
computer: a debian potato.
Everytime I modified the front page, I got an error.
I searched and found that the error was due to the
following SQL query:
wiki (author, content, created, flags, lastmodified, pagename, refs,
version) values ('', '____September 2, 2001 * [FrontPage]
([diff|phpwiki:?diff=FrontPage]) ..... 217.128.30.29 ', ,//
0, 999454843, 'RecentChanges', 'a:0:{}', )
so I change the lib/mysql.php file:
$VALUES = "'$pagehash[author]', '$pagehash[content]', " .
"$pagehash[created], $pagehash[flags], " .
"$pagehash[lastmodified], '$pagehash[pagename]', " .
"'$pagehash[refs]', $pagehash[version]";
became:
$VALUES = "'$pagehash[author]', '$pagehash[content]', " .
"'$pagehash[created]', '$pagehash[flags]', " .
"'$pagehash[lastmodified]', '$pagehash[pagename]', " .
"'$pagehash[refs]', '$pagehash[version]'";
and now it works well.
thanks you for this beautiful program,
bye
|