Last modified: 2011-11-10 08:46:28 UTC
PHP Warning: gzwrite() expects parameter 1 to be resource, boolean given in /www/w/maintenance/generateSitemap.php on line 358 When generating sitemap, obviously.
Created attachment 9368 [details] add traceback when boolean used as a file handle I can not reproduce locally. Looks like at some point a file could not be opened hence $this->file receive the 'false' value which is then used as a file handle. One way to track this issue would be to add a check in the write function so it emits a stack trace when a boolean is used as a handle. See attached patch.
I think hashar committed some fail-fast code for this.
+patch, +need-review
Now checked, committed in r102286.