Package: spotweb
Version: 20130826+dfsg2-1
Severity: normal

The cron.hourly spotweb job gives the following message:

PHP Notice:  Uninitialized string offset: 0 in
/usr/share/spotweb/lib/dbeng/dbeng_pdo_mysql.php on line 28

when the database server as set by dbconfig-common is set to the empty string,
i.e. localhost. Changing the database host to 'localhost' resolves the problem.

My suggestion is to check for an empty database host string and replace it by 
'localhost' if necessary.

-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (700, 'stable'), (300, 'testing'), (200, 'unstable'), (10, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages spotweb depends on:
ii  dbconfig-common                  1.8.47+nmu1
ii  debconf [debconf-2.0]            1.5.49
ii  fonts-liberation                 1.07.2-6
ii  libapache2-mod-php5              5.4.4-14+deb7u7
ii  libjs-jquery                     1.7.2+dfsg-1
ii  libjs-jquery-cookie              6-1
ii  libjs-jquery-easing              6-1
ii  libjs-jquery-fancybox            6-1
ii  libjs-jquery-form                6-1
ii  libjs-jquery-mousewheel          6-1
ii  libjs-jquery-ui                  1.8.ooops.21+dfsg-2
ii  mysql-client-5.5 [mysql-client]  5.5.33+dfsg-0+wheezy1
ii  php-net-nntp                     1.5.0-1
ii  php5                             5.4.4-14+deb7u7
ii  php5-common [php5-json]          5.4.4-14+deb7u7
ii  php5-curl                        5.4.4-14+deb7u7
ii  php5-gd                          5.4.4-14+deb7u7
ii  php5-gmp                         5.4.4-14+deb7u7
ii  php5-mysql                       5.4.4-14+deb7u7
ii  ucf                              3.0025+nmu3

Versions of packages spotweb recommends:
ii  apache2                  2.2.22-13
ii  apache2-mpm-itk [httpd]  2.2.22-13
ii  mysql-server             5.5.33+dfsg-0+wheezy1

Versions of packages spotweb suggests:
pn  nzbget       <none>
ii  sabnzbdplus  0.6.15-1

-- Configuration Files:
/etc/spotweb/apache.conf changed [not included]

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to