Hello,
I was installing some extensions and got puzzled by this problem. Can someone help to see why do I get the error message?!!!
I have relaxed the permissions even to the world (rwxrwxrwx) for /var/www/neowiki, /var/www/neowiki/extensions, /var/www/neowiki/extensions/ParserFunctions, and the three phps (Expr.php, ParserFunctions.i18n.php, ParserFunctions.php) under /var/www/neowiki/extensions/ParserFunctions directory.
I got the following error messages:
Warning: require_once(/var/www/neowiki/extensions/ParserFunctions/ParserFunctions.php) [function.require-once]: failed to open stream: Permission denied in /var/www/neowiki/LocalSettings.php on line 130
Fatal error: require_once() [function.require]: Failed opening required '/var/www/neowiki/extensions/ParserFunctions/ParserFunctions.php' (include_path='/var/www/neowiki:/var/www/neowiki/includes:/var/www/neowiki/languages:.:/usr/local/lib/php') in /var/www/neowiki/LocalSettings.php on line 130
I don't see any reason that '/var/www/neowiki/extensions/ParserFunctions/ParserFunctions.php' can not be accessed. I don't know where the include_path got set either!!! Thank you for your help.
Nelson -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What does your LocalSettings.php file say on 130? You could try include_once instead of require_once, I seem to remember that not quite causing a fatal error. On your title=Special:Version page what version does it say you are running? -Courtney
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Nelson A Li Sent: Wednesday, September 26, 2007 11:55 AM To: MediaWiki announcements and site admin list Cc: mediawiki-l-bounces@lists.wikimedia.org Subject: Re: [Mediawiki-l] Not exactly a Mediawiki question
Hello,
I was installing some extensions and got puzzled by this problem. Can someone help to see why do I get the error message?!!!
I have relaxed the permissions even to the world (rwxrwxrwx) for /var/www/neowiki, /var/www/neowiki/extensions, /var/www/neowiki/extensions/ParserFunctions, and the three phps (Expr.php, ParserFunctions.i18n.php, ParserFunctions.php) under /var/www/neowiki/extensions/ParserFunctions directory.
I got the following error messages:
Warning: require_once(/var/www/neowiki/extensions/ParserFunctions/ParserFunctions .php) [function.require-once]: failed to open stream: Permission denied in /var/www/neowiki/LocalSettings.php on line 130
Fatal error: require_once() [function.require]: Failed opening required '/var/www/neowiki/extensions/ParserFunctions/ParserFunctions.php' (include_path='/var/www/neowiki:/var/www/neowiki/includes:/var/www/neowi ki/languages:.:/usr/local/lib/php') in /var/www/neowiki/LocalSettings.php on line 130
I don't see any reason that '/var/www/neowiki/extensions/ParserFunctions/ParserFunctions.php' can not be accessed. I don't know where the include_path got set either!!! Thank you for your help.
Nelson ------------------------------------------------------------------------ ------------------------------------------------------------------------ -------------------------------- This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ------------------------------------------------------------------------ ------------------------------------------------------------------------ -------------------------------- _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org