Bug#503010: #503010 [G||] [gallery2] gallery2: fails to upgrade / fails to install - fwrite error

2008-10-22 Thread Michael Schultheiss
Alban Browaeys wrote:
 I am out of clue about what is happening though this may be more
 dependant on my system than I first thought (I hope this is not a bug
 introduced in the upgrade to php5 5.2.6-5 that I upgraded at teh same
 time as gallery2 be it in the code or if the default config has a
 change that could explain such an issue ...
 
 I bet this also explains the config.php truncated to 0 on upgrade.

I haven't been able to duplicate this.  I was able to successfully
upgrade my gallery from gallery2-2.2.6-1 to gallery2-2.3-1 without
issue.  I'm running php5 5.2.6-5 as well.  I'm setting up a test
environment with gallery2 2.2.5-2 and will try upgrading directly to
2.3-1 to see if I can duplicate this.


-- 

Michael Schultheiss
E-mail: [EMAIL PROTECTED]



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



Bug#503010: #503010 [G||] [gallery2] gallery2: fails to upgrade / fails to install - fwrite error

2008-10-21 Thread Alban Browaeys
Package: gallery2
Version: 2.3-1
Followup-For: Bug #503010

Hi

I investigate a bit deeper about the second issue (fails to re-install) :
the problem lays down in the fwrite call in 
install/steps/CreateConfigFileStep.class 
line 127.
For me this line returns false after is_writable and fopen succeed.
I am out of clue about what is happening though this may be more dependant on 
my system
than I first thought (I hope this is not a bug introduced in the upgrade to 
php5 5.2.6-5 that 
I upgraded at teh same time as gallery2 be it in the code or if the default 
config has a change
that could explain such an issue ...

I bet this also explains the config.php truncated to 0 on upgrade.


Best regards,
Alban


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-wl (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/bash

Versions of packages gallery2 depends on:
ii  apache [httpd] 1.3.34-4.1versatile, high-performance HTTP s
ii  apache22.2.9-10  Apache HTTP Server metapackage
ii  apache2-mpm-prefork [h 2.2.9-10  Apache HTTP Server - traditional n
ii  caudium [httpd]3:1.4.12-11.1 An extensible WWW server written i
ii  debconf [debconf-2.0]  1.5.24Debian configuration management sy
ii  imagemagick7:6.4.1.7.dfsg1-1 image manipulation programs
ii  libapache-mod-php4 6:4.4.6-2+b1  server-side, HTML-embedded scripti
ii  libapache2-mod-php55.2.6-5   server-side, HTML-embedded scripti
ii  libphp-adodb   5.05-1The ADOdb database abstraction lay
ii  mysql-client-5.0 [mysq 5.0.51a-15MySQL database client binaries
ii  netpbm 2:10.0-12 Graphics conversion tools
ii  php4   6:4.4.6-2 server-side, HTML-embedded scripti
ii  php4-mysql 6:4.4.6-2+b1  MySQL module for php4
ii  php4-pgsql 6:4.4.6-2+b1  PostgreSQL module for php4
ii  php5   5.2.6-5   server-side, HTML-embedded scripti
ii  php5-mysql 5.2.6-5   MySQL module for php5
ii  php5-pgsql 5.2.6-5   PostgreSQL module for php5
ii  postgresql-client  8.3.4-2   front-end programs for PostgreSQL 
ii  postgresql-client-8.2  8.2.7-2+b1front-end programs for PostgreSQL 
ii  postgresql-client-8.3  8.3.4-2   front-end programs for PostgreSQL 
ii  smarty 2.6.20-1  Template engine for PHP
ii  wwwconfig-common   0.1.2 Debian web auto configuration

Versions of packages gallery2 recommends:
ii  dcraw 8.86-1 decode raw digital camera images
ii  ffmpeg3:20080706-0.2 audio/video encoder, streaming ser
ii  jhead 2.84-1 manipulate the non-image part of E
ii  libjpeg-progs 6b-14  Programs for manipulating JPEG fil
ii  php4-gd   6:4.4.6-2+b1   GD module for php4
ii  php5-gd   5.2.6-5GD module for php5
ii  unzip 5.52-12De-archiver for .zip files
ii  zip   2.32-1 Archiver for .zip files

Versions of packages gallery2 suggests:
ii  mysql-server  5.0.51a-15 MySQL database server (metapackage
ii  mysql-server-5.0 [mysql-serve 5.0.51a-15 MySQL database server binaries
ii  postgresql8.3.4-2object-relational SQL database (su

-- debconf-show failed



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