Package: dokuwiki Version: 0.0.20060309-3 Severity: normal Tags: patch When "short_open_tag = Off" is set in the php.ini file (which is recommended), one of the lines in /usr/share/dokuwiki/lib/tpl/default/footer.html that uses PHP short open tags causes errors to be logged to the apache logs.
The attached patch fixes the one offending line so that dokuwiki works without errors when "short_open_tag = Off" is in the php.ini config file. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16.20-amd64-k8-smp Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages dokuwiki depends on: ii apache2-mpm-prefork 2.0.55-4 traditional model for Apache2 ii debconf [debconf-2.0] 1.5.1 Debian configuration management sy ii libapache2-mod-php5 5.1.2-1 server-side, HTML-embedded scripti ii ucf 2.0011 Update Configuration File: preserv Versions of packages dokuwiki recommends: ii apache2-mpm-prefork [httpd-cg 2.0.55-4 traditional model for Apache2 -- debconf information excluded
--- footer.html~ 2006-04-28 09:54:54.000000000 -0600 +++ footer.html 2006-06-07 20:45:53.259157250 -0600 @@ -20,7 +20,7 @@ <a <?php echo $tgt?> href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> - <a target="_blank" href="http://www.debian.org" title="Debian"><img src="<?=DOKU_TPL?>images/button-debian.png" width="80" height="15" alt="Debian" border="0" /></a> + <a target="_blank" href="http://www.debian.org" title="Debian"><img src="<?php echo DOKU_TPL; ?>images/button-debian.png" width="80" height="15" alt="Debian" border="0" /></a> </div>