[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php-weathermap] Editor won't display nodes



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

Copyright 1994-2005, by Howard Jones. howie@thingy.com