Your message dated Mon, 03 Jun 2019 04:34:06 +0000
with message-id <[email protected]>
and subject line Bug#923661: fixed in tt-rss 18.12+dfsg-1.1
has caused the Debian Bug report #923661,
regarding tt-rss: PHP Fatal error:  Uncaught PDOException: SQLSTATE[22001]: 
String data, right truncated
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
923661: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923661
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tt-rss
Version: 18.12+dfsg-1
Severity: important

Hi,

after upgrading from 16.8+git20160826+dfsg-3 (which I had run under
Debian stretch), tt-rss fails to display anything after the login page.
There is this error:

[Sun Mar 03 13:15:12.954927 2019] [php7:error] [pid 2055] [client XXX] PHP 
Fatal error:  Uncaught PDOException: SQLSTATE[22001]: String data, right 
truncated: 1406 Data too long for column 'context' at row 1 in 
/usr/share/tt-rss/www/classes/logger/sql.php:18
Stack trace:
#0 /usr/share/tt-rss/www/classes/logger/sql.php(18): 
PDOStatement->execute(Array)
#1 /usr/share/tt-rss/www/classes/logger.php(28): Logger_SQL->log_error(8192, 
'strpos(): Non-s...', 'vendor/JShrink/...', 184, '1. vendor/JShri...')
#2 /usr/share/tt-rss/www/include/errorhandler.php(43): Logger->log_error(8192, 
'strpos(): Non-s...', 'vendor/JShrink/...', 184, '1. vendor/JShri...')
#3 [internal function]: ttrss_error_handler(8192, 'strpos(): Non-s...', 
'vendor/JShrink/...', 184, '1. vendor/JShri...')
#4 /usr/share/tt-rss/www/vendor/JShrink/Minifier.php(184): strpos('(-+{[@', 
false)
#5 /usr/share/tt-rss/www/vendor/JShrink/Minifier.php(144): 
JShrink\\Minifier->loop()
#6 /usr/share/tt-rss/www/vendor/JShrink/Minifier.php(110): 
JShrink\\Minifier->minifyDirectToOutput('/* global dijit...', Array)
#7 /usr/share/tt-rss/www/include/functions.php in 
/usr/share/tt-rss/www/classes/logger/sql.php on line 18, referer: https://XXX


I have then changed LOG_DESTINATION to syslog in config.php and it
worked again. In syslog, I see this message:

php: [tt-rss] E_DEPRECATED (8192) (vendor/JShrink/Minifier.php:184) strpos(): 
Non-string needles will be interpreted as strings in the future. Use an 
explicit chr() call to preserve the current behavior


If no other fix is possible in time for buster release, maybe the default for 
LOG_DESTINATION
could be changed?

Cheers,
Stefan


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tt-rss depends on:
ii  dbconfig-common                             2.0.11
ii  dbconfig-mysql                              2.0.11
ii  debconf [debconf-2.0]                       1.5.70
ii  init-system-helpers                         1.56+nmu1
ii  libapache2-mod-php                          2:7.3+69
ii  libapache2-mod-php7.3 [libapache2-mod-php]  7.3.2-3
ii  libjs-dojo-core                             1.14.2+dfsg1-1
ii  libjs-dojo-dijit                            1.14.2+dfsg1-1
ii  libjs-scriptaculous                         1.9.0-2
ii  lsb-base                                    10.2018112800
ii  php                                         2:7.3+69
ii  php-cli                                     2:7.3+69
ii  php-mbstring                                2:7.3+69
ii  php-mysql                                   2:7.3+69
ii  php-php-gettext                             1.0.12-0.1
ii  php-xml                                     2:7.3+69
ii  php7.0-cli [php-cli]                        7.0.33-0+deb9u2
ii  php7.0-json [php-json]                      7.0.33-0+deb9u2
ii  php7.0-mbstring [php-mbstring]              7.0.33-0+deb9u2
ii  php7.0-xml [php-xml]                        7.0.33-0+deb9u2
ii  php7.3 [php]                                7.3.2-3
ii  php7.3-cli [php-cli]                        7.3.2-3
ii  php7.3-json [php-json]                      7.3.2-3
ii  php7.3-mbstring [php-mbstring]              7.3.2-3
ii  php7.3-xml [php-xml]                        7.3.2-3
ii  phpqrcode                                   1.1.4-3

Versions of packages tt-rss recommends:
ii  apache2 [httpd]             2.4.38-2
ii  ca-certificates             20190110
ii  php-curl                    2:7.3+69
ii  php-gd                      2:7.3+69
ii  php-mcrypt                  1:7.0+49
ii  php7.0-gd [php-gd]          7.0.33-0+deb9u2
ii  php7.0-mcrypt [php-mcrypt]  7.0.33-0+deb9u2
ii  php7.3-curl [php-curl]      7.3.2-3
ii  php7.3-gd [php-gd]          7.3.2-3

Versions of packages tt-rss suggests:
pn  php-apc       <none>
pn  sphinxsearch  <none>

-- Configuration Files:
/etc/tt-rss/apache.conf changed [not included]
/etc/tt-rss/config.php changed [not included]

-- debconf information:
  tt-rss/pgsql/manualconf:
  tt-rss/internal/reconfiguring: false
  tt-rss/pgsql/authmethod-admin: ident
