From: Bill G. <wga...@ci...> - 2005-11-04 15:48:00
|
Hi - I'm installing 1.3.11p1 on i86 Solaris 9, with apache2, php5, and mysql4 all from CSW. The database is all set up and initialized. I'm also using HTTP access control. When I initially browse to index.php and log in, this is the latest output (I've done this a few times): ---------- Loading up virgin wiki AddCommentPlugin from MIME file /opt/csw/apache2/share/htdocs/wiki/pgsrc/AddCommentPlugin content is identical to current version 1 - no new revision created [lots more alphabetical entries cut] InterWiki from MIME file /opt/csw/apache2/share/htdocs/wiki/pgsrc/InterWiki content is identical to current version 1 - no new revision created InterWikiSearch from MIME file /opt/csw/apache2/share/htdocs/wiki/pgsrc/InterWikiSearch content is identical to current version 1 - no new revision created InterWikiMap --------- and there the output dies. If I remove InterWikiMap from pgsrc, then the loading goes right on through to _AuthInfo, then it prints "InterWikiMap" and dies. By inserting echo statements, I've determined that the constructor for PageType_interwikimap in lib/PageType.php does execute, but I can't follow where it's bombing after that. If I could figure out how to suppress it loading InterWikiMap altogether, I would be happy to try that. I should also say that before I started tinkering, the default empty InterWikiMap caused it to read the interwiki.map file, and it was dying in exactly the same way. In case it was a problem with that file, I inserted some bogus <verbatim> lines into InterWikiMap to prevent it reading the file. Indeed, that prevented it, but I still can't get past this crash. Can anyone help?? Thanks! 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 |
From: Reini U. <ru...@x-...> - 2005-11-04 22:31:35
|
Very interesting, we never had Solaris 9 before. I try to figure out what's different with your platform. My daily harness tests contain several virgin loads for lots of possible configurations. (see tests/unit/test.php test=3DSetupWiki) For the first help you should move the InterWikiMap file out of your pgsrc to continue loading. Hmm. 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(); } PageType_interwikimap itself is needed at a lot of places to detect the linktype. 2005/11/4, Bill Gardner <wga...@ci...>: > Hi - I'm installing 1.3.11p1 on i86 Solaris 9, with apache2, php5, and > mysql4 all from CSW. The database is all set up and initialized. I'm > also using HTTP access control. > > When I initially browse to index.php and log in, this is the latest > output (I've done this a few times): > > ---------- > Loading up virgin wiki > AddCommentPlugin > from MIME file > /opt/csw/apache2/share/htdocs/wiki/pgsrc/AddCommentPlugin content is > identical to current version 1 - no new revision created > [lots more alphabetical entries cut] > InterWiki > from MIME file /opt/csw/apache2/share/htdocs/wiki/pgsrc/InterWiki > content is identical to current version 1 - no new revision created > InterWikiSearch > from MIME file > /opt/csw/apache2/share/htdocs/wiki/pgsrc/InterWikiSearch content is > identical to current version 1 - no new revision created > InterWikiMap > --------- > > and there the output dies. If I remove InterWikiMap from pgsrc, then > the loading goes right on through to _AuthInfo, then it prints > "InterWikiMap" and dies. By inserting echo statements, I've determined > that the constructor for PageType_interwikimap in lib/PageType.php does > execute, but I can't follow where it's bombing after that. If I could > figure out how to suppress it loading InterWikiMap altogether, I would > be happy to try that. > > I should also say that before I started tinkering, the default empty > InterWikiMap caused it to read the interwiki.map file, and it was dying > in exactly the same way. In case it was a problem with that file, I > inserted some bogus <verbatim> lines into InterWikiMap to prevent it > reading the file. Indeed, that prevented it, but I still can't get past > this crash. > > Can anyone help?? Thanks! -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
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 |
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 |