Package: piwigo
Version: 2.1.2-2
Severity: important

Hi,

Piwigo seem to be broken after a package install with sqlite3 database.
On the home (http://server.com/piwigo/) page I can see PHP errors :

"
Notice: Use of undefined constant SQLITE3_OPEN_READWRITE - assumed
'SQLITE3_OPEN_READWRITE' in
/usr/share/piwigo/web/include/dblayer/functions_sqlite3.inc.php on line 48
Fatal error: Class 'SQLite3' not found in
/usr/share/piwigo/web/include/dblayer/functions_sqlite3.inc.php on line 51
"

I followed the package configuration step with dbconfig-common. I have sqlite3
installed. I tested this on two different up to date squeeze distro.

Regards,
Thomas PIERSON



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing                                                           
                                                                                
                   
  APT policy: (900, 'testing'), (800, 'stable'), (90, 'unstable'), (1, 
'experimental')                                                                 
                            
Architecture: amd64 (x86_64)                                                    
                                                                                
                   
                                                                                
                                                                                
                   
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)                                
                                                                                
                   
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)                  
                                                                                
                   
Shell: /bin/sh linked to /bin/dash                                              
                                                                                
                   
                                                                                
                                                                                
                   
Versions of packages piwigo depends on:                                         
                                                                                
                   
ii  apache2                       2.2.16-2   Apache HTTP Server metapackage     
                                                                                
                   
ii  apache2-mpm-prefork [httpd]   2.2.16-2   Apache HTTP Server - traditional 
n                                                                               
                     
ii  dbconfig-common               1.8.46     common framework for packaging dat 
                                                                                
                   
ii  debconf [debconf-2.0]         1.5.35     Debian configuration management sy 
                                                                                
                   
ii  libapache2-mod-php5           5.3.2-2    server-side, HTML-embedded 
scripti                                                                         
                           
ii  libjs-jquery                  1.4.2-2    JavaScript library for dynamic 
web                                                                             
                       
ii  libphp-pclzip                 2.8.2-2    zip archive manager class for PHP  
                                                                                
                   
ii  php5                          5.3.2-2    server-side, HTML-embedded 
scripti                                                                         
                           
ii  php5-gd                       5.3.2-2    GD module for php5
ii  php5-mysql                    5.3.2-2    MySQL module for php5
ii  smarty                        2.6.26-0.2 Template engine for PHP

Versions of packages piwigo recommends:
ii  mysql-client-5.1 [mysql-clien 5.1.49-1   MySQL database client binaries
ii  mysql-server                  5.1.49-1   MySQL database server 
(metapackage
ii  mysql-server-5.1 [mysql-serve 5.1.49-1   MySQL database server binaries 
and
ii  sqlite3                       3.7.2-1    A command line interface for 
SQLit

piwigo suggests no packages.

-- debconf information:
* piwigo/debconf_install: true
  piwigo/install-error: abort
  piwigo/pgsql/changeconf: false
* piwigo/admin_mail: ad...@localhost
  piwigo/pgsql/admin-user: postgres
  piwigo/pgsql/method: unix socket
  piwigo/upgrade-error: abort
  piwigo/pgsql/manualconf:
  piwigo/dbconfig-upgrade: true
  piwigo/db/basepath: /var/cache/www/piwigo
  piwigo/pgsql/authmethod-admin: ident
  piwigo/db/app-user:
  piwigo/remote/port:
  piwigo/pgsql/authmethod-user: password
  piwigo/dbconfig-remove:
  piwigo/passwords-do-not-match:
  piwigo/remote/host:
  piwigo/pgsql/no-empty-passwords:
  piwigo/internal/skip-preseed: false
* piwigo/admin_login: admin
* piwigo/database-type: sqlite3
  piwigo/upgrade-backup: true
  piwigo/remove-error: abort
* piwigo/dbconfig-install: true
  piwigo/dbconfig-reinstall: false
  piwigo/mysql/admin-user: root
  piwigo/mysql/method: unix socket
  piwigo/internal/reconfiguring: false
  piwigo/missing-db-package-error: abort
  piwigo/purge: false
  piwigo/remote/newhost:
  piwigo/db/dbname: piwigo
* piwigo/webserver: apache2

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to