Last modified: 2010-05-15 15:48:18 UTC
We are getting this error in out Apache logs. It causes Mediawiki to lock up and have to restart Apache. This is happening frequently. We are running Apache 2.0.48, PHP 5.2.0, and Windows Server 2003. Thank you. [Mon Apr 02 13:07:44 2007] [error] [client 172.28.132.221] PHP Warning: require(D:\\IHS\\6.0 \\htdocs\\en_US\\wiki/includes/SiteStats.php) [<a href='function.require'>function.require</a>]: failed to open stream: Invalid argument in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\AutoLoader.php on line 302, referer: http://wasasb2.fbfs.com/wiki/index.php? title=Special:Userlogin&action=submitlogin&type=login&returnto=WebSphere [Mon Apr 02 13:07:44 2007] [error] [client 172.28.132.221] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'D:\\IHS\\6.0 \\htdocs\\en_US\\wiki/includes/SiteStats.php' (include_path='D:\\IHS\\6.0 \\htdocs\\en_US\\wiki;D:\\IHS\\6.0\\htdocs\\en_US\\wiki/includes;D:\\IHS\\6.0 \\htdocs\\en_US\\wiki/languages') in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\AutoLoader.php on line 302, referer: http://wasasb2.fbfs.com/wiki/index.php? title=Special:Userlogin&action=submitlogin&type=login&returnto=WebSphere and [Mon Apr 02 13:08:21 2007] [error] [client 172.28.132.221] PHP Warning: require(D:\\IHS\\6.0 \\htdocs\\en_US\\wiki/includes/Xml.php) [<a href='function.require'>function.require</a>]: failed to open stream: Invalid argument in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\AutoLoader.php on line 302, referer: http://wasasb2.fbfs.com/wiki/index.php/WebSphereApplications [Mon Apr 02 13:08:21 2007] [error] [client 172.28.132.221] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'D:\\IHS\\6.0 \\htdocs\\en_US\\wiki/includes/Xml.php' (include_path='D:\\IHS\\6.0\\htdocs\\en_US\\wiki;D:\\IHS\\6.0 \\htdocs\\en_US\\wiki/includes;D:\\IHS\\6.0\\htdocs\\en_US\\wiki/languages') in D:\\IHS\\6.0 \\htdocs\\en_US\\wiki\\includes\\AutoLoader.php on line 302, referer: http://wasasb2.fbfs.com/wiki/index.php/WebSphereApplications [Mon Apr 02 13:08:26 2007] [error] [client 172.28.132.221] PHP Fatal error: Class 'StubContLang' not found in D:\\IHS\\6.0\\htdocs\\en_US\\wiki\\includes\\Setup.php on line 169, referer: http://wasasb2.fbfs.com/wiki/index.php/WebSphereApplications
Please confirm that the referenced files (includes/SiteStats.php, includes/Xml.php, includes/StubObject.php) exist in the expected locations and are readable by the user IIS is running under (IUSR_* and IWAM_*).
All 3 are there. Also we are not running IIS, we are running Apache 2.0.48.
(In reply to comment #2) > All 3 are there. Also we are not running IIS, we are running Apache 2.0.48. Yes, well, I saw "Windows Server", and misread all the D:\\IHS bits. Have you made any changes to the configuration? Any installed opcode caches? Moved the wiki from one place to another or recently upgraded it?
Yes actually. We moved it from a Linux server to a Windows server. I then upgraded it from a 1.8.X version to 1.9.2.
Please check for a broken or outdated version of eAccelerator or similar, such as Zend Optimiser; these are known to cause bizarre PHP errors in otherwise normal circumstances.
Closing as INVALID: it's old and not a bug in MediaWiki. If you still have this issue, ask for support somewhere else, not on BugZilla, which is meant for actual bugs. Things I can think of right now are upgrading Apache to the most recent version (2.4 IIRC) and double-checking your configuration.