Package: gallery
Version: 1.5.9-1
Severity: important
Tags: patch

Hello,

After upgrading to the latest Gallery1 package in unstable I received a
warning indicating that I need to go through the setup process again. I
went through it but then, after saving the config in the last step of
the setup "wizard", I received the following error:

gallery Parse error: syntax error, unexpected T_STRING in 
/var/lib/gallery/setup/write.inc.

This seems to be caused by a syntax error because the following patch
allowed me to successfully finish the configuration:

--- /var/lib/gallery/setup/write.inc~   2008-09-16 17:15:13.000000000 -0400
+++ /var/lib/gallery/setup/write.inc    2008-10-05 15:30:25.000000000 -0400
@@ -207,7 +207,7 @@
                $message .= "<br><br>";
        }
        else {
-               $message = gTranslate('config', ""We highly suggest that you 
run '/usr/share/gallery/secure.sh' for increased security.");
+               $message = gTranslate('config', "We highly suggest that you run 
'/usr/share/gallery/secure.sh' for increased security.");
        }
 }
 
Cheers,

Eloy Paris.-

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

Kernel: Linux 2.6.26.5 (PREEMPT)
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 gallery depends on:
ii  apache2                       2.2.9-9    Apache HTTP Server metapackage
ii  apache2-mpm-prefork [httpd]   2.2.9-9    Apache HTTP Server - traditional n
ii  debconf [debconf-2.0]         1.5.23     Debian configuration management sy
ii  libapache2-mod-php5           5.2.6-4    server-side, HTML-embedded scripti
ii  netpbm                        2:10.0-12  Graphics conversion tools
ii  php5                          5.2.6-4    server-side, HTML-embedded scripti

Versions of packages gallery recommends:
ii  imagemagick         7:6.3.7.9.dfsg1-2+b2 image manipulation programs
ii  jhead               2.82-1               manipulate the non-image part of E
ii  libjpeg-progs       6b-14                Programs for manipulating JPEG fil
ii  unzip               5.52-12              De-archiver for .zip files

gallery suggests no packages.

-- debconf information:
* gallery/configure_warning:
* gallery/restart: true
* gallery/webserver: apache
* gallery/album_warning:



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

Reply via email to