Pages: 1 2
Hallo,
after some changes in my Piwigo (User deleted, Alben deleted and moved).
I got now an error message (above left):
Notice: Undefined index: community_enabled in /web/vhosts/fc-vhs-kaarst.de/public/plugins/community/main.inc.php on line 182
This message is on all sites for visitors and users, see yourself: http://www.fc-vhs-kaarst.de/
As Admin I dont have this message!
What can it be?
Gruß
Jörgen
Last edited by Joergen (2014-01-29 23:24:46)
Offline
Hello
do you use Community plugin ? if not, remove it
what are your versions (Piwigo and plugin) ?
did you deleted the album "Community" ?
Offline
Hi,
yes use Community plugin "needed".
Both newest Version:
Piwigo 2.5.3
Community 2.5.d
As far as I know there was never a "community" album.
But I deleted the Admin (user) album.
Last edited by Joergen (2014-01-15 14:28:13)
Offline
No further Idea?
Where can I start searching?
Offline
no
i notify the author
Offline
Thanks
Can I deinstall and reinstall Community Plugin? Or do I lose all settings for the User?
Offline
you will lose settings, but not photos
Offline
Hi,
I notice something more, that properly can help to identify the problem.
When I am Locked in as Admin, the Notice message is not shown.
And in the menu both Picture upload links are seen.
See pic sc1.
When I am Locked in as User, the Notice message is shown (as seen also as visitors).
And in the menu one Picture upload links is gone.
See pic sc2
Last edited by Joergen (2014-01-18 11:33:51)
Offline
@plg, any Idea what I can do?
Offline
Hi :-)
[extension by grum] Advanced Menu Manager is activate ?
Offline
Yes activated.
But I think this is just a effect from the main problem of the community plugin (or something around it).
Offline
I don't understand how $user_permissions['community_enabled'] can not be set.
Can you edit file plugins/community/include/functions_community.inc.php, line 47, before:
return $_SESSION['community_user_permissions'];
insert
echo 'Community uses permissions from session<br>'; echo '<pre>'; print_r($_SESSION['community_user_permissions']); echo '</pre>';
Offline
Thank you for taking care.
Yes I can edit files. Just for my understanding, I should add this code...
echo 'Community uses permissions from session<br>';
echo '<pre>'; print_r($_SESSION['community_user_permissions']); echo '</pre>';
before line 47...
return $_SESSION['community_user_permissions'];
Offline
Done
Offline
OK, you can remove inserted code. I have copied the debug trace.
Offline
Pages: 1 2