Bug#430940: "Warning: preg_replace_callback() ... markdown.php on line 826" on every page
Package: flyspray
Version: 0.9.8-10
Severity: important
After installing and configuring flyspray the following warning is
shown on
every page:
Warning: preg_replace_callback() [function.preg-replace-callback]:
Unknown modifier '|' in
/usr/share/flyspray/htdocs/includes/markdown.php on line 826
After replacing markdown.php with the latest version (1.0.1f) of
php-Markdown
[1] it seems work.
[1] http://www.michelf.com/projects/php-markdown/
I'm not sure what the problem is, but I think Ñ–t has something to do
with the
current php-version, since the same file did work in Debian/sarge with
php4
(4.3.10-16). I hope somebody can reproduce the problem. If anything is
missing
please let me know!
Thx.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages flyspray depends on:
ii apache2 2.2.3-4 Next generation, scalable, extenda
ii apache2-mpm-prefork [httpd 2.2.3-4 Traditional model for Apache HTTPD
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii libapache2-mod-php5 5.2.0-8+etch1 server-side, HTML-embedded scripti
ii libphp-adodb 4.93a-1.1 The 'adodb' database abstraction l
ii php5 5.2.0-8+etch1 server-side, HTML-embedded scripti
ii php5-mysql 5.2.0-8+etch1 MySQL module for php5
ii ucf 2.0020 Update Configuration File: preserv
ii wwwconfig-common 0.0.48 Debian web auto configuration
Versions of packages flyspray recommends:
pn graphviz <none> (no description available)
pn php5-cli | php4-cli <none> (no description available)
-- debconf information:
* flyspray/database_name: flyspray
* flyspray/database_user: root
* flyspray/databasemgr_type: MySQL
* flyspray/purge_removes_data: true
flyspray/webgroup: www-data
* flyspray/dbmyadmin: root
* flyspray/welcome:
flyspray/database_upgrade:
* flyspray/webserver_type: Apache2
* flyspray/databasemgr_server: localhost
flyspray/webuser: www-data
flyspray/database_downgrade:
Reply to: