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 2020-10-27 21:34:08

Tja
Member
Registered: 2020-01-31
Posts: 32

bug when i create a printer with gabarit

Hello

i must restart my adress bar for create a printer with gabarit
it's work but i restart always my adress bar       /front/printer.form.php?id=234&withtemplate=2



in php-errors  i have this

--------------------------------------------------------------------------------------------

[2020-10-27 22:11:52] glpiphplog.CRITICAL:   *** Uncaught Exception RuntimeException: Cannot guess  in C:\inetpub\wwwroot\inc\commondbchild.class.php at line 867
  Backtrace :
  inc\features\clonable.class.php:68                 CommonDBChild::getItemField()
  inc\commondbtm.class.php:1234                      Printer->post_clone()
  inc\commondbtm.class.php:1070                      CommonDBTM->clone()
  front\printer.form.php:50                          CommonDBTM->add()
--------------------------------------------------------------------------------------------------------------------------------------------------------
i m uninstall the plug in Field

in line 867 (it's that code : ''throw new \RuntimeException('Cannot guess ');'' )



any idea for solve

i have no other bug with computer ''gabarit'' or monitor
i have this error only for printer

thank i love glpi

Offline

#2 2020-11-09 12:57:20

webmastergreg
Member
Registered: 2010-09-23
Posts: 119
Website

Re: bug when i create a printer with gabarit

Hi
I can confirm this bug
Same behaviour

[2020-11-09 10:42:03] glpiphplog.CRITICAL:   *** Uncaught Exception RuntimeException: Cannot guess  in /home/x/public_html/GLPITEST/inc/commondbchild.class.php at line 867
  Backtrace :
  inc/features/clonable.class.php:68                 CommonDBChild::getItemField()
  inc/commondbtm.class.php:1234                      Printer->post_clone()
  inc/commondbtm.class.php:1070                      CommonDBTM->clone()
  front/printer.form.php:50                          CommonDBTM->add()

Last edited by webmastergreg (2020-11-09 13:11:39)


GLPI 9.5.2 / LSWS Enterprise 5.4.11 + PHP 7.4.15 with Zend OPcache + APCu 5.1.19 + MariaDB 10.2.36  / CENTOS 7.9

Offline

#3 2020-12-16 10:40:00

webmastergreg
Member
Registered: 2010-09-23
Posts: 119
Website

Re: bug when i create a printer with gabarit

Hi
this bug evolved a bit with GLPI 9.5.3.
#8218 **Blank page when i use a template in printer GLPI 9.5.2 but work with GLPI 9.5 **

First CRITICAL seems fixed, but now I get this :

Uncaught Exception RuntimeException: Cannot guess field for itemtype Printer on Cartridge in /inc/commondbchild.class.php at line 882

Last edited by webmastergreg (2020-12-16 11:20:10)


GLPI 9.5.2 / LSWS Enterprise 5.4.11 + PHP 7.4.15 with Zend OPcache + APCu 5.1.19 + MariaDB 10.2.36  / CENTOS 7.9

Offline

Board footer

Powered by FluxBB