From: Carl T. <ca...@th...> - 2003-07-24 15:17:09
|
Jan Torleif Pedersen wrote: > The errors I see in my error_log file is: > > [client 172.16.11.3] PHP Notice: Use of undefined constant IMG_PNG - > assumed ' > MG_PNG' in /usr/local/base/www/raw_spot.phtml on line 76, > [client 172.16.11.3] PHP Fatal error: Call to undefined function: > imagetypes( > in /usr/local/base/www/raw_spot.phtml on line 77, Ah. Do forgive my puzzled :-O at the lack of an error message in your previous mail. I'm just horrible at scanning ahead in my mailbox. It indeed looks like the gd extension isn't compiled into PHP. I will locate the places where BASE depends on the gd extension and add a more meaningful error message. > This I get when I generate the images > > [client 172.16.11.3] PHP Notice: ob_flush(): failed to flush buffer. No > buffer > to flush. in /usr/local/base/include/classes/spotimage.inc.php on line 159, That's an annoying side effect of a workaround for a bug in PHP 4.3.0/4.3.1: When output_buffer is set in php.ini the ob_implicit_flush function has no effect. They've fixed it in 4.3.2, but we'll have to keep the workaround. I've changed those calls to @ob_flush() in the CVS so in BASE 1.2.8 the warnings won't be generated. //Carl -- Carl Troein - ca...@th... http://pixelmagic.dyndns.org/~cirdan/ BASE developer - http://base.thep.lu.se/ |