You are not logged in.
Pages: 1
Topic closed
En testant l'import depuis le plugin j'ai :
15-07-2011 21:28 [6@P189]
Notice(8): Undefined index: entities_id
Backtrace :
D:\OCSNG\xampp\htdocs\glpi83\inc\common.function.php:323 userErrorHandlerNormal()
D:\OCSNG\xampp\htdocs\glpi83\inc\rulecachedcollection.class.php:217 userErrorHandlerDebug()
D:\OCSNG\xampp\htdocs\glpi83\inc\rulecachedcollection.class.php:113 RuleCachedCollection->insertDataInCache()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php:4890 RuleCachedCollection->processAllRules()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php:1882 PluginOcsinventoryngOcsServer::updateSoftware()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php:1681 PluginOcsinventoryngOcsServer::updateComputer()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php:1290 PluginOcsinventoryngOcsServer::importComputer()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\front\ocsng.import.php:83 PluginOcsinventoryngOcsServer::processComputer()15-07-2011 21:28 [6@P189]
*** MySQL query error :
***
SQL: INSERT INTO `glpi_rulecachesoftwares` (`old_value`, `manufacturer`, `old_entities_id`, `rules_id`, `new_value`, `version`, `new_manufacturer`, `is_helpdesk_visible`, `ignore_ocs_import`, `new_entities_id`)
VALUES (\'Microsoft .NET Framework 1.1 Security Update (KB979906)\', \'Non déterminé\', \'\', 52 ,\'\' ,\'\' ,\'\' ,\'\' ,\'1\' ,\'\')
Error: Unknown column 'old_entities_id' in 'field list'
Backtrace :
D:\OCSNG\xampp\htdocs\glpi83\inc\rulecachedcollection.class.php :234 DBmysql->query()
D:\OCSNG\xampp\htdocs\glpi83\inc\rulecachedcollection.class.php :113 RuleCachedCollection->insertDataInCache()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php :4890 RuleCachedCollection->processAllRules()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php :1882 PluginOcsinventoryngOcsServer::updateSoftware()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php :1681 PluginOcsinventoryngOcsServer::updateComputer()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php :1290 PluginOcsinventoryngOcsServer::importComputer()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\front\ocsng.import.php :83 PluginOcsinventoryngOcsServer::processComputer()
D:/OCSNG/xampp/htdocs/glpi83/plugins/ocsinventoryng/front/ocsng.import.php
Ca parle a quelqu'un ? ca vient de moi ?
Xavier Caillaud
Blog GLPI Infotel
Offline
ta db est pas à jour on dirait
Offline
oups je vais vérifier.
Par contre dans glpi-0.83-empty.sql y a pas les 2 nouveaux champs
Xavier Caillaud
Blog GLPI Infotel
Offline
Apres update db et correction de ma classe ocsserver, j'ai encore :
SQL: SELECT *
FROM `glpi_rulecachesoftwares`
WHERE `old_value` = \'Microsoft Windows XP Professional\' AND `manufacturer` = \'Microsoft Corporation\' AND `old_entities_id` = \'1\'
Error: Unknown column 'old_entities_id' in 'where clause'
Backtrace :
D:\OCSNG\xampp\htdocs\glpi83\inc\rulecachedcollection.class.php :183 DBmysql->query()
D:\OCSNG\xampp\htdocs\glpi83\inc\rulecachedcollection.class.php :104 RuleCachedCollection->checkDataInCache()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php :4902 RuleCachedCollection->processAllRules()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php :1887 PluginOcsinventoryngOcsServer::updateSoftware()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php :1686 PluginOcsinventoryngOcsServer::updateComputer()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\inc\ocsserver.class.php :1295 PluginOcsinventoryngOcsServer::importComputer()
D:\OCSNG\xampp\htdocs\glpi83\plugins\ocsinventoryng\front\ocsng.import.php :83 PluginOcsinventoryngOcsServer::processComputer()
D:/OCSNG/xampp/htdocs/glpi83/plugins/ocsinventoryng/front/ocsng.import.php
Xavier Caillaud
Blog GLPI Infotel
Offline
ok et maintenant ?
Offline
imppec. Plus d'erreurs.
Xavier Caillaud
Blog GLPI Infotel
Offline
Pages: 1
Topic closed