You are not logged in.
bonjour,
lors du lancement d'Archires, le message d'erreur suivant apparait
PHP ERROR :
Warning: fread() [function.fread]: Length parameter must be greater than 0 in C:\www\glpi-0.68.3-2\plugins\archires\inc\plugin_archires.functions_display.php on line 630
pouvez vous m'aider ?
Offline
Avez-vous suivi ceci ?
http://glpi-project.org/wiki/doku.php?i … chires_use
Xavier Caillaud
Blog GLPI Infotel
Offline
bonjour,
merci pour vos réponses
j'ai suivie le descriptif sur la page indiquée
mais toujours rien
je me demande si on n'a pas besoin de configurer graphvis aprés son installation ?
cdt
Offline
Version de graphviz ?
Pas besoin de le configurer. Par contre dans glpi il faut que les ordinateurs aient une carte réseau de configurée.
Xavier Caillaud
Blog GLPI Infotel
Offline
bonjour,
j'ai installé la version 2.8 et puis ça n'a pas marché
aprés, j'ai installé la version 2.14.1 et sans résultat
toujours le meme message d'erreur
sachant que le mode safe de PHP.ini est safe
j'ai installé glpi-0.68.3-2 sous IIS6 de windows 2003 server
veuillez bien nous donner un conseil pour ce probleme
cdt
Offline
Il faut utiliser la 2.8 ca c'est sur
apres :
sachant que le mode safe de PHP.ini est safe
ca veut dire quoi ? off ou on ?
et au niveau des droits du user anonyme ?
Xavier Caillaud
Blog GLPI Infotel
Offline
bonjour,
le safe_mode = off
control total sur le Windows/Temp ainsi que CMD.exe de system32.
j'ai créé des interfaces pour les ordinateurs et le switch
je les ai interconnectés.
mais j'ai toujours le message d'erreur.
ci dessous la page d'erreur que je vois toujours :
Architecture du lieu Batiment A > 4 éme étage > Bureau 444
Sélectionnez un lieu : --- TousBatiment ABatiment A > 4 éme étageBatiment A > 4 éme étage > Bureau 424Batiment A > 4 éme étage > Bureau 444 enfants OuiNon
PHP ERROR :
Warning: fread() [function.fread]: Length parameter must be greater than 0 in C:\www\glpi-0.68.3-2\plugins\archires\inc\plugin_archires.functions_display.php on line 630
0.197s 12:00 24. Sep 2007 GLPI 0.68.3 Copyright (C) 2003-2007 by the INDEPNET Development Team.
GLPI MODE DEBUGGLPI MODE DEBUG
TIME
0.198s
MEMORY
4437480
POST VARIABLE
GET VARIABLE
selectloc => 2
child => 1
SESSION VARIABLE
glpi_plugins => Array
0 => archires
1 => orders
MESSAGE_AFTER_REDIRECT =>
glpiID => 6
glpiname => admin
glpirealname =>
glpifirstname =>
glpilanguage => fr_FR
glpitracking_order => no
glpiauthorisation => 1
glpiextauth => 0
glpisearchcount => Array
2 => 1
27 => 1
15 => 1
glpisearchcount2 => Array
2 => 0
27 => 0
15 => 0
glpiroot => /glpi3.2
glpilist_limit => 15
glpicrontimer => 1190631351
glpiprofile => Array
ID => 4
name => super-admin
interface => central
is_default => 0
computer => w
monitor => w
software => w
networking => w
printer => w
peripheral => w
cartridge => w
consumable => w
phone => w
notes => w
contact_enterprise => w
document => w
contract_infocom => w
knowbase => w
faq => w
reservation_helpdesk => 1
reservation_central => w
reports => r
ocsng => w
dropdown => w
device => w
typedoc => w
link => w
config => w
search_config => w
check_update => r
profile => w
user => w
group => w
logs => r
reminder_public => w
backup => w
create_ticket => 1
delete_ticket => 1
comment_ticket => 1
comment_all_ticket => 1
update_ticket => 1
own_ticket => 1
steal_ticket => 1
assign_ticket => 1
show_ticket => 1
show_full_ticket => 1
observe_ticket => 1
show_planning => 1
show_all_planning => 1
statistic => 1
password_update => 1
helpdesk_hardware => 3
helpdesk_hardware_type => 8388674
show_group_ticket => 0
glpigroups => Array
glpi_plugin_archires_profile => Array
ID => 4
name => super-admin
interface => archires
is_default => 0
archires => w
glpi_plugin_orders_profile => Array
ID => 4
name => super-admin
interface => orders
is_default => 0
orders => w
create_orders => 1
update_orders => 1
delete_orders => 1
validate_orders => 1
confirm_orders => 1
receive_orders => 1
restore_orders => 1
all_orders => 1
glpi_viewcentral => my
glpi_onglet => 1
SQL REQUEST
Number of request: 31
Total Time: 0.009s
--------------------------------------------------------------------------------
N° 1 :
SHOW COLUMNS
FROM glpi_plugin_archires_display
Time: 0.006s
--------------------------------------------------------------------------------
N° 2 :
SELECT id, completename,parentID
FROM glpi_dropdown_locations
WHERE id='2';
Time: 0.000s
--------------------------------------------------------------------------------
N° 3 :
SELECT *
FROM glpi_plugin_archires_color
ORDER BY iface asc;
Time: 0.000s
--------------------------------------------------------------------------------
N° 4 :
SELECT id, completename
FROM glpi_dropdown_locations
ORDER BY completename ASC
Time: 0.000s
--------------------------------------------------------------------------------
N° 5 :
SELECT *
FROM glpi_plugin_archires_display
WHERE (ID = '1')
Time: 0.000s
--------------------------------------------------------------------------------
N° 6 :
SELECT *
FROM glpi_plugin_archires_display
WHERE id='1';
Time: 0.000s
--------------------------------------------------------------------------------
N° 7 :
select ID
FROM glpi_dropdown_locations
WHERE parentID=2
Time: 0.000s
--------------------------------------------------------------------------------
N° 8 :
SELECT np.ID, np.on_device, np.logical_number, np.iface,np.ifaddr, np.name as namep, c.name, c.type, c.FK_users, c.FK_groups, c.contact, lc.id, lc.parentID
FROM glpi_networking_ports np, glpi_computers c, glpi_dropdown_locations lc
WHERE np.device_type = 1 AND np.on_device = c.ID AND c.deleted = 'N' AND c.is_template = '0' AND lc.ID = c.location AND lc.ID in (2)
ORDER BY np.ifaddr ASC
Time: 0.001s
--------------------------------------------------------------------------------
N° 9 :
select ID
FROM glpi_dropdown_locations
WHERE parentID=2
Time: 0.000s
--------------------------------------------------------------------------------
N° 10 :
SELECT np.ID, np.on_device, np.logical_number, np.iface ,np.ifaddr, np.name as namep, n.ifaddr as nifaddr, n.name, n.type, n.FK_users, n.FK_groups, n.contact, lc.id, lc.parentID
FROM glpi_networking_ports np, glpi_networking n, glpi_dropdown_locations lc
WHERE np.device_type = 2 AND np.on_device = n.ID AND n.deleted = 'N' AND n.is_template = '0' AND lc.ID = n.location AND lc.ID in (2)
ORDER BY np.ifaddr ASC
Time: 0.001s
--------------------------------------------------------------------------------
N° 11 :
select ID
FROM glpi_dropdown_locations
WHERE parentID=2
Time: 0.000s
--------------------------------------------------------------------------------
N° 12 :
SELECT np.ID, np.on_device, np.logical_number, np.iface ,np.ifaddr, np.name as namep, p.name, p.type, p.FK_users, p.FK_groups, p.contact, lc.id, lc.parentID
FROM glpi_networking_ports np, glpi_peripherals p, glpi_dropdown_locations lc
WHERE np.device_type = 5 AND np.on_device = p.ID AND p.deleted = 'N' AND p.is_template = '0' AND lc.ID = p.location AND lc.ID in (2)
ORDER BY np.ifaddr ASC
Time: 0.001s
--------------------------------------------------------------------------------
N° 13 :
select ID
FROM glpi_dropdown_locations
WHERE parentID=2
Time: 0.000s
--------------------------------------------------------------------------------
N° 14 :
SELECT np.ID, np.on_device, np.logical_number, np.iface ,np.ifaddr, np.name as namep, pr.name, pr.type, pr.FK_users, pr.FK_groups, pr.contact, lc.id, lc.parentID
FROM glpi_networking_ports np, glpi_printers pr, glpi_dropdown_locations lc
WHERE np.device_type = 3 AND np.on_device = pr.ID AND pr.deleted = 'N' AND pr.is_template = '0' AND lc.ID = pr.location AND lc.ID in (2)
ORDER BY np.ifaddr ASC
Time: 0.000s
--------------------------------------------------------------------------------
N° 15 :
select ID
FROM glpi_dropdown_locations
WHERE parentID=2
Time: 0.000s
--------------------------------------------------------------------------------
N° 16 :
SELECT np.ID, np.on_device, np.logical_number, np.iface ,np.ifaddr, np.name as namep, ph.name, ph.type, ph.FK_users, ph.FK_groups, ph.contact, lc.id, lc.parentID
FROM glpi_networking_ports np, glpi_phones ph, glpi_dropdown_locations lc
WHERE np.device_type = 23 AND np.on_device = ph.ID AND ph.deleted = 'N' AND ph.is_template = '0' AND lc.ID = ph.location AND lc.ID in (2)
ORDER BY np.ifaddr ASC
Time: 0.000s
--------------------------------------------------------------------------------
N° 17 :
SELECT nw.ID, nw.end1, nw.end2
FROM glpi_networking_wire nw
Time: 0.000s
--------------------------------------------------------------------------------
N° 18 :
SELECT *
FROM glpi_plugin_archires_config
WHERE device_type='1';
Time: 0.000s
--------------------------------------------------------------------------------
N° 19 :
SELECT name
FROM glpi_type_computers
WHERE ID= '2';
Time: 0.000s
--------------------------------------------------------------------------------
N° 20 :
SELECT *
FROM glpi_plugin_archires_config
WHERE device_type='1';
Time: 0.000s
--------------------------------------------------------------------------------
N° 21 :
SELECT name
FROM glpi_type_computers
WHERE ID= '3';
Time: 0.000s
--------------------------------------------------------------------------------
N° 22 :
SELECT *
FROM glpi_plugin_archires_config
WHERE device_type='1';
Time: 0.000s
--------------------------------------------------------------------------------
N° 23 :
SELECT name
FROM glpi_type_computers
WHERE ID= '4';
Time: 0.000s
--------------------------------------------------------------------------------
N° 24 :
SELECT *
FROM glpi_plugin_archires_config
WHERE device_type='2';
Time: 0.000s
--------------------------------------------------------------------------------
N° 25 :
SELECT name
FROM glpi_type_networking
WHERE ID= '2';
Time: 0.000s
--------------------------------------------------------------------------------
N° 26 :
SELECT *
FROM glpi_plugin_archires_config
WHERE device_type='2';
Time: 0.000s
--------------------------------------------------------------------------------
N° 27 :
SELECT name
FROM glpi_type_networking
WHERE ID= '1';
Time: 0.000s
--------------------------------------------------------------------------------
N° 28 :
SELECT *
FROM glpi_plugin_archires_color
WHERE iface='1';
Time: 0.000s
--------------------------------------------------------------------------------
N° 29 :
SELECT *
FROM glpi_plugin_archires_color
WHERE iface='1';
Time: 0.000s
--------------------------------------------------------------------------------
N° 30 :
SELECT *
FROM glpi_plugin_archires_color
WHERE iface='1';
Time: 0.000s
--------------------------------------------------------------------------------
N° 31 :
SELECT *
FROM glpi_plugin_archires_color
WHERE iface='1';
Time: 0.000s
--------------------------------------------------------------------------------
merci d'avance.
Offline
Vous avez redémarré votre serveur après installation de graphviz 2.8 ?
Xavier Caillaud
Blog GLPI Infotel
Offline
oui
j'ai redémarré n fois
une question :
1- est ce que je doit installé wingraphviz avec graphvis 2.8 ?
pour votre info :
j'ai installé glpi sous windows 2003 server IIS6.
cdt
Offline