From: Reini U. <ru...@x-...> - 2005-11-05 13:55:03
|
2005/11/5, Bill Gardner <wbg...@al...>: > 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 =3D false) { > > $this->_map =3D array('Upload' =3D> 'uploads'); > > $this->_regexp =3D $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. Ok, I have some vague idea about the php5 constructor phase within GetMap(). Which php version exactly? Can you setup some temp.<? phpinfo() ?> php page please to let me have a look at it. > 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 =3D NO_CACHE, but this had n= o > effect. Ditto for USE_CACHE =3D false. That's no cache problem, thats' entirely an unknown $_REQUEST problem with your PHP5 or apache on Solaris. phpinfo() would help immensily. -- Reini Urban |