Report any technical problems you discover and discuss solutions.

v3: edit project gif permissions

  • jayaich
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
10 jaren 11 maanden geleden #3061 door jayaich
v3: edit project gif permissions werd gestart door 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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
10 jaren 11 maanden geleden #3063 door tom
Beantwoord door tom in topic 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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • jayaich
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
10 jaren 11 maanden geleden #3064 door jayaich
Beantwoord door jayaich in topic 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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • jayaich
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
10 jaren 11 maanden geleden #3069 door jayaich
Beantwoord door jayaich in topic 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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.141 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo