From: Bill G. <wbg...@al...> - 2005-11-05 03:30:20
|
Thanks for the help! I'm partly successful now. Reini Urban wrote: > For the first help you should move the InterWikiMap file out > of your pgsrc to continue loading. Hmm. First, I destroyed/initialized the mysql database. Then I moved out InterWikiMap file, and was able to get to the end of the load! (Earlier, I had merely renamed the file in the pgsrc dir to something like Z-InterWikiMap, and it still managed to load it as InterWikiMap. So I guess it doesn't care about the filename per se :) Should realized that! Moving it out took care of that.) > The special _tryinsertInterWikiMap is only called once from > loadsave.php:SetupWiki > > Your crash is probably somewhere in PageType.php:PageType_interwikimap > > As next you could store a dummy static $this->_map, > which should be enough > > function PageType_interwikimap($pagetext = false) { > $this->_map = array('Upload' => 'uploads'); > $this->_regexp = $this->_getRegexp(); > } I applied that fix, too, then took it out and had the same result of NO crash with the original PageType.php. So it doesn't seem to matter. OTOH, we still don't know what caused the crash. If I apply this fix but leave InterWikiMap in, it executes this new constructor and then crashes. But now I have a new problem: I now have a HomePage, but I can't leave it! No matter what I click, the URL does change (like //host/wiki/index.php/SandBox), but the HomePage display remains. It's the same for clicking Edit, LockPage, etc. I tried changing config.php to CACHE_CONTROL = NO_CACHE, but this had no effect. Ditto for USE_CACHE = false. Bill Gardner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dr. William Gardner, Assistant Professor Dept. of Computing & Info Science tel: (519)824-4120 x52696 University of Guelph fax: (519)837-0323 105 Reynolds email: wga...@ci... Guelph, ON N1G 2W1 http://www.cis.uoguelph.ca/~wgardner |