* tt-rss/dbconfig-reinstall: true
  tt-rss/upgrade-error: abort
* tt-rss/database-type: mysql
* tt-rss/reconfigure-webserver: apache2
* tt-rss/dbconfig-install: true
* tt-rss/db/basepath:
  tt-rss/remote/port:
  tt-rss/dbconfig-remove: true
* tt-rss/passwords-do-not-match:
  tt-rss/pgsql/admin-user: postgres
  tt-rss/remove-error: abort
  tt-rss/remote/newhost:
* tt-rss/db/dbname: ttrss
* tt-rss/dbconfig-upgrade: true
  tt-rss/remote/host: localhost
  tt-rss/purge: false
  tt-rss/pgsql/method: TCP/IP
* tt-rss/self_url_path: https://XXX
  tt-rss/pgsql/no-empty-passwords:
* tt-rss/mysql/method: Unix socket
  tt-rss/install-error: abort
  tt-rss/upgrade-backup: true
  tt-rss/pgsql/changeconf: false
  tt-rss/internal/skip-preseed: false
  tt-rss/missing-db-package-error: abort
  tt-rss/pgsql/authmethod-user: password
* tt-rss/mysql/admin-user: root
* tt-rss/db/app-user: tt-rss@localhost

--- End Message ---
--- Begin Message ---
Source: tt-rss
Source-Version: 18.12+dfsg-1.1

We believe that the bug you reported is fixed in the latest version of
tt-rss, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helmut Grohne <[email protected]> (supplier of updated tt-rss package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 03 Jun 2019 06:15:55 +0200
Source: tt-rss
Architecture: source
Version: 18.12+dfsg-1.1
Distribution: sid
Urgency: medium
Maintainer: Sebastian Reichel <[email protected]>
Changed-By: Helmut Grohne <[email protected]>
Closes: 923661
Changes:
 tt-rss (18.12+dfsg-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload acknowledged by Sebastian Reichel.
   * Cherry pick JShrink PHP 7.3 compatibility patch. (Closes: #923661)
   * Default to using syslog as log backend rather than sql.
Checksums-Sha1:
 0535083e36d4e8b1987a79022bb02b6d6138026c 1911 tt-rss_18.12+dfsg-1.1.dsc
 3ba1a374c99a4c5d0a169ebf5405075cf31e049f 29424 
tt-rss_18.12+dfsg-1.1.debian.tar.xz
 a0244cd891298ed69f18595e97393e19de761112 5023 
tt-rss_18.12+dfsg-1.1_amd64.buildinfo
Checksums-Sha256:
 bf1a1f30cb45dade188fe1dd56457752250d1bdcc0fd8fc2c3f2cba2acd5f3ae 1911 
tt-rss_18.12+dfsg-1.1.dsc
 21fb67699add7fdea02ace242703cd71572261e8b60776bceb8538f771022f24 29424 
tt-rss_18.12+dfsg-1.1.debian.tar.xz
 3c68f6e53d9f5eaef1d33148e95302c19fadd9343cb9aa730178d8ad851f93cb 5023 
tt-rss_18.12+dfsg-1.1_amd64.buildinfo
Files:
 ecf2bbf21a3283249f62380e29e8b371 1911 web optional tt-rss_18.12+dfsg-1.1.dsc
 86d54125457692660029e971a100701f 29424 web optional 
tt-rss_18.12+dfsg-1.1.debian.tar.xz
 b4b529762961ec509722efc61cd362ac 5023 web optional 
tt-rss_18.12+dfsg-1.1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETMLS2QqNFlTb+HOqLRqqzyREREIFAlz0n9EACgkQLRqqzyRE
REKs1A/7BsJBKIqQc/pkM4bEHmd8FmzL/NEQ9uJeXPbDNdV+4Jd3+lc98/DrG9Vz
ZHfqgLKw/055g36bdtufDvocntOaaSnCYqLTv2wzu4EHiPL1MckpAE9ZH6BgAijp
2jucF49Brkf/qsWfeYr9rPnYqd2iWByQvLJXD29BozpywvKaNCYBF4CCSRKyrwQg
eOWXHOKTNqU09o3vOMoeZp0iHB+gns4VnGXStMRPg0O4woRUimhX/Y+hUkgeMNaM
A+PNJeemOD46km4iOsPf8O4x5KxHrnbdDQJ9+G7CLefeRCqppZR+ZuIacaQzx1Am
2XW3R0egUXeuomyk9wJ1MwK+Ab8KLU2afxP93ybe9fWnwYNyzZWcpJbrgm10C03c
dEMSjzYswHjLVXZu8NEQdh4IV6pt6pNqqpd9XS78HWtsNLjmAKasH2khxCStQbq1
MWoIgu8N+NgFDPxNJWa6EgYWefdgXx9V+jUKCAyozjBzZhhe1gO4g5/syTZ4UeHr
1XRqgQoZGXNp8LWyg5xBXFfvFCm8dYETCJIttavll86JUHFg1URgbjJub1/TI7i2
vLhI6eRfZHdgYsCZEcQdzg+gwobMaqVIi+KCLoblQ8Hyw556jicTWyh2lgeVucMZ
JtbGpTDXMp0SonQgUOYHSYNrQ0pIfOoDcooKOs6LD8NtUNs9oA4=
=LHJU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to