K4kArot2015 / sigplus

Automatically exported from code.google.com/p/sigplus
0 stars 0 forks source link

Malformed header from CGI script #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!
J! Joomla! 2.5.13, SigPlus: sigplus-1.5.0.187, gallery in KUNENA post.

Notify error generating the gallery of the file which I enclose.
This file is in Adobe. psd that has changed the extension to. jpg.
This file displays the error on Joomla.

Such an error in one of the galleries is difficult to identify and looks bad on 
the whole site.

The error is displayed even when the current page is displayed in another 
gallery, which does not contain a damaged imag

Maybe there is a way to identify the problem SigPlus example of the file name 
to which it relates?

Best Reagrds!

Original issue reported on code.google.com by venapr...@gmail.com on 30 Jul 2013 at 11:53

Attachments:

GoogleCodeExporter commented 9 years ago
It is in general a good idea not to fiddle with image extensions. For 
performance reasons, most of sigplus code assumes that the file extension 
reflects the image type, as do most computer programs. When the extension and 
the image type are not consistent, it may lead to various errors.

sigplus version 1.5.0.190, however, incorporates some additional robustness 
checks, and the "Malformed header from CGI script" error seems to be no longer 
triggered. When the image has a type sigplus does not recognize (e.g. Adobe 
PSD), sigplus skips generating a thumbnail and a preview image (without 
triggering a fatal error), and shows the forever spinning icon instead. This 
should make it easier to identify the faulty image.

Original comment by huny...@gmail.com on 22 Sep 2013 at 7:18