Last modified: 2011-04-04 21:28:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18505, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16505 - Incompatibility between parser cache and PHP 5.3-snapshot version
Incompatibility between parser cache and PHP 5.3-snapshot version
Status: RESOLVED DUPLICATE of bug 15854
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.13.x
Other Solaris
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-30 10:15 UTC by Uwe Schindler
Modified: 2011-04-04 21:28 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Uwe Schindler 2008-11-30 10:15:21 UTC
I am member of the development team of PHP, maintaining the NSAPI webserver module. During tests of my module and the 1.13.2 version of mediawiki, I have seen blank pages whenever a page was not in the (parser?) cache. My installation has enabled the cache that puts these html files into this temp folder (I do not know whats the difference between parser cache an cache is).

After enabling printout of errors (error_reporting(E_ALL) in LocalSettings.php), whenever I call a page not in the cache, I get the following error:

Fatal error: Call to a member function getCacheTime() on a non-object in /pangaea/htdocs/wiki.pangaea.de/includes/Article.php on line 3387

Other pages (when previously called) are shown normal, without errors. Special pages and so on show correct, too.

It seems to be a difference between parsing of the mentioned line in PHP 5.2 (where the wiki normally runs, it was only a test of the preview, using the wiki installation normally running in 5.2). I do not know if this i san error in PHP, but I think the problem is a more strict checking of the if-clause there.

To reproduce, install a PHP-5.3 snapshot version (I used the one from November 29, 2008) or the alph3 version hopefully coming on Monday, Dec. 1, 2008.

By the way, Mediawiki is running perfect with Sun Java System Webserver 7.0U3 using the NSAPI PHP module (see http://wiki.pangaea.de/wiki/Special:Version) and some extra (self-made) URL rewriting instructions in the webserver (as they are different from Apache).
Comment 1 Alexandre Emsenhuber [IAlex] 2008-11-30 10:28:01 UTC
Maybe related to bug 15854, try to update to the latest development version (http://www.mediawiki.org/wiki/Download_from_SVN) and see if this bug is still present in that version.
Comment 2 Uwe Schindler 2008-11-30 10:35:34 UTC
This looks like the problem. I try later!

Sorry for not finding this bug report, but i used the search function with parts of the error message, but bugzilla does not seem to full text index the comments. The title of bug 15854 is not very descriptive for my problem :)
Comment 3 Uwe Schindler 2008-11-30 14:06:46 UTC
I changed the one line in Parser.php according to bug 15854, this fixes this bug. So it is a dupe.

*** This bug has been marked as a duplicate of bug 15854 ***
Comment 4 Alexandre Emsenhuber [IAlex] 2009-02-11 08:52:17 UTC
*** Bug 17407 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links