InfotelGLPI / printercounters

Plugin Printercounters for GLPI
http://blogglpi.infotel.com
GNU General Public License v2.0
14 stars 9 forks source link

Issue with counters #57

Open draico13 opened 4 years ago

draico13 commented 4 years ago

Hi everyone,

I'm discovering plugin printercounter. When I try to make an "Immediat record", here is the following error : imagen

This is log error sql-errors.log file [2019-09-27 18:25:01] glpisqllog.ERROR: DBmysql::query() in /var/www/html/glpi.simplot.ar/public_html/inc/dbmysql.class.php line 188 ** MySQL query error: SQL: SELECT FROM glpi_plugin_printercounters_items_recordmodels WHERE items_id = '89' AND LOWER(itemtype) = 'printer' Error: Unknown column 'LOWER(itemtype)' in 'where clause' Backtrace : inc/dbmysqliterator.class.php:95 inc/dbmysql.class.php:580 DBmysqlIterator->execute() inc/commondbtm.class.php:525 DBmysql->request() ...ins/printercounters/inc/erroritem.class.php:210 CommonDBTM->find() ...ins/printercounters/inc/erroritem.class.php:191 PluginPrintercountersErrorItem->isInError() plugins/printercounters/ajax/record.php:107 PluginPrintercountersErrorItem->showErrorItem() {"user":"2@glpiol01"}

This is Log File php-errors.log [2019-09-27 11:51:00] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/html/glpi.simplot.ar/public_html/inc/toolbox.class.php line 659 *** PHP Warning(2): implode(): Invalid arguments passed Backtrace : : ...ounters/scripts/printercounters_fullsync.php:86 implode() {"user":"@glpiol01","mem_usage":"0.000\", 6.01Mio)"}

I'm a bit confused, if some could help me it wold be fantastic :)

I'm under GLPI 9.4.3 and plugin version 1.6.0.

Thx a lot