From: Charles C. <ch...@ru...> - 2005-01-14 08:08:10
|
On Thu, January 13, 2005 20:29, Charles Corrigan said: > It appears that during the population of the cache with all of the pages > for the PageList, the cache or the intermediate data that is put into the > cache is corrupted, somewhere between > WikiDB_cache->get_versiondata() - line 2051 > and the return from this into > WikiDB_page->getRevision() - line 1123 OK, found something. But I do not understand it. in lib/WikiDB.php, line 2056, WikiDB_cache->get_versiondata() ============================== if ($vdata && !empty($vdata['%pagedata'])) { $this->_pagedata_cache[$pagename] =& $vdata['%pagedata']; // BUG HERE } return $vdata; ============================== To my understanding, this looks like completely legitimate PHP code. However, it _appears_ that the php dictionary goes haywire/gets corrupted at this line (I am a php newbie so I am hesitant to state that it is a bug in php unless an expert can back me up). It is possible that my output is messed up by the the DBG tool but it appears to be consistent and would explain the problems that I am seeing. For example, when opening /PhpWikiAdministration/Chown, the cache is filled with all of the pages in the database. It goes wrong in exactly the same place each time. I have not yet managed to get everyting setup correctly to debug under xdebug which might give better understanding of the problem. Until I get that sorted out, I am stuck. regards, Charles |