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 2021-01-14 17:30:09

capu81
Member
Registered: 2021-01-13
Posts: 7

Can't add rules in search criteria

Hi, i've a strange issue. I can't add criteria in search rules. If i click on "+ rule" button nothing happens. Same with global rule or group.

I've tried with more than one profile with the same result (super-admin don't work anywhere)

Rule problem

Offline

#2 2021-01-28 09:06:06

capu81
Member
Registered: 2021-01-13
Posts: 7

Re: Can't add rules in search criteria

no suggestion?

Offline

#3 2021-02-01 22:15:49

oj69
Member
From: Somewhere in the cloud
Registered: 2021-02-01
Posts: 157

Re: Can't add rules in search criteria

capu81 wrote:

Hi, i've a strange issue. I can't add criteria in search rules. If i click on "+ rule" button nothing happens. Same with global rule or group.

I've tried with more than one profile with the same result (super-admin don't work anywhere)

which GLPI-Version ? Any Webblocker in the browser installed ?

Offline

#4 2021-02-01 23:02:30

WebGreg
Member
Registered: 2020-02-27
Posts: 727

Re: Can't add rules in search criteria

I don't know what version of GLPI you are using.
Is it new installation?
If not... when it was working properly? What have you done since then? Any update?
Have you tried with a different browser?
Did you try with debug mode on?


--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS

Offline

#5 2021-02-10 13:51:33

capu81
Member
Registered: 2021-01-13
Posts: 7

Re: Can't add rules in search criteria

Sorry for delay....

GLPI 9.5.3.

I've update from a previous version (that work)
I've tried with 4 different browser with same result.
I've not tried debug mode. I will try it and send report.

Offline

#6 2021-02-10 15:55:56

WebGreg
Member
Registered: 2020-02-27
Posts: 727

Re: Can't add rules in search criteria

You can check log files too. Maybe you will find there something useful.

In my scenerio:
/var/log/apache2
/var/log/mysql
/var/www/html/glpi/files/_log


--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS

Offline

#7 2021-02-11 11:52:20

capu81
Member
Registered: 2021-01-13
Posts: 7

Re: Can't add rules in search criteria

I can't find useful information in log. Only one record in access.log

172.16.20.47 - - [11/Feb/2021:10:36:23 +0100] "POST /glpi/ajax/search.php HTTP/1.1" 200 - "http://intranet/glpi/front/ticket.php?is_deleted=0&criteria[0][field]=5&criteria[0][searchtype]=equals&criteria[0][value]=6&criteria[1][link]=AND&criteria[1][field]=12&criteria[1][searchtype]=equals&criteria[1][value]=notold&itemtype=Ticket&start=0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"

I've activate debug mode, but i don't now how to use it

FluxBB bbcode test

Offline

#8 2021-02-11 18:28:25

capu81
Member
Registered: 2021-01-13
Posts: 7

Re: Can't add rules in search criteria

With debug mode ON, in php-errors.log i see:

[2021-02-11 17:27:06] glpiphplog.NOTICE:   *** PHP User deprecated function (16384): Use DBmysql::fetchAssoc() in /var/www/html/glpi/inc/toolbox.class.php at line 634
  Backtrace :
  inc/toolbox.class.php:634                          trigger_error()
  inc/dbmysql.class.php:485                          Toolbox::deprecated()
  inc/search.class.php:1359                          DBmysql->fetch_assoc()
  inc/search.class.php:98                            Search::constructData()
  inc/search.class.php:80                            Search::showList()
  front/ticket.php:50                                Search::show()

Offline

Board footer

Powered by FluxBB