Package: zabbix-frontend-php
Version: 1:1.8.2-1squeeze2
Severity: normal

Reproduce:
Prepare clean Debian setup (with ru_RU.UTF-8 locale in my case)
aptitude install zabbix-frontend-php zabbix-server-mysql apache2-mpm-prefork
 (apache2-mpm-prefork instead worker - for other web application)

In menu 'Administration' 'General' choose images, press 'Create Image' button, 
upload .png
After this instead of image i see error message "imagecreatefromstring(): Data 
is not in a recognized format" 

I fix this:

aptitude purge zabbix-frontend-php zabbix-server-mysql
(with drop zabbix database)
Edit /etc/mysql/my.cnf (add lines to appropriate sections):

[mysqld]
default-character-set=utf8
default-collation=utf8_general_ci
character-set-server=utf8
collation-server=utf8_general_ci
init-connect='SET NAMES utf8'

[client]
default-character-set=utf8

restart mysql server

aptitude install zabbix-frontend-php zabbix-server-mysql

After this image uploading work as expected.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zabbix-frontend-php depends on:
ii  apache2-mpm-prefork [h 2.2.16-6+squeeze3 Apache HTTP Server - traditional n
ii  dbconfig-common        1.8.46+squeeze.0  common framework for packaging dat
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libjs-prototype        1.6.1-1           JavaScript Framework for dynamic w
ii  libjs-scriptaculous    1.8.3-1           JavaScript library for dynamic web
ii  php5                   5.3.3-7+squeeze3  server-side, HTML-embedded scripti
ii  php5-gd                5.3.3-7+squeeze3  GD module for php5
ii  php5-mysql             5.3.3-7+squeeze3  MySQL module for php5
ii  ttf-dejavu-core        2.31-1            Vera font family derivate with add
ii  ucf                    3.0025+nmu1       Update Configuration File: preserv

zabbix-frontend-php recommends no packages.

zabbix-frontend-php suggests no packages.

-- debconf information:
  zabbix-frontend-php/mysql/app-pass: (password omitted)
  zabbix-frontend-php/pgsql/app-pass: (password omitted)
  zabbix-frontend-php/password-confirm: (password omitted)
  zabbix-frontend-php/mysql/admin-pass: (password omitted)
  zabbix-frontend-php/app-password-confirm: (password omitted)
  zabbix-frontend-php/pgsql/admin-pass: (password omitted)
  zabbix-frontend-php/remote/port:
  zabbix-frontend-php/remote/host:
  zabbix-frontend-php/pgsql/admin-user: postgres
* zabbix-frontend-php/database-type: mysql
  zabbix-frontend-php/dbconfig-upgrade: true
  zabbix-frontend-php/dbconfig-remove:
  zabbix-frontend-php/pgsql/no-empty-passwords:
  zabbix-frontend-php/db/basepath:
  zabbix-frontend-php/zabbix-server: 127.0.0.1
  zabbix-frontend-php/internal/reconfiguring: false
  zabbix-frontend-php/db/app-user: zabbix
  zabbix-frontend-php/install-error: abort
  zabbix-frontend-php/zabbix-server-port: 10051
  zabbix-frontend-php/missing-db-package-error: abort
  zabbix-frontend-php/pgsql/method: unix socket
  zabbix-frontend-php/pgsql/authmethod-user:
  zabbix-frontend-php/remote/newhost:
  zabbix-frontend-php/mysql/admin-user: root
  zabbix-frontend-php/mysql/method: unix socket
  zabbix-frontend-php/upgrade-error: abort
  zabbix-frontend-php/upgrade-backup: true
  zabbix-frontend-php/restart-webserver: true
  zabbix-frontend-php/passwords-do-not-match:
  zabbix-frontend-php/pgsql/manualconf:
  zabbix-frontend-php/dbconfig-install: true
  zabbix-frontend-php/db/dbname: zabbix
  zabbix-frontend-php/remove-error: abort
  zabbix-frontend-php/pgsql/changeconf: false
  zabbix-frontend-php/reconfigure-webserver: apache, apache-ssl, apache-perl, 
apache2
  zabbix-frontend-php/dbconfig-reinstall: false
  zabbix-frontend-php/purge: false
  zabbix-frontend-php/pgsql/authmethod-admin: ident
  zabbix-frontend-php/internal/skip-preseed: false


-- 
Stanislav



-- 
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