Last modified: 2009-12-20 23:01:29 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 T23835, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21835 - Extension is hard coded for the '$IP/extensions' directory
Extension is hard coded for the '$IP/extensions' directory
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: denny vrandecic
:
Depends on: 21832 21833
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-13 01:52 UTC by Dan Bolser
Modified: 2009-12-20 23:01 UTC (History)
1 user (show)

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


Attachments

Description Dan Bolser 2009-12-13 01:52:47 UTC
Please see bug 21832 for details (and a possible fix).

Using a non standard location for the extension:

include_once('extensions/MWExtensions/SemanticResultFormats/SRF_Settings.php');


Causes the following error:

[Sun Dec 13 10:39:38 2009] [error] [client 77.103.200.41] PHP Warning:  AutoLoader::require(/BiO/Serve/Httpd/Funktopia.net/MW-1.15/extensions/SemanticResultFormats/SRF_ParserFunctions.php) [<a href='function.AutoLoader-require'>function.AutoLoader-require</a>]: failed to open stream: No such file or directory in /BiO/Serve/Httpd/Funktopia.net/MW-1.15/includes/AutoLoader.php on line 582
[Sun Dec 13 10:39:38 2009] [error] [client 77.103.200.41] PHP Fatal error:  AutoLoader::require() [<a href='function.require'>function.require</a>]: Failed opening required '/BiO/Serve/Httpd/Funktopia.net/MW-1.15/extensions/SemanticResultFormats/SRF_ParserFunctions.php' (include_path='/BiO/Serve/Httpd/Funktopia.net/MW-1.15:/BiO/Serve/Httpd/Funktopia.net/MW-1.15/includes:/BiO/Serve/Httpd/Funktopia.net/MW-1.15/languages:.:/usr/share/pear:/usr/share/php') in /BiO/Serve/Httpd/Funktopia.net/MW-1.15/includes/AutoLoader.php on line 582



All my other (non SMW based) extensions don't seem to have a problem with this.
Comment 1 Brion Vibber 2009-12-20 23:01:29 UTC
Most if not all MediaWiki extensions assume correct installation location whenever CSS, JS, images, or command-line scripts are involved. Installing extensions in a non-standard path isn't supported generally and can be assumed to break.

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


Navigation
Links