Package: phpbb2
Version: 2.0.13-6sarge3
Severity: normal

I have a problem using the avatar gallery feature of phpBB.  First, to
get the gallery avatars to show up at all, I had to run the command
"chmod g+r /var/lib/phpbb2/avatars/gallery".  And I also had to make
all the gallery subdirectories[1] I had to create also be readable and
executable by the www-data group.  (I suspect this bug to still be
present in phpbb2-2.0.21-4.)  Anyway, with this, a user can see the
avatar images in the galleries and can select them when editing his
profile.

BUT, when the user then selects "Submit" on the profile editing
screen, the avatar setting is ignored and the database is not updated.
The SQL UPDATE command issued does not include the 'user_avatar' or
'user_avatar_type' columns.  So the previous avatar setting is kept,
except that if the previous avatar setting was a user-uploaded image
file, this file will still be deleted, so the avatar setting will then
be set to a non-existing image file.

Note that changing the avatar image to one from a gallery *does* work
*if* done using the "Administration Panel/User Admin/Management" page.
But the user can not do it himself from the "Profile" page.

/Teddy

1) <http://www.phpbb.com/support/documents.php?mode=faq>, question 15:
   "How do I use the avatar settings?"

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-686-smp
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages phpbb2 depends on:
ii  apache2                  2.0.54-5sarge1  next generation, scalable, extenda
ii  apache2-mpm-prefork [htt 2.0.54-5sarge1  traditional model for Apache2
ii  boa [httpd]              0.94.14rc20-1.2 Lightweight and High Performance W
ii  debconf                  1.4.30.13       Debian configuration management sy
ii  libapache2-mod-php4      4:4.3.10-16     server-side, HTML-embedded scripti
ii  php4                     4:4.3.10-16     server-side, HTML-embedded scripti
ii  php4-mysql               4:4.3.10-16     MySQL module for php4
ii  php4-pgsql               3:4.3.10-4      PostgreSQL module for php4

-- debconf information:
* phpbb2/httpd: apache2


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

Reply via email to