1

Topic: Error while cleaning your computer components

Dear Sirs,

After update  GLPI from version 0.80.2 till 0.80.3, have place follow errors during the clear or remote computers.

User Notice(1024): GLPI autoload : file ../inc/computer_devicecase.class.php not founded trying to load class 'Computer_DeviceCase'
Variables:<wddxPacket version='1.0'><header><comment>Variables</comment></header><data><struct><var name='classname'><string>Computer_DeviceCase</string></var><var name='DEBUG_AUTOLOAD'><null/></var><var name='notfound'><array length='0'></array></var><var name='dir'><string>../inc/</string></var><var name='plug'><boolean value='false'/></var><var name='item'><string>computer_devicecase</string></var><var name='matches'><array length='0'></array></var></struct></data></wddxPacket>
Backtrace :
/usr/share/glpi/inc/includes.php:97             trigger_error()
/usr/share/glpi/inc/commondbtm.class.php:475            __autoload()
/usr/share/glpi/inc/commondbtm.class.php:406            CommonDBTM->cleanRelationData()
/usr/share/glpi/inc/commondbtm.class.php:1094           CommonDBTM->deleteFromDB()
/usr/share/glpi/front/computer.form.php:87              CommonDBTM->delete()


Also during the attempt to clear any components of computer have place follow errors:


User Notice(1024): GLPI autoload : file ../inc/computer_devicemotherboard.class.php not founded trying to load class 'Computer_DeviceMotherboard'
Variables:<wddxPacket version='1.0'><header><comment>Variables</comment></header><data><struct><var name='classname'><string>Computer_DeviceMotherboard</string></var><var name='DEBUG_AUTOLOAD'><null/></var><var name='notfound'><array length='0'></array></var><var name='dir'><string>../inc/</string></var><var name='plug'><boolean value='false'/></var><var name='item'><string>computer_devicemotherboard</string></var><var name='matches'><array length='0'></array></var></struct></data></wddxPacket>
Backtrace :
/usr/share/glpi/inc/includes.php:97             trigger_error()
/usr/share/glpi/inc/commondbtm.class.php:475            __autoload()
/usr/share/glpi/inc/commondbtm.class.php:406            CommonDBTM->cleanRelationData()
/usr/share/glpi/inc/commondbtm.class.php:1094           CommonDBTM->deleteFromDB()
/usr/share/glpi/front/dropdown.common.form.php:80               CommonDBTM->delete()
/usr/share/glpi/front/devicemotherboard.form.php:41             include()

21-09-2011 10:46 [6@glpi]
User Notice(1024): GLPI autoload : file ../inc/computer_deviceharddrive.class.php not founded trying to load class 'Computer_DeviceHardDrive'
Variables:<wddxPacket version='1.0'><header><comment>Variables</comment></header><data><struct><var name='classname'><string>Computer_DeviceHardDrive</string></var><var name='DEBUG_AUTOLOAD'><null/></var><var name='notfound'><array length='0'></array></var><var name='dir'><string>../inc/</string></var><var name='plug'><boolean value='false'/></var><var name='item'><string>computer_deviceharddrive</string></var><var name='matches'><array length='0'></array></var></struct></data></wddxPacket>
Backtrace :
/usr/share/glpi/inc/includes.php:97             trigger_error()
/usr/share/glpi/inc/commondbtm.class.php:475            __autoload()
/usr/share/glpi/inc/commondbtm.class.php:406            CommonDBTM->cleanRelationData()
/usr/share/glpi/inc/commondbtm.class.php:1094           CommonDBTM->deleteFromDB()
/usr/share/glpi/front/massiveaction.php:180             CommonDBTM->delete()


System information:

GLPI  0.80.3 (/glpi => /usr/share/glpi)

Server

Operating Systems : Linux glpi 2.6.32-33-generic-pae #72-Ubuntu SMP Fri Jul 29 22:06:29 UTC 2011 i686
PHP 5.3.2-1ubuntu4.9 (Core, PDO, Phar, Reflection, SPL, SimpleXML, apache2handler, bcmath, bz2, calendar, ctype, curl, date,
        dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, mozart concerto, imap, json, ldap, libxml, mbstring, mcrypt,
        mhash, mssql, mysql, mysqli, openssl, pcre, pdo_dblib, pdo_mysql, posix, session, shmop, soap, sockets, standard, sysvmsg,
        sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib)
Setup: memory_limit="128M" max_execution_time="30" safe_mode="" session.save_handler="files" post_max_size="200M"
        upload_max_filesize="10M"
Software: Apache/2.2.14 (Ubuntu) (Apache/2.2.14 (Ubuntu) Server at glpi.kuppo.com Port 80)
        Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
MySQL: 5.1.41-3ubuntu12.10 (glpi@localhost/glpi)

../config : OK
../files : OK
../files/_dumps : OK
../files/_sessions : OK
../files/_cron : OK
../files/_cache/ : OK
../files/_graphs : OK
../files/_log : OK


Thanks in advance for your help,

2

Re: Error while cleaning your computer components

Corrected

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

3

Re: Error while cleaning your computer components

Thank you.

But remained error when removing components from the menu Setup> Components.


21-09-2011 13:20 [6@glpi]
User Notice(1024): GLPI autoload : file ../inc/computer_deviceharddrive.class.php not founded trying to load class 'Computer_DeviceHardDrive'
Variables:<wddxPacket version='1.0'><header><comment>Variables</comment></header><data><struct><var name='classname'><string>Computer_DeviceHardDrive</string></var><var name='DEBUG_AUTOLOAD'><null/></var><var name='notfound'><array length='0'></array></var><var name='dir'><string>../inc/</string></var><var name='plug'><boolean value='false'/></var><var name='item'><string>computer_deviceharddrive</string></var><var name='matches'><array length='0'></array></var></struct></data></wddxPacket>
Backtrace :
/usr/share/glpi/inc/includes.php:97             trigger_error()
/usr/share/glpi/inc/commondbtm.class.php:475            __autoload()
/usr/share/glpi/inc/commondbtm.class.php:406            CommonDBTM->cleanRelationData()
/usr/share/glpi/inc/commondbtm.class.php:1094           CommonDBTM->deleteFromDB()
/usr/share/glpi/front/dropdown.common.form.php:80               CommonDBTM->delete()
/usr/share/glpi/front/deviceharddrive.form.php:41               include()

4

Re: Error while cleaning your computer components

Corrected too

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

5

Re: Error while cleaning your computer components

thanks