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 2007-12-04 22:02:49

cachill08
Member
Registered: 2007-06-12
Posts: 17

0.7-RC3 - 2 Plugins - help

First off - Thank You .... This is by far the best product that I've tested & implemented to manage datacenter inventory.

I have two errors that are bugging me w RC3 release

Backups shows the following error:

PHP ERROR: Undefined offset: 31 in /var/www/html/glpi/plugins/backups/inc/plugin_backups.functions_display_works.php at line 766

Project shows the following error:

PHP ERROR: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 144
PHP ERROR: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 152
PHP ERROR: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 144

**Project works under production system

How to add Additional field for Storage devices ie: IBM, EMC, HDS under Inventory panel? Similar to Networking - with the ability to add ports & luns.

Also - Is there a way to change the default colors? I would like to be able to use company standards to integrate with Intranet *GLPI logo would remain or can this be modified as well?


Also - is there any docs on migrating data from .68 to RC3 - mainly ticket history & user accounts is all I want to bring from Beta(.68.3-2 - prod in my case)

Thanks in advance smile
BTW - I'm spreading the word!


OS:Fedora 7 2.6.23.1-21.fc7
OCS ver: 4100
Server: Apache 2.2.6 Mysql:5.0.45-1 PHP:5.2.4-1

Offline

#2 2007-12-04 22:31:40

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: 0.7-RC3 - 2 Plugins - help

You must use compatibles plugins with the 0.7 RC3.

How to add Additional field for Storage devices ie: IBM, EMC, HDS under Inventory panel? Similar to Networking - with the ability to add ports & luns.

You need to developp it. GLPI doesn't manage this for the moment.

Also - Is there a way to change the default colors?

You need to edit the css file.

Also - is there any docs on migrating data from .68 to RC3

The upgrade process is the same as usually.

Look at the readme file.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#3 2007-12-04 22:46:37

cachill08
Member
Registered: 2007-06-12
Posts: 17

Re: 0.7-RC3 - 2 Plugins - help

Thanks for the reply - about plugins: I installed from the following url:

http://glpi-project.org/tarballs-plugins/

Are these not compatible for RC3? or just the 2 that aren't working for my installation?

I'll work on plugin-development for the Storage add-on - starters with my co's product line & submit for review.

Thanks again!


OS:Fedora 7 2.6.23.1-21.fc7
OCS ver: 4100
Server: Apache 2.2.6 Mysql:5.0.45-1 PHP:5.2.4-1

Offline

#4 2007-12-05 00:00:14

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: 0.7-RC3 - 2 Plugins - help

cachill08 wrote:

Backups shows the following error:

PHP ERROR: Undefined offset: 31 in /var/www/html/glpi/plugins/backups/inc/plugin_backups.functions_display_works.php at line 766

corrected thank you

cachill08 wrote:

Project shows the following error:

PHP ERROR: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 144
PHP ERROR: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 152
PHP ERROR: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 144

No others errors ? More explicit ?

yes there are all 0.7 compatible big_smile


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2007-12-05 00:10:41

cachill08
Member
Registered: 2007-06-12
Posts: 17

Re: 0.7-RC3 - 2 Plugins - help

This is all I can see from debug mode -

134    SELECT glpi_plugin_project_items.ID AS entID,glpi_plugin_project.*
FROM glpi_plugin_project_items,glpi_plugin_project
WHERE FK_device = '190' AND device_type = '1' AND glpi_plugin_project_items.FK_project=glpi_plugin_project.ID AND glpi_plugin_project_items.is_template='0'


OS:Fedora 7 2.6.23.1-21.fc7
OCS ver: 4100
Server: Apache 2.2.6 Mysql:5.0.45-1 PHP:5.2.4-1

Offline

#6 2007-12-05 00:14:36

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: 0.7-RC3 - 2 Plugins - help

which page ? a screen ?

in glpi\files\_log ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#7 2007-12-05 00:21:21

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: 0.7-RC3 - 2 Plugins - help

plugins plugins plugins....
big_smile


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#8 2007-12-05 00:30:30

cachill08
Member
Registered: 2007-06-12
Posts: 17

Re: 0.7-RC3 - 2 Plugins - help

mysql errors:
Script: /glpi/front/computer.form.php
SQL: SELECT glpi_plugin_applicatifs_device.ID AS entID,glpi_plugin_applicatifs.* FROM glpi_plugin_applicatifs,glpi_plugin_appl
icatifs_device WHERE glpi_plugin_applicatifs_device.FK_device = \'192\' AND glpi_plugin_applicatifs_device.device_type = \'1\'
AND glpi_plugin_applicatifs.ID=glpi_plugin_applicatifs_device.FK_applicatif
Error: Table 'glpidb.glpi_plugin_applicatifs' doesn't exist
2007-12-04 12:22:16
*** MySQL query error :
***
Script: /glpi/front/computer.form.php
SQL: SELECT * FROM glpi_plugin_applicatifs WHERE deleted=\'0\'
Error: Table 'glpidb.glpi_plugin_applicatifs' doesn't exist

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

