[Typo3-windows] Warining with class.t3lib_iconworks.php
Jesper Nielsen
scheuer at nybro.dk
Wed Jul 16 11:37:08 CEST 2003
Dear Guillermo,
I had the same problem. My solution was to install php compiled with a GDlib
supporting gif!
regards,
Jesper
"Guillermo Scharffenorth" <gscharf at cantv.net> skrev i en meddelelse
news:mailman.1058327652.31122.typo3-windows at lists.netfielders.de...
> Hello,
>
> I am running typo 3 on Win XP Pro, Apache 2, PHP 4.3.2 with GD 2 and IM
> 4.2.9. I installed the test site package.
>
> When I turn image processing on, even if I configure typo 3 to use png
> images only (I use gd2 which has no support for gif) I get the following
> list of Warnings on the BE when I click on "Page":
>
> =================================
> Warning: imagecreatefrompng():
>
'C:/Apache2/htdocs/testsite/typo3temp/readPG_1af94c6bd7d737562a594638668e317
> 0.png' is not a valid PNG file in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
241
>
> Warning: imagecolorallocate(): supplied argument is not a valid Image
> resource in
C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php
> on line 150
>
> Warning: imagefilledrectangle(): supplied argument is not a valid Image
> resource in
C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php
> on line 151
>
> Warning: imagecolorallocate(): supplied argument is not a valid Image
> resource in
C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php
> on line 153
>
> Warning: imagestring(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
154
>
> Warning: imagecreatefrompng():
>
'C:/Apache2/htdocs/testsite/typo3temp/readPG_0203fd89a9eb4fda9db44c16a592831
> b.png' is not a valid PNG file in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
241
>
> Warning: imagesx(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
160
>
> Warning: imagesy(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
160
>
> Warning: imagesx(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
160
>
> Warning: imagesy(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
160
>
> Warning: imagepng(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
221
>
> Warning: imagepng(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
222
>
> Warning:
>
imagecreatefrompng(C:/Apache2/htdocs/testsite/typo3temp/ICRZ_5b297b9aacec911
> b39f0fa01b0604d51_out.png): failed to open stream: No such file or
directory
> in C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on
line
> 228
>
> Warning:
>
unlink(C:/Apache2/htdocs/testsite/typo3temp/ICRZ_5b297b9aacec911b39f0fa01b06
> 04d51_im.png): No such file or directory in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
229
>
> Warning:
>
unlink(C:/Apache2/htdocs/testsite/typo3temp/ICRZ_5b297b9aacec911b39f0fa01b06
> 04d51_cpImg.png): No such file or directory in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
230
>
> Warning:
>
unlink(C:/Apache2/htdocs/testsite/typo3temp/ICRZ_5b297b9aacec911b39f0fa01b06
> 04d51_out.png): No such file or directory in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
231
>
> Warning: imagecreatefrompng():
>
'C:/Apache2/htdocs/testsite/typo3temp/readPG_d22ab2fd377eec39cae0cf1cfe04949
> e.png' is not a valid PNG file in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
241
>
> Warning: imagesx(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
188
>
> Warning: imagesy(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
188
>
> Warning: imagesx(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
188
>
> Warning: imagesy(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
188
>
> Warning: imagepng(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
221
>
> Warning: imagepng(): supplied argument is not a valid Image resource in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
222
>
> Warning:
>
imagecreatefrompng(C:/Apache2/htdocs/testsite/typo3temp/ICRZ_7df9dbece14585b
> 8e9a111e8461dc604_out.png): failed to open stream: No such file or
directory
> in C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on
line
> 228
>
> Warning:
>
unlink(C:/Apache2/htdocs/testsite/typo3temp/ICRZ_7df9dbece14585b8e9a111e8461
> dc604_im.png): No such file or directory in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
229
>
> Warning:
>
unlink(C:/Apache2/htdocs/testsite/typo3temp/ICRZ_7df9dbece14585b8e9a111e8461
> dc604_cpImg.png): No such file or directory in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
230
>
> Warning:
>
unlink(C:/Apache2/htdocs/testsite/typo3temp/ICRZ_7df9dbece14585b8e9a111e8461
> dc604_out.png): No such file or directory in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
231
>
> Warning: imagedestroy(): supplied argument is not a valid Image resource
in
> C:\Apache2\htdocs\testsite\typo3\t3lib\class.t3lib_iconworks.php on line
192
> =====================================
>
> These WARNINGS appear right above the "Test Site" icon. Everything else
> seems to work find.
>
> When I turn image processing off, the errors dissapear. I assume the
> errors have something to do with the fact that I have no support for GIF
> images, however, even if I configure Typo3 to use png instead I get the
> errors anyways. Following is the GFX configuration I use when I get the
> errors:
>
>
> [GFX]
> [image_processing]=1
> [thumbnails]=1
> [thumbnails_png]=3
> [gif_compress]=0
> [imagefile_ext]=gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai
> [gdlib]=1
> [gdlib_png]=1
> [gdlib_2]=1
> [im]=1
> [im_path]=C:\Apache2\ImageMagick\
> [im_path_lzw]=C:\Apache2\ImageMagick\
> [im_version_5]=0
> [im_negate_mask]=0
> [im_imvMaskState]=0
> [im_no_effects]=0
> [im_v5effects]=0
> [im_mask_temp_ext_gif]=0
> [im_mask_temp_ext_noloss]=miff
> [im_noScaleUp]=1
> [im_combine_filename]=combine
> [im_noFramePrepended]=0
> [enable_typo3temp_db_tracking]=0
> [TTFLocaleConv]=
> [TTFdpi]=96
>
> Is there any way to solve this problem or I just have to get use to not
> having image processing?
>
> Thanks so much,
>
> Guillermo Scharffenorth
>
>
>
More information about the TYPO3-windows
mailing list