Page MenuHomePhabricator

File Cache created for error page
Closed, ResolvedPublic

Description

I have filecaching enabled on my wiki ($wgUseFileCache = true) . Today, my server had a hiccup where it ran out of memory, and it was throwing errors, rather than displaying the page. It actually created a page with the text "Fatal error: Out of memory (allocated 11796480) (tried to allocate 4864 bytes) in .../public_html/wiki/includes/Xml.php on line 414"

The problem though is that it actually outputted this page, and then stored a copy of it in the file cache. (I was able to quickly fix it by purging it.) I would think that it shouldn't store pages in the file cache if mediawiki encounters an error in rendering the page.


Version: 1.14.x
Severity: normal
URL: http://tmbw.net

Details

Reference
bz18573

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:37 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz18573.
bzimport added a subscriber: Unknown Object (MLST).

Just a note: this has been fixed since 1.15.0.