On 8/19/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> I've installed latest CVS version of phd and it doesn't build manual for
> me anymore, but outptus this error:
> /root/php5/main/streams/streams.c(390) : Stream of type 'MEMORY'
> 0xad8a8ac (path:(null)) was not closed

This error is totally unrelated to the bug, and is actually a
"feature" in PHP debug builds.

> and prints some huge array to stdout, starting with:
> array (
>    0 =>
>    array (
>      'file' => '/root/phd/themes/php/phpweb.php',
>      'line' => 79,
>      'function' => 'createNext',
>      'class' => 'phpweb',
>      'object' =>
>      phpweb::__set_state(array(
>
> Is something broken?

PhD-render assumes the document it is rendering has passed "make test
test_xml" since the validation will be done by the PhD-builder in the
future.

If you pipe it to file and then locate the last-line (shows parent id)
in the massive array dump and check if the second-last-line (current
id) is a child of that array..
If it is, something is badly broken in PHP, if its not, something is
very weird with your XML.

That code you are hitting (or die(debug_backtrace())) should never
execute since it should be pretty much guaranteed that your parents
children are you siblings.


Quick guess would be your IDs are messed up, maybe using the same ID twice?

-Hannes

Reply via email to