Last modified: 2010-09-19 10:17:17 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 T27211, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25211 - FCKeditor browser requirement breaks maintenance/update.php
FCKeditor browser requirement breaks maintenance/update.php
Status: RESOLVED DUPLICATE of bug 20810
Product: MediaWiki extensions
Classification: Unclassified
FCKeditor (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-19 02:12 UTC by Juliano F. Ravasi
Modified: 2010-09-19 10:17 UTC (History)
0 users

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


Attachments

Description Juliano F. Ravasi 2010-09-19 02:12:28 UTC
maintenance/update.php is run from the shell, and many server vars aren't present for PHP CLI. FCKeditor (in REL1_16_0 at least) tries to access $_SERVER['HTTP_USER_AGENT'], among others:

.../mediawiki% php maintenance/update.php
PHP Notice:  Undefined index: HTTP_USER_AGENT in .../mediawiki/extensions/FCKeditor/fckeditor/fckeditor_php5.php on line 37
PHP Stack trace:
PHP   1. {main}() .../mediawiki/maintenance/update.php:0
PHP   2. require_once() .../mediawiki/maintenance/update.php:15
PHP   3. require() .../mediawiki/maintenance/commandLine.inc:45
PHP   4. require_once() .../mediawiki/maintenance/doMaintenance.php:77
PHP   5. include() .../settings/LocalSettings.php:32
PHP   6. require_once() .../settings/GeneralSettings-wiki.php:186
PHP   7. FCKeditor->IsCompatible() .../mediawiki/extensions/FCKeditor/FCKeditor.php:93
PHP   8. FCKeditor_IsCompatibleBrowser() .../mediawiki/extensions/FCKeditor/fckeditor/fckeditor_php5.php:208
Comment 1 Max Semenik 2010-09-19 10:17:17 UTC

*** This bug has been marked as a duplicate of bug 20810 ***

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


Navigation
Links