Last modified: 2010-05-15 16:03:36 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 T17602, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15602 - fwrite to STDERR can fail for command-line script execution
fwrite to STDERR can fail for command-line script execution
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.13.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-14 09:29 UTC by SJ
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

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


Attachments

Description SJ 2008-09-14 09:29:59 UTC
On my local ubuntu system, I have php-cgi running but no php.  As a result, trying to execute a maintenance script that generates an error from the command line leads to this meta-error:

<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>..../includes/Exception.php</b> on line <b>128</b>

Duesentrieb notes:
 ...may be wort to report this, btw - at least for basic error output in Exception.php, an fallback should be installed.  something like if (!STDERR) echo($msg);
Comment 1 Daniel Kinzler 2008-09-15 09:54:17 UTC
fixed in r40852

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


Navigation
Links