Last modified: 2013-05-17 14:42:09 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 T38565, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36565 - MW 1.19: (Fatal error) BitmapHandler::escapeMagickPath: unexpected colon character in path name
MW 1.19: (Fatal error) BitmapHandler::escapeMagickPath: unexpected colon char...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-06 08:11 UTC by MWJames
Modified: 2013-05-17 14:42 UTC (History)
4 users (show)

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


Attachments

Description MWJames 2012-05-06 08:11:59 UTC
While embedding image files from a different server works fine, navigating to our image server causes the Fatal error:

BitmapHandler::escapeMagickPath: unexpected colon character in path name 

Not sure which one of those global variables caused the problem but we maintain our internal image server through a different http port such as (http://internal...:8082/...)

$wgUploadNavigationUrl, $wgSharedUploadPath, $wgSharedUploadDirectory, $wgRepositoryBaseUrl

The system: MW 1.19

Backtrace:

#0 D:\xampp\htdocs\...\includes\media\Bitmap.php(613): BitmapHandler->escapeMagickPath('http://internal....', false)
#1 D:\xampp\htdocs\...\includes\media\Bitmap.php(326): BitmapHandler->escapeMagickInput('http://internal....', false)
#2 D:\xampp\htdocs\...\includes\media\Bitmap.php(182): BitmapHandler->transformImageMagick(Object(ForeignDBFile), Array)
#3 D:\xampp\htdocs\...\includes\filerepo\file\File.php(850): BitmapHandler->doTransform(Object(ForeignDBFile), '\xampp\tmp/tran...', 'http://1internal....', Array)
Comment 1 Max Semenik 2012-09-28 22:26:44 UTC
(In reply to comment #0)
> $wgUploadNavigationUrl, $wgSharedUploadPath, $wgSharedUploadDirectory,
> $wgRepositoryBaseUrl

What are these variables (and especially $wgForeignFileRepos) are set to? Looks like you've got a URL in some of these variables where it should be a FS path.
Comment 2 Mark A. Hershberger 2012-09-30 18:14:15 UTC
Removing 1.20 tarball milestone, but I agree with Max: looks like your vars are set incorrectly.
Comment 3 Andre Klapper 2012-11-26 13:42:34 UTC
MWJames: Could you answer comment 1, please?
Comment 4 Andre Klapper 2013-05-17 14:40:15 UTC
MWJames: Could you answer comment 1, please? Is this still an issue?
Comment 5 MWJames 2013-05-17 14:42:09 UTC
I can't remember the issue here and since I moved on, we close this one.

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


Navigation
Links