I've gotten MediaWiki up and installed over the last couple of days, and generally I've been impressed by a highly professional & good looking product.
However, I've already had a few different weird cases where pages just stopped displaying.
In the first case I had to delete the page and recreate it before I could ever view it again. Even totally emptying out the page didn't change it.
In the second case the original user couldn't display the page, non-logged in users couldn't display the page, but I could. I added a space to the end of the file, and the original user could view it again, but non-logged in users still can't.
In each case, the page just doesn't show up. In Firefox it won't go to the page, in IE it gives the familiar "The page cannot be displayed" page.
MediaWiki (http://wikipedia.sf.net/): 1.4.2 PHP (http://www.php.net/): 4.1.2 (apache) MySQL (http://www.mysql.com/): 3.23.49-log Retrieved from "http://www.rpg.net/wiki/index.php/Special:Version"
Here's what the debug shows on failure:
===
Start request GET /wiki/index.php/FANGS:_Appendix_A_-_Equipment Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* Accept-Encoding: gzip, deflate Accept-Language: en-us Connection: Keep-Alive Cookie: adPrefs=All; bbuserid=981; bbpassword=3273a4296f1cbee6a98045b7c083859e; Drpg.netFRQSTR=18535685x48955:3:20,18535685,18535685,18535685,18535685; bbsessionhash=fc42c483b62fa8e03e0082bfa2f970a2; bbthread_lastview=b17cf3ac3586f73334b400b81c19eec9ax1x-ix188937ysx10x%221115067 406%22y_; Dwww.rpg.netFRQSTR=18317255,18317255,18317255,18317255; ebNewBandWidth_.www.rpg.net=1292%3A1099035252058; PHPSESSID=c6eb8ff61bda1f5eb311b50374422936; wikidbUserName=ShannonA; wikidbLoggedOut=20050502223706 Host: www.rpg.net If-Modified-Since: Mon, 02 May 2005 22:31:23 GMT; length=83202 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Alexa Toolbar; .NET CLR 1.1.4322)
Using reader #0: localhost -- client send If-Modified-Since: Mon, 02 May 2005 22:31:23 GMT -- we might send Last-Modified : Mon, 2 May 2005 22:41:56 GMT READY client: 20050502223123 ; user: 20050502223706 ; page: 20050502224156 tryFileCache() - not cacheable Trying parser cache wikidb:pcache:idhash:982-1!1!0!1!0!1!0!!en ===
Here's what I see for the same page when I'm logged back in, and can thus view it:
===
Start request GET /wiki/index.php/FANGS:_Appendix_A_-_Equipment Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* Accept-Encoding: gzip, deflate Accept-Language: en-us Connection: Keep-Alive Cookie: adPrefs=All; bbuserid=981; bbpassword=3273a4296f1cbee6a98045b7c083859e; Drpg.netFRQSTR=18535685x48955:3:20,18535685,18535685,18535685,18535685; bbsessionhash=fc42c483b62fa8e03e0082bfa2f970a2; bbthread_lastview=b17cf3ac3586f73334b400b81c19eec9ax1x-ix188937ysx10x%22111506 7406%22y_; Dwww.rpg.netFRQSTR=18317255,18317255,18317255,18317255; ebNewBandWidth_.www.rpg.net=1292%3A1099035252058; PHPSESSID=c6eb8ff61bda1f5eb311b50374422936; wikidbUserName=ShannonA; wikidbLoggedOut=20050502223706; wikidbUserID=1; wikidbToken=8cf28addf0d3573ae6054ddf3869bd4b Host: www.rpg.net If-Modified-Since: Mon, 02 May 2005 22:31:23 GMT; length=83202 Referer: http://www.rpg.net/wiki/index.php/FANGS:_Main_Page User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Alexa Toolbar; .NET CLR 1.1.4322)
User::loadFromSession() unable to load from memcached Using reader #0: localhost User::loadFromSession() successfully saved user
-- client send If-Modified-Since: Mon, 02 May 2005 22:31:23 GMT -- we might send Last-Modified : Mon, 2 May 2005 22:55:01 GMT READY client: 20050502223123 ; user: 20050502225501 ; page: 20050502224156 tryFileCache() - not cacheable Trying parser cache wikidb:pcache:idhash:982-1!1!0!1!0!1!!0!en Found. ** private caching; Mon, 2 May 2005 22:55:01 GMT ** Request ended normally ===
Any help is appreciated, because I feel like I'm sitting on a time bomb now, with pages randomly becoming unviewable.
Thanks!
Shannon
Shannon Appelcline wrote:
In the first case I had to delete the page and recreate it before I could ever view it again. Even totally emptying out the page didn't change it.
In the second case the original user couldn't display the page, non-logged in users couldn't display the page, but I could. I added a space to the end of the file, and the original user could view it again, but non-logged in users still can't.
[snip]
Trying parser cache wikidb:pcache:idhash:982-1!1!0!1!0!1!0!!en
Sounds like a problem with the parser cache; if it's really ending there it would seem to be dying somewhere during the cache load operation.
Are you using the default configuration, or did you pick the memcached or Turck MMCache options in installation?
Putting ?action=purge onto the URL should invalidate any entries on that page and may or may not help.
If it is a problem with the parser cache, you may be able to work around it by simply disabling the cache. Try setting in LocalSettings.php:
$wgEnableParserCache = false;
This may cause longer pages to load a bit more slowly.
MediaWiki (http://wikipedia.sf.net/): 1.4.2 PHP (http://www.php.net/): 4.1.2 (apache) MySQL (http://www.mysql.com/): 3.23.49-log Retrieved from "http://www.rpg.net/wiki/index.php/Special:Version"
These are pretty old versions of PHP and MySQL which don't receive as much active testing, so might be a problem specific to them...
-- brion vibber (brion @ pobox.com)
On 5/3/05, Brion Vibber brion@pobox.com wrote:
Sounds like a problem with the parser cache; if it's really ending there it would seem to be dying somewhere during the cache load operation.
Are you using the default configuration, or did you pick the memcached or Turck MMCache options in installation?
It's default.
Putting ?action=purge onto the URL should invalidate any entries on that page and may or may not help.
If it is a problem with the parser cache, you may be able to work around it by simply disabling the cache. Try setting in LocalSettings.php:
$wgEnableParserCache = false;
This may cause longer pages to load a bit more slowly.
Of those nothing worked until I got to the LocalSettings.php file. I just had another page crop up like this (for my account this time, and *not* no account) and it resolved with turning off the cache.
Anything else I can do to help debug or this, or is the answer just to get to more recent PHP/MySQL?
Shannon
Shannon Appelcline wrote:
Of those nothing worked until I got to the LocalSettings.php file. I just had another page crop up like this (for my account this time, and *not* no account) and it resolved with turning off the cache.
Great, at least something worked. :)
Anything else I can do to help debug or this, or is the answer just to get to more recent PHP/MySQL?
If you can make a backup dump of the 'objectcache' table (with mysqldump or possibly phpmyadmin can do this), I can try poking at that to see if I can reproduce the load error.
There should be some error logging options available in PHP's php.ini file which might also help (error_reporting and error_log_file I think); PHP fatal errors can't be logged to our internal debug log because the entire script dies at that point.
-- brion vibber (brion @ pobox.com)
On 5/3/05, Shannon Appelcline shannon.appelcline@gmail.com wrote:
Anything else I can do to help debug or this, or is the answer just to get to more recent PHP/MySQL?
Are you using a farm, with internal caching?
If it caches it on one server, then tries to retrieve it on another, there won't be anything, I think.
I am not expierienced in how these things generally work, but that may be what's going on.
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2+ GiB.
mediawiki-l@lists.wikimedia.org