You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-09-03 15:22:24

pmaxx
Member
From: Michigan USA
Registered: 2008-09-03
Posts: 27
Website

Problem with Entities Tree View

Greetings;

GLPI is great software.  Thank you for the very fine work.

I am using version 0.71.1 on a FreeBSD 7.0 server with Apache 2.2, PHP 5.2.5, and MySQL 5.x

My problem is this: I assign a user (lets call him "userA") super-admin priviliges to some entities, and no priviliges to other entities.  When I log in as "userA" and select the entities tree view, I can see the entities for which "userA"  has no privileges.  When I click on an entity for whick "userA" has no priliveges, I get a blank screen, and I can see from the url displayed at the bottom of the browser window that browser is caught in a loop accessing ther server address, then 127.0.0.1, then the server address, on and on.

I have to click the red "X" t ostop the page from trying to load, and then click the back button to get to a GLPI page that will load correctly.

The best way to do this (IMHO) is to not show the links to items that the current user cannot access, or disable them and display them in different color.

I'm usling FireFox version 1.5 on a FreeBSD 6.3 desktop unit.

Thank you again for the great software!

-Paul

Offline

#2 2008-09-03 18:10:42

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Problem with Entities Tree View

if auser have no access to an entity he must not see the entity.
Do you have informations in debug mode ?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2008-09-08 18:16:07

pmaxx
Member
From: Michigan USA
Registered: 2008-09-03
Posts: 27
Website

Re: Problem with Entities Tree View

Greetings MoYo;

Sorry for the delay.  I thought the problem went away, I can select entities from the administration menu, but the entities tree throws an error no matter what account I login under.  This is the message from debug mode:

PHP ERROR: Undefined index: HTTP_REFERER in /usr/local/glpi/front/central.php at line 62

This software is very powerful, I hope this problem can be solved!

Thanks in advance!

Paul

Offline

#4 2008-09-08 23:39:46

pmaxx
Member
From: Michigan USA
Registered: 2008-09-03
Posts: 27
Website

Re: Problem with Entities Tree View

It turns out that the demo site has the same behavior.  If you attempt to select a different entity from the entity tree (not from Administration/Entities) you get a blank screen.

The software is still great!  Thank you!

Paul

Offline

#5 2008-09-08 23:59:30

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Problem with Entities Tree View

what do you do exactly ?
I have no problem on the demo site.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#6 2008-09-09 06:10:41

pmaxx
Member
From: Michigan USA
Registered: 2008-09-03
Posts: 27
Website

Re: Problem with Entities Tree View

OK, just did it again just now.
- I log in as admin_en
- I click Inventory menu
- I select networks (it doesn't matter, any inventory item will bring up the entity tree)
- On the far left at the top it now says: Central> Inventory> Networks
- In that same column on the right, it says:entity A (tree structure)
- I click on "entity A(tree structure)"
- A menu opens
- I select entity B
Problem starts, screen goes blank, entity B never gets selected.  I have to back out of the blank screen.

I'm using Firefox 3.0.1 on Windows 2000

This is a Firefox 3 issue!  I just tried to reproduce this on another machine (Windows XP and Firefox 2.0.0.15) and there was no problem.

-Paul

Offline

#7 2008-09-10 15:08:38

pmaxx
Member
From: Michigan USA
Registered: 2008-09-03
Posts: 27
Website

Re: Problem with Entities Tree View

Hello;

Is anyone else able to reproduce this problem on Firefox 3?

Clicking on anything in the entities tree window causes a blank screen in Firefox 3.

Offline

#8 2008-09-10 19:42:21

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Problem with Entities Tree View

no sorrry


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#9 2009-02-26 19:33:03

bcsaba
Member
Registered: 2009-02-26
Posts: 4

Re: Problem with Entities Tree View

I have a similar problem with FireFox (v. 3.0.6) and entity tree view.
In GLPI version 0.70 the tree view function was OK. After upgrading to 0.71.5 the tree view stoped functioning. After click on the Root entity (tree view) nothing happes.
In IE and Google Chrome the function works great.
Any idea?
Strange is, that in the demo version (on the glpi server) the function works.

Last edited by bcsaba (2009-02-26 19:34:06)

Offline

#10 2009-02-26 19:39:37

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Problem with Entities Tree View

do you clean your cache ?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#11 2009-02-27 10:41:34

bcsaba
Member
Registered: 2009-02-26
Posts: 4

Re: Problem with Entities Tree View

Clearing the cache workd. Thx.

Offline

#12 2009-02-27 10:45:19

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Problem with Entities Tree View

ok, I close


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

Board footer

Powered by FluxBB