Announcement

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

kdmiller45
Member
Phoenix
2018-07-16
20

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
Member
2015-09-06
158

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
20

Re: Edit user freeze

In what file or config would that be set
keith

Offline

 

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

erAck
Member
2015-09-06
158

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
20

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
Member
2015-09-06
158

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

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact