Tag Archives: Lilac Platform

Lilac Platform error print_window_header()

The Lilac Platform is a collection of tools to enhance existing open
source monitoring applications. Currently the focus is on the Lilac
Configurator, a configuration tool written to configure Nagios, a
popular Network monitoring application.

After installing it on an OpenSuse 11.0 I got the following error.

Fatal error: Call to undefined function print_window_header() in /srv/www/htdocs/html/lilac/index.php on line 32

The answer can be found on this forum http://www.lilacplatform.com/discussion/2/5/37#37

Apparently the subversion has been fixed, but if you download it directly from the site it still has the same problem as above. To get it to work you can change the  the following line in your php.ini

short_open_tag = On“   (the default is off)

“short_open_tags… Tells whether the short form (<? ?>
)
of PHP’s open tag should be allowed. If you want to use PHP in
combination with XML, you can disable this option in order to
use <?xml ?>
inline. Otherwise, you
can print it with PHP, for example: <?php echo '<?xml
version="1.0"'; ?>

. Also if disabled, you must use the
long form of the PHP open tag (<?php ?>
).

This directive also affects the shorthand <?=
,
which is identical to <? echo
. Use of this
shortcut requires short_open_tag

to be on.
” – extracted from php.net

Technorati Tags: , , ,