Last modified: 2011-04-30 01:21:19 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 T21877, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19877 - Use of undefined constant
Use of undefined constant
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.15.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-22 09:27 UTC by jan
Modified: 2011-04-30 01:21 UTC (History)
2 users (show)

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


Attachments

Description jan 2009-07-22 09:27:20 UTC
my apache error_log is full of these errors, php-notices:

[error] PHP Notice:  Use of undefined constant AV_NO_VIRUS - assumed 'AV_NO_VIRUS' in /srv/www/httpdocs/includes/DefaultSettings.php on line 321
[error] PHP Notice:  Use of undefined constant AV_VIRUS_FOUND - assumed 'AV_VIRUS_FOUND' in /srv/www/httpdocs/includes/DefaultSettings.php on line 322
[error] PHP Notice:  Use of undefined constant AV_SCAN_ABORTED - assumed 'AV_SCAN_ABORTED' in /srv/www/httpdocs/includes/DefaultSettings.php on line 323
[error] PHP Notice:  Use of undefined constant AV_SCAN_FAILED - assumed 'AV_SCAN_FAILED' in /srv/www/httpdocs/includes/DefaultSettings.php on line 324
[error] PHP Notice:  Use of undefined constant AV_NO_VIRUS - assumed 'AV_NO_VIRUS' in /srv/www/httpdocs/includes/DefaultSettings.php on line 335
[error] PHP Notice:  Use of undefined constant AV_VIRUS_FOUND - assumed 'AV_VIRUS_FOUND' in /srv/www/httpdocs/includes/DefaultSettings.php on line 336
[error] PHP Notice:  Use of undefined constant AV_VIRUS_FOUND - assumed 'AV_VIRUS_FOUND' in /srv/www/httpdocs/includes/DefaultSettings.php on line 337
[error] PHP Notice:  Use of undefined constant AV_SCAN_FAILED - assumed 'AV_SCAN_FAILED' in /srv/www/httpdocs/includes/DefaultSettings.php on line 338
[error] PHP Notice:  Use of undefined constant CACHE_NONE - assumed 'CACHE_NONE' in /srv/www/httpdocs/includes/DefaultSettings.php on line 728
[error] PHP Notice:  Use of undefined constant CACHE_ANYTHING - assumed 'CACHE_ANYTHING' in /srv/www/httpdocs/includes/DefaultSettings.php on line 729
[error] PHP Notice:  Use of undefined constant CACHE_ANYTHING - assumed 'CACHE_ANYTHING' in /srv/www/httpdocs/includes/DefaultSettings.php on line 730
[error] PHP Notice:  Use of undefined constant APCOND_EDITCOUNT - assumed 'APCOND_EDITCOUNT' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1382
[error] PHP Notice:  Use of undefined constant APCOND_AGE - assumed 'APCOND_AGE' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1383
[error] PHP Notice:  Use of undefined constant NS_TALK - assumed 'NS_TALK' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1949
[error] PHP Notice:  Use of undefined constant NS_USER - assumed 'NS_USER' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1950
[error] PHP Notice:  Use of undefined constant NS_USER_TALK - assumed 'NS_USER_TALK' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1951
[error] PHP Notice:  Use of undefined constant NS_PROJECT_TALK - assumed 'NS_PROJECT_TALK' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1952
[error] PHP Notice:  Use of undefined constant NS_FILE_TALK - assumed 'NS_FILE_TALK' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1953
[error] PHP Notice:  Use of undefined constant NS_MEDIAWIKI_TALK - assumed 'NS_MEDIAWIKI_TALK' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1954
[error] PHP Notice:  Use of undefined constant NS_TEMPLATE_TALK - assumed 'NS_TEMPLATE_TALK' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1955
[error] PHP Notice:  Use of undefined constant NS_HELP_TALK - assumed 'NS_HELP_TALK' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1956
[error] PHP Notice:  Use of undefined constant NS_CATEGORY_TALK - assumed 'NS_CATEGORY_TALK' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1957
[error] PHP Notice:  Use of undefined constant NS_MAIN - assumed 'NS_MAIN' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1961
[error] PHP Notice:  Use of undefined constant NS_USER - assumed 'NS_USER' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1971
[error] PHP Notice:  Use of undefined constant NS_PROJECT - assumed 'NS_PROJECT' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1972
[error] PHP Notice:  Use of undefined constant NS_HELP - assumed 'NS_HELP' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1973
[error] PHP Notice:  Use of undefined constant NS_CATEGORY - assumed 'NS_CATEGORY' in /srv/www/httpdocs/includes/DefaultSettings.php on line 1974
[error] PHP Notice:  Use of undefined constant MEDIATYPE_BITMAP - assumed 'MEDIATYPE_BITMAP' in /srv/www/httpdocs/includes/DefaultSettings.php on line 3353
[error] PHP Notice:  Use of undefined constant MEDIATYPE_AUDIO - assumed 'MEDIATYPE_AUDIO' in /srv/www/httpdocs/includes/DefaultSettings.php on line 3354
[error] PHP Notice:  Use of undefined constant MEDIATYPE_VIDEO - assumed 'MEDIATYPE_VIDEO' in /srv/www/httpdocs/includes/DefaultSettings.php on line 3355
[error] PHP Notice:  Use of undefined constant NS_MAIN - assumed 'NS_MAIN' in /srv/www/httpdocs/includes/DefaultSettings.php on line 3479
[error] PHP Notice:  Use of undefined constant CACHE_NONE - assumed 'CACHE_NONE' in /srv/www/httpdocs/LocalSettings.php on line 134
Comment 1 Chad H. 2009-07-23 00:30:27 UTC
WORKSFORME. It would seem as though Defines isn't getting included before DefaultSettings. Can you verify that includes/Defines.php exists, and that includes/WebStart.php includes it?

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


Navigation
Links