Announcement

#1 2014-10-16 17:57:46

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Can't manage users or groups

Hello. 

I'm a new Piwigo user.  I just installed 2.7.1. 
I set up Community to create user albums for users on first connection.
The system allows users to register but I am unable to create or manage users under <Users> <Manage>.  The user list is empty, even though users are able to log in.

When I click on "+Add a user", the address in my browser address bar changes from
   http://www.nfa64.org/piwigo/admin.php?page=user_list     to
   http://www.nfa64.org/piwigo/admin.php?page=user_list#
                  (The difference is the "#" on the end.)
but nothing else happens.

I've also noticed that the icons next to many of the options are different from those on the demo site.  For example,  the icons across the top
            (Visit the gallery | Change administration colors | Help Me | Logout) 
are "icon-eye", "icon-brush.tiptip", "icon-help-circled.tiptip" and "icon-logout".

On the demo site, they show as pictures - an eye, a brush tip, an "h" in a circle and an arrow.
On my system they show as small boxes with 4 tiny characters in them:
       
                 E7          E          E            E
                 0A          07        1A          1B       (the place after the "E" in the last 3 boxes is a filled box)

What is wrong with my installation?


Oh - immediately after installation I was able to upload a picture while taking the "tour", but was then unable to upload pictures - got an "internal server error 500" message.  I fixed that by changing permissions on the perigo directory from 710 to 777.  I wonder it this might also be a permissions issue.



Piwigo version: 2.7.1
PHP version: 5.3.10-1ubuntu3.11
MySQL version: 5.5.37-0ubuntu0.12.04.1
Piwigo URL: http://nfa64.org/piwigo

Offline

 

#2 2014-10-16 18:20:26

Ricardomax
Member
2014-10-10
5

Re: Can't manage users or groups

Hey,

I think that might be a   folder+files permissions.

I had a similar problem, and putting every folder and file on 777 right, it worked.

I ran this command ssh:


chmod 777 /var/www/vhosts/smtp.widex.pt/httpdocs/galeriawidex -R

(galeriawidex) is the name of piwigo root folder.

Hope it helps,

Offline

 

#3 2014-10-16 18:22:53

flop25
Piwigo Team
2006-07-06
7037

Re: Can't manage users or groups

Hi
re-upload all the files by overwriting existing files and folders, also check permission of files and folders
ps:ha I'm getting slower ;-)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2014-10-16 18:39:26

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Can't manage users or groups

Ricardomax - changing everything to 777 fixed it.  Thanks.

Flop25 - you said to check permissions.  What should they be?  I don't like leaving it all as 777 if not necessary.

Offline

 

#5 2014-10-16 18:56:22

flop25
Piwigo Team
2006-07-06
7037

Re: Can't manage users or groups

A quick search would give you 755 for folders and 644 for files with the right owner


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2014-10-16 20:36:00

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Can't manage users or groups

Thank you very much.

Offline

 

#7 2016-10-05 13:17:38

antigone
Member
2016-05-28
12

Re: Can't manage users or groups

Hello, have a similar issue, was not sure if I had to open a new thread or not.

I can't add any new users (I have around 14 users).
When I try to add them clicking on the submit button, it quickly flashes as if starting with the submission but then the screen freezes and nothing happens, no error, no new user.
I checked the permissions in the piwigo installation folder and they are correct. 755 for folders and 644 for files.
Any help would be greatly appreciated.

Thanx

PS: Before that, I got an error message when I was trying to view the users-panel, about some JSON issue, can't recall it unfortunately. I went to maintenance and ran through everything and then the error message disappeared but the problem above appeared, hope that helps somehow.

Last edited by antigone (2016-10-05 13:20:38)

Offline

 

#8 2016-10-06 13:40:11

flop25
Piwigo Team
2006-07-06
7037

Re: Can't manage users or groups

antigone wrote:

Hello, have a similar issue, was not sure if I had to open a new thread or not.

I can't add any new users (I have around 14 users).
When I try to add them clicking on the submit button, it quickly flashes as if starting with the submission but then the screen freezes and nothing happens, no error, no new user.
I checked the permissions in the piwigo installation folder and they are correct. 755 for folders and 644 for files.
Any help would be greatly appreciated.

Thanx

PS: Before that, I got an error message when I was trying to view the users-panel, about some JSON issue, can't recall it unfortunately. I went to maintenance and ran through everything and then the error message disappeared but the problem above appeared, hope that helps somehow.

several potential causes:
-json module for php missing or not working
-php errors hidden for general display but popping in the data exchange by json: usually it's the timezone error caused by php [Forum, topic 26099] TIMEZONE error.............


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#9 2016-10-08 22:18:13

antigone
Member
2016-05-28
12

Re: Can't manage users or groups

Hello, thanx for the reply.

How do I know if the json module for php is missing or not working? (sorry I am not so advanced)
This is how my php file looks like:

safe_mode=OFF
disable_functions=NONE
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
date.timezone = Europe/Athens
file_uploads = On
max_execution_time = 300

Seems like the date.timezone is ok since I live in Athens. Should I change it? It was working before.
Please advice me what to do, but be patient since I am a novice.

Thank you so much

Offline

 

#10 2016-10-09 19:00:30

flop25
Piwigo Team
2006-07-06
7037

Re: Can't manage users or groups

displaying the developer panel (usually F12 in many web browser) and checking the error and data returned would help
may I have an admina ccount sent at flop25 at piwigo.org plz ?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#11 2016-10-10 00:52:33

antigone
Member
2016-05-28
12

Re: Can't manage users or groups

Hello this is what the console looked like:

If you say admin account do you mean I should create an FTP account for you (I am a noob, sorry)?

By the way I got the error again and it looks like the second photo:

Last edited by antigone (2016-10-10 01:01:17)

Offline

 

#12 2016-10-10 10:06:01

flop25
Piwigo Team
2006-07-06
7037

Re: Can't manage users or groups

an piwigo admin login


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#13 2016-10-10 12:58:08

flop25
Piwigo Team
2006-07-06
7037

Re: Can't manage users or groups

weirdly Piwigo ban itself since the token generated is recognized as not valid (it's a security feature)
I ask for mre help becuase I don't see anyr eason for the token to be rejected


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#14 2016-10-10 13:11:03

antigone
Member
2016-05-28
12

Re: Can't manage users or groups

Thank you for your help, awaiting...

Offline

 

#15 2016-10-10 17:01:53

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Can't manage users or groups

If the pwg_token is unexpectedly invalid, it might mean the session is invalid as well. The most common reason is that you are using several IP addresses, while Piwigo uses your IP address in the key of your session (kind of). So, first edit your local configuration (with plugin LocalFiles Editor) to add:

Code:

<?php
$conf['session_use_ip_address'] = false;
?>

Then disconnect and log in again.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact