[pkg-horde] Bug#452351: illegal php-syntax in horde3 conf file

totaltrash at gmx.net totaltrash at gmx.net
Thu Nov 22 05:53:11 UTC 2007


Package: horde3
Version: 3.1.3-4etch1

The fresh install of horde3 displays the following error when accessed by http:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /etc/horde/horde3/conf.php on line 76

Parse error: syntax error, unexpected $end in /etc/horde/horde3/conf.php on line 77

The error is caused by line 76 in /etc/horde/horde3/conf.php:
$conf[\'log\'][\'name\'] = \'/var/log/horde/horde3.log\';

It can be resolved by removing all the backslashes in this line thus changing this line to:
$conf['log']['name'] = '/var/log/horde/horde3.log';

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-xenU
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages horde3 depends on:
ii  apache2-mpm-prefork [htt 2.2.3-4+etch1   Traditional model for Apache HTTPD
ii  libapache2-mod-php5      5.2.0-8+etch7   server-side, HTML-embedded scripti
ii  php-log                  1.9.8-1         Log module for PEAR
ii  php-pear                 5.2.0-8+etch7   PEAR - PHP Extension and Applicati
ii  php4-cli [phpapi-2005060 6:4.4.4-8+etch4 command-line interpreter for the p
ii  php4-pear                6:4.4.4-8+etch4 PHP Extension and Application Repo

Versions of packages horde3 recommends:
ii  logrotate                3.7.1-3         Log rotation utility
ii  php-date                 1.4.6-1         PHP PEAR module for date and time
ii  php-db                   1.7.6-2         PHP PEAR Database Abstraction Laye
ii  php-file                 1.0.3-1         PHP Pear modules for common file a
ii  php-mail                 1.1.6-2         PHP PEAR module for sending email
ii  php-mail-mime            1.3.1-1.1       PHP PEAR module for creating and d
ii  php-services-weather     1.4.0-1         acts as an interface to various on
ii  php4-gd [php4-gd2]       6:4.4.4-8+etch4 GD module for php4
ii  php4-mcrypt              6:4.4.4-8+etch4 MCrypt module for php4
ii  php5-gd                  5.2.0-8+etch7   GD module for php5
ii  php5-mysql               5.2.0-8+etch7   MySQL module for php5

-- no debconf information

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger





More information about the pkg-horde-hackers mailing list