[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#569673: egroupware-core: illegal error_reporting configuration option in /etc/egroupware/apache.conf



Package: egroupware-core
Version: 1.6.002+dfsg-1
Severity: important

The shipped apache.conf is broken in that it effectively disables any error reporting.

It configures error_reproting as

  php_value error_reporting 'E_ALL & ~E_NOTICE'

which does not work in apache config files as the symbolic constant names are not
known there. This effectively sets error_reporting to "0" and caused me quite some
time to debug the cause of me getting a white page only instead of some helpful error
messages, especially I've set error_Reporting correctly in my global php.ini file.

Please note the following snipped from on this topic:

***************************************************************************************
http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
Note: PHP Constants outside of PHP
Using PHP Constants outside of PHP, like in httpd.conf, will have no useful meaning so
in such cases the integer values are required. And since error levels will be added over
time, the maximum value (for E_ALL) will likely change. So in place of E_ALL consider
using a larger value to cover all bit fields from now and well into the future, a
numeric value like 2147483647 (includes all errors, not just E_ALL). 
***************************************************************************************

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (500, 'testing'), (500, 'stable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages egroupware-core depends on:
ii  apache2                  2.2.14-5        Apache HTTP Server metapackage
ii  apache2-mpm-prefork [apa 2.2.14-5        Apache HTTP Server - traditional n
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  egroupware-egw-pear      1.6.002-1       modified PEAR modules for eGroupWa
ii  libapache2-mod-php5      5.2.11.dfsg.1-2 server-side, HTML-embedded scripti
ii  perl                     5.10.1-8        Larry Wall's Practical Extraction 
ii  php-fpdf                 2:1.53.dfsg-6.1 PHP class to generate PDF files
ii  php-log                  1.10.0-1        Log module for PEAR
ii  php-pear                 5.2.11.dfsg.1-2 PEAR - PHP Extension and Applicati
ii  php5-cli                 5.2.11.dfsg.1-2 command-line interpreter for the p
ii  php5-gd                  5.2.11.dfsg.1-2 GD module for php5
ii  php5-mysql               5.2.11.dfsg.1-2 MySQL module for php5
ii  php5-pgsql               5.2.11.dfsg.1-2 PostgreSQL module for php5

Versions of packages egroupware-core recommends:
ii  mysql-client-5.0 [mysql-clien 5.0.84-1   MySQL database client binaries
ii  postgresql-client             8.4.2-1    front-end programs for PostgreSQL 
ii  postgresql-client-8.4 [postgr 8.4.2-1    front-end programs for PostgreSQL 

Versions of packages egroupware-core suggests:
pn  egroupware               <none>          (no description available)
pn  php5-auth-pam            <none>          (no description available)
ii  php5-imap                5.2.11.dfsg.1-2 IMAP module for php5
ii  php5-ldap                5.2.11.dfsg.1-2 LDAP module for php5
ii  php5-mcrypt              5.2.11.dfsg.1-2 MCrypt module for php5
ii  php5-mhash               5.2.11.dfsg.1-2 MHASH module for php5

-- debconf information:
  egroupware/header/password/mismatch:
* egroupware/configuration/note:
* egroupware/header/user: admin



Reply to: