Mel jsem podobnej problem z phpThumb na serveru od PSA, nakonec po par hodinach hledani jsem nasel reseni jedna so o to ze v PHP 4.4.1 ktery PSISCO na nekterych servrech provozuje nastane chyba pri volani funkce imageJPG.
vice informaci o tomhle bugu se da najit na [
http://php.planetmirror.com/manual/cs/function.imagejpeg.php]. Nicmene vyresil jsem tendle problem malou zmenou souboru phpthum.class.php
na radku 389 je:
389: case 'jpeg':
390: $ImageOutFunction = 'image'.$this->thumbnailFormat;
391: $ImageOutFunction($this->gdimg_output, $renderfilename, $this->thumbnailQuality);
392: break;
staci pridat:
389: case 'jpeg':
390: $ImageOutFunction = 'image'.$this->thumbnailFormat;
391:
392: $fh=fopen($renderfilename,'w');
393: fclose($fh);
394:
395: $ImageOutFunction($this->gdimg_output, $renderfilename, $this->thumbnailQuality);
396: break;
Tim se vytvori soubor do ktereho se obrazek ulozi. No a zatim mi to funguje. Pokud byste nekdo vedel o lepsim resenim dejte pleas vedet.