User cannot upload images
ionutaron opened this issue · 6 comments
I have Piwigo installed in a jail in a TrueNAS machine, with the community plugin installed. Here is the environment:
- Piwigo 12.2.0
- OS: FreeBSD
- PHP: 7.3.33
- MySQL: 5.5.5-10.5.13-MariaDB [2022-02-07 15:36:23]
- Graphics Library: External ImageMagick 7.1.0-13
- Community plugin version 12.b
I have a regular user named ionut that has access to the whole gallery, with high trust privileges and ability to create sub-albums. No limits on how many photos or disk space. This user is part of a group called Upload that has permissions for all the albums loaded (I've loaded some test albums while logged as administrator)
However, when I log in as ionut, I don't have the ability to upload pictures (there is no button that allows me to do that).
Any help would be appreciated.
Thanks.
I'm having the same issues.
Piwigo 12.3.0
Operating system: Linux
PHP: 7.4.23
MySQL: 5.5.5-10.5.12-MariaDB-log
Graphics Library: ImageMagick 7.0.11-13
@ionutaron did you ever manage to get this to work?
@jonathanjuursema no, still not working...
Any updates on this? I am facing the same thing
Piwigo 13.1.0
PHP 7.4.3
Same Issue. I have to assign a user full administrator privileges to allow uploading.
[edit] Found my Piwigo version:
Piwigo 13.8.0
Operating system: Linux
PHP: 8.1.13
MySQL: 8.0.33-0ubuntu0.20.04.2
Graphics Library: GD 2.3.3
[end edit]
Community 12.c
PS: Found the maintenanceHere's what I did to get around it:
I set all users as Status = "Administrator" and Privacy level = "Admins" in the GUI.
Then I went and edited the /var/www/html/_data/templates_c/longvariablecharacters.file.menubar.tpl.php
Modified line 228 ( in this version ) from:
if ( ( isset($_smarty_tpl->tpl_vars['U_ADMIN']->value) ) ) {?>
to:
if ( ( isset($_smarty_tpl->tpl_vars['U_ADMIN']->value) ) and ( $_smarty_tpl->tpl_vars['USERNAME']->value === 'adminusernamehere' ) ) {?>
It's a hack I know... but now the piwigo android client will allow users to upload files with community.