Package: websvn
Version: 1.61-20
Severity: normal

Hi,

When using websvn with PHP error reporting with E_NOTICE enabled, the
websvn interface will be cluttered with different notices.

On the main page:

Notice: Object of class Repository could not be converted to int in
/usr/share/websvn/include/configclass.inc on line 349
(...)

When viewing a repository:

Notice: Undefined offset: 0 in /usr/share/websvn/include/svnlook.inc on
line 181 Notice: Undefined offset: 1 in
/usr/share/websvn/include/svnlook.inc on line 183 Notice: Undefined
offset: 3 in /usr/share/websvn/include/svnlook.inc on line 254 Notice:
Undefined offset: 0 in /usr/share/websvn/include/svnlook.inc on line 181
Notice: Undefined offset: 1 in /usr/share/websvn/include/svnlook.inc on
line 183 Notice: Undefined offset: 3 in
/usr/share/websvn/include/svnlook.inc on line 254 Notice: Object of
class Repository could not be converted to int in
/usr/share/websvn/include/configclass.inc on line 349
(...)

The best way would of course be to fix these notices in the code,
because they're not there for nothing, but if that's very difficult, at
least the default Apache config shipped could add a php_value
error_reporting line that disables E_NOTICE for websvn by default.


thanks,
Thijs


-- 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-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages websvn depends on:
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  php5                       5.2.0-8+etch4 server-side, HTML-embedded scripti
ii  po-debconf                 1.0.8         manage translated Debconf template
ii  subversion                 1.4.2dfsg1-2  Advanced version control system
ii  ucf                        2.0020        Update Configuration File: preserv

Versions of packages websvn recommends:
ii  enscript                      1.6.4-11   Converts ASCII text to Postscript,

-- debconf information:
* websvn/configuration: true
* websvn/parentpath: /var/lib/svn
* websvn/repositories: /var/lib/svn
* websvn/permissions:
* websvn/webservers: apache2


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

Reply via email to