Whenever I try to update settings for my wiki, whether I'm actually changing something or not, I get the subject of this post as an error. The full error is as follows:
Value for $wgStatsMethod setting is not in permitted (given: , permitted: Cache, UDP, None)
Backtrace:
- 0 /var/lib/mediawiki1.7/extensions/Configure/Configure.page.php(108): ConfigurationPage->importFromRequest()
- 1 /usr/share/mediawiki1.7/includes/SpecialPage.php(372): ConfigurationPage->execute(NULL)
- 2 /usr/share/mediawiki1.7/includes/Wiki.php(156): SpecialPage->executePath(Object(Title))
- 3 /usr/share/mediawiki1.7/includes/Wiki.php(47): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
- 4 /usr/share/mediawiki1.7/index.php(123): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
- 5 {main}
Also, in the top frame of every page is the following error:
Warning: fopen(/messages-terriswikidb) [function.fopen]: failed to open stream: Permission denied in /usr/share/mediawiki1.7/includes/MessageCache.php on line 99
I have a feeling the two are connected. The $wgStatsMethod is not available in the version of MediaWiki I am using. It appears as though the wiki is trying to perform the option anyway, and thereby returning a cache error. Mind you, I am not a PHP coder. So please try to keep this in mind when responding.