lossendae / Cliche

A media manager for MODx Revolution
14 stars 11 forks source link

lower/uppercase issue #36

Open codebakery-ch opened 11 years ago

codebakery-ch commented 11 years ago

Just installed it on ModX 2.2.6.pl PHP Version 5.2.17 Linux tux177 2.6.36.3 client: win8

Not sure if it is my issue of cliche. I wanted to upload images to a new album. I get the error (via Network tab): Fatal error: Uncaught exception 'Exception' with message 'Image file not found: /...beta/assets/components/cliche/albums/1/dsc_5096.JPG' in /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php:193 Stack trace:

0 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php(172): ThumbBase->triggerError('Image file not ...')

1 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php(110): ThumbBase->fileExistsAndReadable()

2 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/GdThumb.inc.php(96): ThumbBase->__construct('/home/www/web25...', false)

3 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbLib.class.php(127): GdThumb->__construct('/home/www/web25...', Array, false)

4 /...beta/core/components/cliche/model/cliche/cliche.class.php(131): PhpThumbFactory::create('/home...', Array)

5 /ho in /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php on line 193

the images get uploaded, but cliche doesnt find them, I solved it by renaming the file extensions on the server to uppercase. (jpg to JPG).

cheers