Package: phpgacl
Version: 3.3.6-1
Severity: normal


When using error_reporting = E_ALL in php.ini I get this error in one of the
phpgacl pages:

Notice: Constant ADODB_DIR already defined in /usr/share/phpgacl/gacl.class.php 
on line 37

Warning: session_start(): Cannot send session cache limiter - headers already 
sent (output started at /usr/share/phpgacl/gacl.class.php:37) in 
/home/juanma/ossim-cvs/include/classes/Session.inc on line 141

This can easily be solved checking if ADODB_DIR has been previously defined or 
not:


if (!(defined('ADODB_DIR'))) {
    define('ADODB_DIR', '/usr/share/php/adodb');
}




-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-386
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages phpgacl depends on:
ii  debconf [debconf-2.0]         1.4.59     Debian configuration management sy
ii  libphp-adodb                  4.64-4     The 'adodb' database abstraction l
ii  php-cache-lite                1.5.2-2    Fast and lite data cache system
ii  smarty                        2.6.10-0.2 Template engine for PHP

phpgacl recommends no packages.

-- debconf information:
* phpgacl/setup:
* phpgacl/name: ossim_acl
  phpgacl/conffile_changed:
* phpgacl/apache: All
* phpgacl/host: localhost
* phpgacl/user: root


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to