на днях что-то химичил с портами.. ставил-переставлял-обновлял.
в итоге понял что поломал немного свой php
итого

uname
Код: Выделить всё
FreeBSD host 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Код: Выделить всё
PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Dec 30 2009 17:59:18)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
DLE (ошибка 1)
при добавлении новой картинки, на нее накладывается водяной знак.
точнее, до моих ковыряний накладывался.
после ковыряний, при добавлении, получаю такое:
Код: Выделить всё
Warning: imagecreatefrompng(): gd-png: fatal libpng error: [00][00][00][00]: unknown critical chunk in /usr/local/host/game/engine/classes/thumb.class.php on line 203
Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in /usr/local/host/game/engine/classes/thumb.class.php on line 203
Warning: imagecreatefrompng(): '/usr/local/host/game/templates/fun/dleimages/watermark_dark.png' is not a valid PNG file in /usr/local/host/game/engine/classes/thumb.class.php on line 203
Warning: imagealphablending(): supplied argument is not a valid Image resource in /usr/local/host/game/engine/classes/thumb.class.php on line 206
Warning: imagecopy(): supplied argument is not a valid Image resource in /usr/local/host/game/engine/classes/thumb.class.php on line 208
Warning: imagedestroy(): supplied argument is not a valid Image resource in /usr/local/host/game/engine/classes/thumb.class.php on line 210
CnStats (ошибка 2)
при отображении счетчика посещений на сайтах (сайтов кучка, все внутренние) имею такие ошибки (счетчик не выводится)
Код: Выделить всё
PHP Warning: imagecreatefrompng() [<a href='function.imagecreatefrompng'>function.imagecreatefrompng</a>]: gd-png: fatal libpng error: [00][00][00][00]: unknown critical chunk in /usr/local/host/cnstats/cnt-show.php on line 15
PHP Warning: imagecreatefrompng() [<a href='function.imagecreatefrompng'>function.imagecreatefrompng</a>]: gd-png error: setjmp returns error condition in /usr/local/host/cnstats/cnt-show.php on line 15
PHP Warning: imagecreatefrompng() [<a href='function.imagecreatefrompng'>function.imagecreatefrompng</a>]: 'button.png' is not a valid PNG file in /usr/local/host/cnstats/cnt-show.php on line 15
PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /usr/local/host/cnstats/cnt-show.php on line 16
PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /usr/local/host/cnstats/cnt-show.php on line 17
PHP Warning: imagestring(): supplied argument is not a valid Image resource in /usr/local/host/cnstats/cnt-show.php on line 18
PHP Warning: imagestring(): supplied argument is not a valid Image resource in /usr/local/host/cnstats/cnt-show.php on line 19
PHP Warning: imagestring(): supplied argument is not a valid Image resource in /usr/local/host/cnstats/cnt-show.php on line 20
PHP Warning: imagepng(): supplied argument is not a valid Image resource in /usr/local/host/cnstats/cnt-show.php on line 21
PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /usr/local/host/cnstats/cnt-show.php on line 22
Код: Выделить всё
portupgrade -f png
portupgrade -fr png
Код: Выделить всё
portupgrade -afR php5
люди, нид хелп
