Last modified: 2011-04-30 01:21:19 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
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?