From: Steven M. <st...@mu...> - 2001-10-21 21:14:47
|
Hi All, I've been having fun playing with the new features the alpha version gives, and it has mostly worked well. I have had a couple of problems, which I will explain here in the hope that it will help anyone else who is having the same problems. The first happens when the "History" of a page is requested in order to perform a diff. The pageinfo.php file is used, however when the diff is requested, a diff on HomePage is performed regardless of the page whose History is being displayed. This seems to be due to the pageinfo page not including a pagename field. This problem could occur because I have set USE_PATH_INFO to be false. The attached patch adds a pagename field to pageinfo, and while it might not be the correct solution it at least seems to work on my installation. Often when a diff is requested on a page with many revisions, and is performed on the HomePage (which has few revisions), a revision cannot be retried, which causes another problem. If diff cannot find a revision the NoSuchRevision() function in stdlib.php is called, which in turn calls GeneratePage(). However GeneratePage() is not defined and a error message is displayed. The GeneratePage() function of relevance seems to be defined in Template.php so the attached patch includes this file. Once again this might not be the best way to do it since I am not familiar with PHP in general nor PHPWiki in particular, but it works for me. I have posted bug reports about these problems on Sourceforge too. Hope this helps, Steven Murdoch. |