You are not logged in.
Hello everyone!
I installed 0.84.7 GLPI on Centos 6
And everything was ok.
I add several locations to dropdown and added several users.
There was dropdown box of Locations in New user page.
Today it is dissapeared.
But I still can see Location dropdown if I open existing user page.
I guess I made some wrong settings.
How I can get Location dropdown box and search and add buttons back on the new user page?
Thanks a lot!
Offline
Could you pass un Debug mode to see if you have errors ?
Have you errors in logs files ?
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
I add several locations to dropdown and added several users.
how ? by using setup>dropdowns>location ?
what about the entities ?
are the new users in an entity where the location is available ?
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
I add several locations to dropdown and added several users.
how ? by using setup>dropdowns>location ?
what about the entities ?
are the new users in an entity where the location is available ?
I've add several locations using add ("+") button near Location dropdown on New user page.
All Locations are in Root entity.
But! First time when I was adding Locations I was able to set them as child of Root entity. Now I can't.
I can't change Location's entity to Root entity and also it is disabled to set Root entity as a parent entity of new location on the New location page.
Btw, there is no errors in logs.
And I also not so good in debug mode but in first table (SQL Queries) Errors column is empty.
Thank you.
Last edited by Dmitry (2014-09-03 11:40:10)
Offline
go to setup>dropdowns>location
check if all the location are here.
then for each location set "chlid-entity" to "YES"
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
I try it yesterday twice and set it now again.
It doesn't solve the problem
Offline
I try it yesterday twice and set it now again.
when you set child entity to "yes" it should stay to "YES". you don t need to set it several time.
how many entities do you use ?
can you "navigate" in each entity ?
if you create a new user in root, can you set location ?
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
I just check may be it can help to set to 'NO'
It doesn't, so I set child entity to 'YES'
I have 8 entities as a child of Root entity, some of them with their own childs, some are not.
Totally 35 rows.
I can "navigate" in each entity.
New user creates in Root by default and the problem is the same.
I create new user without Location dropdown box.
After that I navigate to new user and see Location dropdown box available to be set with all Locations I have.
But how I can activate Location on New user page?
Offline
Hi,
now i think i undeerstand your problem.
I don't think you have ever seen the location dropdown on a new user form.
the user class has a test "show location if user has an ID" but a new user has no ID.
the user is associated to an entity by some rules when you clic in "add".
the dropdown location needs to know the users entity to display the available location fot this entity.
that's why you can't set the location to a new user (that has no entity set yet)
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
Unfortunatelly, I've already created several users with Location dropdown before occured this issue.
I'll try to reinstall glpi to the new clear database and will check if you right or not.
Offline
So, I've installed new glpi and try to create New user.
I have Location dropdown box. I can add new locations using "add" ("+") button and then I can choose added location for new adding user on the New user page.
Offline
how manny entities ?
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
No matter. How many do you prefer?
I can create as many as you ask.
Offline
it was just to check if there where several :answer is "yes" at least : root and itv.
your 2 screenshots look different, are you using the same browser ? (round corners for title)
in the second you can set the user entity. do you remember if the entity was set in the first post?
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
Yep, different browsers.
It is no matter what browser I use.
I checked first version. No Location in both browsers.
I checked clear (second) version. Location dropdown box exist in both browsers.
I guess some settings I made occured this issue.
I have no idea which parameter removed Location dropdown from New user page.
I'm afraid, I have to compare settings in both versions and compare all columns in mysql tables glpi_locations in both versions of my installation of glpi.
Offline
No difference.
Absolutely the same settings of general setup in both installations of glpi.
Offline
What do you mean by "first version" and "second version"?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
I mean that I have "First" installation with Locations dropdown issue in New user page.
And I've installed clear glpi on another host (new installation on clear mysql database).
And there is no Locations dropdown issue.
Actually first time I've installed "First" glpi there wasn't Location dropdown issue there.
I guess, I made some settings and issue occured.
I try to investigate how to solve this issue on the "Frist" installation.
Offline
Do you have a default profile defined in the installation with issue?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Mmm... Do you mean default user?
Yes, I have 'glpi' user.
I also have another user with 'Super-admin' role.
And this user have the same issue with Locations dropdown on the New user page.
Offline
I've uploaded glpi_locations and glpi_users table to new database.
I dumped new database with that tables to old one.
Same thing in different browsers.
Last edited by Dmitry (2014-09-08 17:03:03)
Offline