You are not logged in.
The environment
GLPI 0.84.7
PDF 0.84.2
The error message
2014-10-14 09:42:31
Notice(8): Undefined index: netpoints_id
Backtrace :
/usr/local/share/glpi/plugins/pdf/inc/networkport.class.php:104 Toolbox::userErrorHandlerNormal()
/usr/local/share/glpi/plugins/pdf/inc/common.class.php:167 PluginPdfNetworkPort::pdfForItem()
/usr/local/share/glpi/plugins/pdf/inc/common.class.php:291 PluginPdfCommon::displayCommonTabForPDF()
/usr/local/share/glpi/plugins/pdf/front/export.php:60 PluginPdfCommon->generatePDF()
2014-10-14 09:42:31
Notice(8): Undefined index: netpoints_id
Backtrace :
/usr/local/share/glpi/plugins/pdf/inc/networkport.class.php:104 Toolbox::userErrorHandlerNormal()
/usr/local/share/glpi/plugins/pdf/inc/common.class.php:167 PluginPdfNetworkPort::pdfForItem()
/usr/local/share/glpi/plugins/pdf/inc/common.class.php:291 PluginPdfCommon::displayCommonTabForPDF()
/usr/local/share/glpi/plugins/pdf/front/export.php:60 PluginPdfCommon->generatePDF()
2014-10-14 09:42:31
PDF: don't know how to display Lock$1 tab\n
Tomás Abad
Offline
I have no problem with networkport.
Do you have the field netpoints_id in glpi_networkportethernets?
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
Hello Nelly,
Here you have the requested information.
mysql> describe glpi_networkportethernets;
+-----------------------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------------------+-------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| networkports_id | int(11) | NO | UNI | 0 | |
| items_devicenetworkcards_id | int(11) | NO | MUL | 0 | |
| netpoints_id | int(11) | NO | MUL | 0 | |
| type | varchar(10) | YES | MUL | | |
| speed | int(11) | NO | MUL | 10 | |
+-----------------------------+-------------+------+-----+---------+----------------+
6 rows in set (0.00 sec)
mysql> show index from glpi_networkportethernets;
+---------------------------+------------+-----------------+--------------+-----------------------------+-----------+-------------+----------+--------+------+------------+---------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
+---------------------------+------------+-----------------+--------------+-----------------------------+-----------+-------------+----------+--------+------+------------+---------+
| glpi_networkportethernets | 0 | PRIMARY | 1 | id | A | 1 | NULL | NULL | | BTREE | |
| glpi_networkportethernets | 0 | networkports_id | 1 | networkports_id | A | 1 | NULL | NULL | | BTREE | |
| glpi_networkportethernets | 1 | card | 1 | items_devicenetworkcards_id | A | 1 | NULL | NULL | | BTREE | |
| glpi_networkportethernets | 1 | netpoint | 1 | netpoints_id | A | 1 | NULL | NULL | | BTREE | |
| glpi_networkportethernets | 1 | type | 1 | type | A | 1 | NULL | NULL | YES | BTREE | |
| glpi_networkportethernets | 1 | speed | 1 | speed | A | 1 | NULL | NULL | | BTREE | |
+---------------------------+------------+-----------------+--------------+-----------------------------+-----------+-------------+----------+--------+------+------------+---------+
6 rows in set (0.00 sec)
Regards,
Last edited by tabad (2014-10-29 01:35:34)
Tomás Abad
Offline
You have this error with which type of item?
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