Report any technical problems you discover and discuss solutions.

v3: edit project gif permissions

Plus d'informations
il y a 10 ans 11 mois #3061 par jayaich
v3: edit project gif permissions a été créé par jayaich
Hi,

If I use the management interface to list user projects, and then show and try to edit a project I get a broken image icon, the text 'optional parameters' and the Xerte logo displayed. Nothing else.

It seems the problem is the 'editor/img/loading16.gif' file (this is the broken image). It has (under Linux) permissions 644 (basically read-only). If I change the permissions to 755 (so basically read and execute), then the image works fine and the whole editing project interface appears.



John.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 11 mois #3063 par tom
Réponse de tom sur le sujet v3: edit project gif permissions
That's weird. Even 644 should be enough.

As a test I changed the permissinn on my SuSE installation to 444 and it still works for me.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 11 mois #3064 par jayaich
Réponse de jayaich sur le sujet v3: edit project gif permissions
Hi,

Thanks for that - it's sometimes difficult to tell if something is a local problem or a general one.

I tried accessing the management page from my Laptop (yesterday was from my PC) and got the same problem (broken image etc). So the permissions was not the problem. I have set the permissions back to 644.

I had set in Apache that the '/editor' directory must only be accessed by Shibboleth authenticated users. I disabled this, and the image worked fine (which is strange). I also got the 'edit' page showing correctly (local logo etc) but no details about the project.

So it seems to be more a web server problem than anything. I'll take a further look at the Apache config later on, as well as at 'edithtml.php' to try and see why no project details are appearing.


John.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 11 mois #3069 par jayaich
Réponse de jayaich sur le sujet v3: edit project gif permissions
Problem solved. I had not realised that some of the code used in the management interface was the same as that used by users. The 'editor' part was protected by Shibboleth, so users could use itto change projects, but the management interface could not see it. I have now changed Apache to allow either shib users or management users to access it.
I have also allowed all users access to image/img directories. That explains the broken link. Not too sure why it didn't work on the laptop and then did. Perhaps after it failed I tried accessing it as an ordinary user, the browser cached the image, so when I retried the management interface again it then worked. (maybe?)



John.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.141 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo