Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003109Piwigoimage processingpublic2014.08.07 03:262014.08.07 03:26
Reporterhakastein 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformWindowsOSWindowsOS Version7
Product Version2.6.2 
Target VersionFixed in Version 
Summary0003109: Imagick dont process relative path on Windows
DescriptionImagick crash with "Uncaught exception 'ImagickException' with message 'UnableToOpenBlob `./_data/i/upload/2014/08/06/20140806153442-076e3cae-th.jpg': No such file or directory"
Steps To ReproduceAny action with imagick on windows.
Additional InformationIt can be fixed with realpath. There fix:

file image.class.php

86: $class = 'image_'.$this->library;
87: $source_filepath = realpath($source_filepath);
88: $this->image = new $class($source_filepath);

and

496: file_put_contents($destination_filepath, '');
497: $destination_filepath = realpath($destination_filepath);
TagsNo tags attached.
browserany
Database engine and version5.5.35
PHP version5.4.22
Web serverApache 2.2.26.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014.08.07 03:26 hakastein New Issue
2014.08.07 03:26 hakastein browser => any
2014.08.07 03:26 hakastein Database engine and version => 5.5.35
2014.08.07 03:26 hakastein PHP version => 5.4.22
2014.08.07 03:26 hakastein Web server => Apache 2.2.26.


Copyright © 2000 - 2018 MantisBT Team
Contact
Powered by Mantis Bugtracker