2007-12-04 12:37:33
*** MySQL query error :
***
Script: /glpi/front/cron.php
SQL: SELECT * FROM acid_event WHERE timestamp LIKE \'%2007-12-3%\'
Error: No database selected

-----------------
EDIT : TSMR

2 errors big_smile

the plugin applicatifs is present in the plugins directory but it isn't installed.

For acid_event, it's snort no ?


OS:Fedora 7 2.6.23.1-21.fc7
OCS ver: 4100
Server: Apache 2.2.6 Mysql:5.0.45-1 PHP:5.2.4-1

Offline

#9 2007-12-05 00:41:05

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: 0.7-RC3 - 2 Plugins - help

This is the last version of tarball of applicatifs ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#10 2007-12-05 01:20:21

cachill08
Member
Registered: 2007-06-12
Posts: 17

Re: 0.7-RC3 - 2 Plugins - help

Installed Appliance & error is now gone smile

I found another one now for Project - looks like gantt isn't able to render:

PHP ERROR: Undefined index: parentID in /var/www/html/glpi/plugins/projet/inc/plugin_projet.functions_gantt.php at line 166
Gantt
PHP ERROR: Undefined index: end in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 886
PHP ERROR: Undefined index: start in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 886
PHP ERROR: Undefined index: group in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 615
PHP ERROR: Undefined index: start in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 621
PHP ERROR: Undefined index: end in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 621
PHP ERROR: Undefined index: end in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 622
PHP ERROR: Undefined index: start in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 622
PHP ERROR: Undefined index: group in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 615
PHP ERROR: Undefined index: start in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 628
PHP ERROR: Undefined index: end in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 643
PHP ERROR: Undefined index: start in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 676
PHP ERROR: Undefined index: end in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 677
PHP ERROR: Undefined index: group in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 229
PHP ERROR: Invalid argument supplied for foreach() in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 229
PHP ERROR: Undefined index: group in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 615
PHP ERROR: Undefined index: start in /var/www/html/glpi/plugins/projet/inc/gantt.class.php at line 197


OS:Fedora 7 2.6.23.1-21.fc7
OCS ver: 4100
Server: Apache 2.2.6 Mysql:5.0.45-1 PHP:5.2.4-1

Offline

#11 2007-12-05 01:36:07

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: 0.7-RC3 - 2 Plugins - help

first error corrected.

for the others :

hum...these errors are in the detail of a project or on the list of projects ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#12 2007-12-05 01:47:00

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: 0.7-RC3 - 2 Plugins - help

This is in the blank template ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#13 2007-12-05 01:54:01

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: 0.7-RC3 - 2 Plugins - help

corrected


Xavier Caillaud
Blog GLPI Infotel

Offline

#14 2007-12-05 01:54:37

cachill08
Member
Registered: 2007-06-12
Posts: 17

Re: 0.7-RC3 - 2 Plugins - help

Sorry about that - I was still in debug mode smile


OS:Fedora 7 2.6.23.1-21.fc7
OCS ver: 4100
Server: Apache 2.2.6 Mysql:5.0.45-1 PHP:5.2.4-1

Offline

#15 2007-12-05 01:56:31

cachill08
Member
Registered: 2007-06-12
Posts: 17

Re: 0.7-RC3 - 2 Plugins - help

snort - yes - what did I do wrong?

I'll start working on the Storage plugin this week after I get this setup complete smile

Thank you!


OS:Fedora 7 2.6.23.1-21.fc7
OCS ver: 4100
Server: Apache 2.2.6 Mysql:5.0.45-1 PHP:5.2.4-1

Offline

#16 2007-12-05 01:57:34

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: 0.7-RC3 - 2 Plugins - help

hum you have configured a database for using with snort plugin ?

have you a table acid_event ?

http://base.secureideas.net/


Xavier Caillaud
Blog GLPI Infotel

Offline

#17 2007-12-07 02:25:15

cachill08
Member
Registered: 2007-06-12
Posts: 17

Re: 0.7-RC3 - 2 Plugins - help

Forgot about the database piece I'll compile tonight.

One other question - Is there any docs on entities:

Everything is under Root - I created an Entity w/ "Co Name" & would like everything tied to this going forward.

As always - thanks again ..


OS:Fedora 7 2.6.23.1-21.fc7
OCS ver: 4100
Server: Apache 2.2.6 Mysql:5.0.45-1 PHP:5.2.4-1

Offline

#18 2007-12-07 09:46:56

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: 0.7-RC3 - 2 Plugins - help

with massiveaction ->Transference


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB