[dokuwiki] Re: Bug in fetch.php (was Imagemagick)
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 26 Jul 2006 13:00:06 +0100
Stephan Herrmann wrote:
Can it be, that this is a bug in fetch.php?
if(($conf['gdlib']>1) && function_exists("imagecreatetruecolor")){
That means $conf['gdlib'] has to be greater than 1 to work. But according to
http://wiki.splitbrain.org/wiki%3Aconfig#gdlib I set it to one. And so it
didn't use @imagecreatetruecolor.
I now changed it to
if(($conf['gdlib']>0) && function_exists("imagecreatetruecolor")){
And it works. What do you think? Bug?
Regards,
Stephan
Do you use admin menu/configuration settings to alter your local settings?
2 is autodetect.
1 tells dokuwiki its using GDLib 1.x. imagecreatetruecolor doesn't
exist in GDLib 1.x.
Did you mention your GD version beore?
Since you have that function, it sounds like you don't have a 1.x
version, in which case you should have the value set to 2.
Cheers,
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Bug in fetch.php (was Imagemagick)
- From: Stephan Herrmann
- References:
- [dokuwiki] Imagemagick
- From: Stephan Herrmann
- [dokuwiki] Re: Imagemagick
- From: Andreas Gohr
- [dokuwiki] Re: Imagemagick
- From: Stephan Herrmann
- [dokuwiki] Re: Imagemagick
- From: Andreas Gohr
- [dokuwiki] Re: Imagemagick
- From: Stephan Herrmann
- [dokuwiki] Re: Imagemagick
- From: Andreas Gohr
- [dokuwiki] Bug in fetch.php (was Imagemagick)
- From: Stephan Herrmann
Other related posts:
- » [dokuwiki] Bug in fetch.php (was Imagemagick)
- » [dokuwiki] Re: Bug in fetch.php (was Imagemagick)
- » [dokuwiki] Re: Bug in fetch.php (was Imagemagick)
- » [dokuwiki] Re: Bug in fetch.php (was Imagemagick)
- » [dokuwiki] Re: Bug in fetch.php (was Imagemagick)
Can it be, that this is a bug in fetch.php?
if(($conf['gdlib']>1) && function_exists("imagecreatetruecolor")){That means $conf['gdlib'] has to be greater than 1 to work. But according to http://wiki.splitbrain.org/wiki%3Aconfig#gdlib I set it to one. And so it didn't use @imagecreatetruecolor.
I now changed it to
if(($conf['gdlib']>0) && function_exists("imagecreatetruecolor")){And it works. What do you think? Bug?
Regards,
Stephan
- [dokuwiki] Re: Bug in fetch.php (was Imagemagick)
- From: Stephan Herrmann
- [dokuwiki] Imagemagick
- From: Stephan Herrmann
- [dokuwiki] Re: Imagemagick
- From: Andreas Gohr
- [dokuwiki] Re: Imagemagick
- From: Stephan Herrmann
- [dokuwiki] Re: Imagemagick
- From: Andreas Gohr
- [dokuwiki] Re: Imagemagick
- From: Stephan Herrmann
- [dokuwiki] Re: Imagemagick
- From: Andreas Gohr
- [dokuwiki] Bug in fetch.php (was Imagemagick)
- From: Stephan Herrmann