[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [php-weathermap] Editor won't display nodes
- From: "Joshua Keroes" <joshua@xxxxxxxxxx>
- Subject: Re: [php-weathermap] Editor won't display nodes
- Date: Tue, 16 Sep 2008 14:20:14 -0700
check.php and check-gdbug.php both run fine from the command-line.
check.php runs in the browser, too - it reports that the only feature
I'm missing from GD is an optional one:
imagefilter NO Non-Critical. This is required for colorizing
icons. It is a special function of the
PHP-supplied GD library ONLY (not the external GD
library that you are using).
check-gdbug.php runs on the command line and all seems to be in order
there. When run in the browser, I get a white page with no HTML.
For the record, I compiled this GD, gd-2.0.35, by hand so that we had
the necessary version and features.
On Tue, Sep 16, 2008 at 2:12 PM, Howard Jones <howie@xxxxxxxxxx> wrote:
> Joshua Keroes wrote:
>>
>> The editor won't render that node. When I delete the node definition
>> by hand, the editor runs again. I've tested this a few times, both
>> with the 95b and 96t1 versions editor.php.
>>
>> How do I troubleshoot this? I'm not familiar with php enough to know
>> where to start.
>>
>
> Did you run check.php from a browser? (and particularly check-gdbug.php?)
>
> The two things I know to cause this are memory_limit (unlikely on the first
> node, but it depends how big your background image is, and how big your
> memory_limit is), and particular GD versions (usually in Debian/Ubuntu). On
> Debianish systems, it's particularly awkward because the command-line PHP
> isn't necessarily the same as the Apache-driven one, which can hide this
> issue until you use the editor.
>
> The second one (my guess for this case) is in the FAQ: "... I get a blank
> screen in the editor when I add a node"
> http://www.network-weathermap.com/manual/latest/pages/faq.html#gdbug
>
> Basically, drawing nodes uses alpha channels. Alpha channels are broken in
> some GD versions. Normally, you'd see this when using hand-made configs too
> though, so that's a little stranger, although those are potentially
> different PHP setups (web vs CLI).
>
> Howie
>
- Follow-Ups:
- Re: [php-weathermap] Editor won't display nodes
- From: Howard Jones
- Re: [php-weathermap] Editor won't display nodes
- References:
- Editor won't display nodes
- From: Joshua Keroes
- Re: [php-weathermap] Editor won't display nodes
- From: Howard Jones
- Editor won't display nodes
- Prev by Date: Re: [php-weathermap] Editor won't display nodes
- Next by Date: Re: [php-weathermap] Editor won't display nodes
- Previous by thread: Re: [php-weathermap] Editor won't display nodes
- Next by thread: Re: [php-weathermap] Editor won't display nodes
- Index(es):