Announcement

#1 2019-02-12 00:37:55

kdmiller45
Member
Phoenix
2018-07-16
67

Edit user freeze

Hello

When I try to edit a user I just get a screen saying Loading with edit user in top left corner


    Piwigo 2.9.4
    Operating system: Linux
    PHP: 7.2.10-0ubuntu0.18.04.1 (Show info) [2019-02-11 16:36:01]
    MySQL: 5.7.25-0ubuntu0.18.04.2 [2019-02-11 16:36:01]
    Graphics Library: ImageMagick 6.9.7-4

Keith

Offline

 

#2 2019-02-12 22:50:22

erAck
Only trying to help
2015-09-06
2026

Re: Edit user freeze

Does your server set the Content-Security-Policy header? If so, you need to add at least script-src 'unsafe-eval'. As other places also need inline, it probably should be script-src 'self' 'unsafe-inline' 'unsafe-eval' at the end.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2019-02-13 04:32:26

kdmiller45
Member
Phoenix
2018-07-16
67

Re: Edit user freeze

In what file or config would that be set
keith

Offline

 

#4 2019-02-13 10:46:55

erAck
Only trying to help
2015-09-06
2026

Re: Edit user freeze

It's either in the Apache httpd.conf, or for Nginx a server{} block, or an .htaccess file. But if you don't know that then you probably also didn't add the header there ;-)

Anyway, you can find out whether the header is sent or not and what it contains using
curl -sviI https://YourDomain

Note that the output is different between http and https and the last character of the options is a capital I (i) not l (L).

Last edited by erAck (2019-02-13 10:53:37)


Running Piwigo at https://erack.net/gallery/

Offline

 

#5 2019-02-13 13:11:34

kdmiller45
Member
Phoenix
2018-07-16
67

Re: Edit user freeze

I appreciate the help, not sure that is the issue,this was working find until Saturday or Sunday, I suspect it is a plugin I used, I have now removed All plugins and it still  does not work, just says loading, I can add users just can't edit there profile

Looks like user can edit their own profile just not the admin

Keith

Last edited by kdmiller45 (2019-02-13 13:15:33)

Offline

 

#6 2019-02-13 21:45:17

erAck
Only trying to help
2015-09-06
2026

Re: Edit user freeze

Well, try the curl command I gave or continue to poke about in a fog. If the curl output contains the Content-Security-Policy header and that does not list the mentioned script-src then that's very likely the cause. If there is no Content-Security-Policy header then it's something different. At least you'd know then.


Running Piwigo at https://erack.net/gallery/

Offline

 

#7 2019-04-01 00:11:14

erAck
Only trying to help
2015-09-06
2026

Re: Edit user freeze

Same question was asked again by same user in [Forum, topic 29192] Edit User and there was the Piwigo URL given, but since that is http only not https and the Content-Security-Policy header is not set my assumption does not hold.
So, something different.


Running Piwigo at https://erack.net/gallery/

Offline

 

#8 2019-04-01 01:04:40

executive
Member
2017-08-16
1214

Offline

 

#9 2019-04-02 01:59:22

kdmiller45
Member
Phoenix
2018-07-16
67

Re: Edit user freeze

Ok I host (on my server in the house) two website using Piwago
One vetiraq.com has the editing user profile issue where it just shows loading
the other ourlifeinpixs.com has no issues what so ever
I can add users no problem also

both hosted on same server have these versions install

•Piwigo 2.9.4
•Operating system: Linux
•PHP: 7.2.15-0ubuntu0.18.04.2 (Show info) [2019-04-01 17:51:42]
•MySQL: 5.7.25-0ubuntu0.18.04.2 [2019-04-01 16:51:42]
•Graphics Library: ImageMagick 6.9.7-4

so I'm sure its not the advice given

see the attached for the output of curl

Last edited by kdmiller45 (2019-04-03 01:04:33)

Offline

 

#10 2019-04-06 06:01:21

kdmiller45
Member
Phoenix
2018-07-16
67

Re: Edit user freeze

I'm also seeing this message in history

Notice: Undefined index: day in /var/www/vetiraq/admin/stats.php on line 294

Offline

 

#11 2019-04-06 06:13:55

executive
Member
2017-08-16
1214

Re: Edit user freeze

Did you try disabling modsecurity like I suggested?


https://piwigo.org/forum/viewtopic.php? … 83#p172983

Offline

 

#12 2019-04-06 17:29:37

kdmiller45
Member
Phoenix
2018-07-16
67

Re: Edit user freeze

I hate to ask, but does it make any difference that I have another Piwigo site on this same server working fine and I have changed nothing since the two were installed

Offline

 

#13 2019-04-06 20:18:06

erAck
Only trying to help
2015-09-06
2026

Re: Edit user freeze

Any difference in their .htaccess files that could prevent execution of "unsafe" inline eval script?


Running Piwigo at https://erack.net/gallery/

Offline

 

#14 2019-04-07 05:08:00

kdmiller45
Member
Phoenix
2018-07-16
67

Re: Edit user freeze

I have attached the Curl results advised to do earlier

ourlifeinpixs site has no problems
vetiraq has the viewing user profiles issue

both hosted on same server installed same day
vetiraq worked fine until about two weeks ago now, maybe longer

Thanks for any help

Offline

 

#15 2019-04-07 07:31:21

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Edit user freeze

Hi :-)

[Github] Piwigo issue #999

in the fex day a new release for this bug


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

Board footer

Powered by FluxBB

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