Author: gerard
Description:
When using the importImages.php script, this produces the following error and stack trace. This has happened on both wikis I've tried it on, with different extension sets, I've tried with using different relative dirs and I've checked permissions and chmod a thousand times.
Import Images
Importing Vehicle-BMW-M5-Taxi-VC.jpg...MediaWiki internal error.
Original exception: exception 'MWException' with message 'LocalFile: write operations are not supported' in /home/mods/public_html/includes/filerepo/File.php:1021
Stack trace:
#0 /home/mods/public_html/includes/filerepo/File.php(1036): File->readOnlyError()
#1 /home/mods/public_html/maintenance/importImages.php(244): File->recordUpload('20110813050120!...', 'Importing image...', '')
#2 {main}
Exception caught inside exception handler: exception 'MWException' with message 'FauxRequest::getRequestURL() not implemented' in /home/mods/public_html/includes/WebRequest.php:1108
Stack trace:
#0 /home/mods/public_html/includes/WebRequest.php(1137): FauxRequest->notImplemented('FauxRequest::ge...')
#1 /home/mods/public_html/includes/Exception.php(154): FauxRequest->getRequestURL()
#2 /home/mods/public_html/includes/Exception.php(213): MWException->getLogMessage()
#3 /home/mods/public_html/includes/Exception.php(422): MWException->report()
#4 /home/mods/public_html/includes/Exception.php(501): MWExceptionHandler::report(Object(MWException))
#5 [internal function]: MWExceptionHandler::handle(Object(MWException))
#6 {main}
Version: 1.20.x
Severity: major