You are not logged in.
Pages: 1
Depuis l'installation de la version 0.68 rc2, je ne peux plus ajouter d'imprimante. La validation se passe normalement mais lorsque je retourne dans la liste des imprimantes, l'ajout ne s'est pas fait.
Même chose, quand je veux faire une modification sur une imprimante et que je veux actualiser la fiche, j'obtiens le message d'erreur suivant :Champ 'linked_action' inconnu dans field list.
Dans les la partie configuration, dans le type d'imprimante, lorsque l'on voulait insérer une imprimante du style "jet d'encre couleurs" cela devenait "jet d/'encre couleurs". Par contre j'ai vu que ce bug était corrigé dans la dernière version tarballs du 06-0762006.
L'appli tourne sous esayphp 1.8.0.1
Merci pour l'énorme travail que vous réalisez.
Serveur glpi sous ubuntu LTS 22.04 - 4 go ram
GLPI v 10.0.14 - Authentification via ldap/ad
Merci aux développeurs GLPI
Offline
Hello,
Tu as essayé en mode debug pour voir le message d'erreur?
J'avais le même problème parce que j'avais fait une faute en modifiant le code. Le mode debug montre en général ou se trouve l'erreur.
Offline
merci de ne pas poster à 10 endroits en ememe temps.
Je delete votre ticket sur le trac et je vous rerepond ici.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Cela fonctionne parfaitement chez moi ?
Vous devez avoir un problème de mise à jour. Avez vous bien suivi la méthode indiquée dans le LISEZMOI ? Depuis quelle version avez vous fait la mise à jour ?
Avez vous testé en faisant une nouvelle installation ?
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Vous avez modifier des champs de la base ?
ou rajouté ?
Last edited by ddebatty (2006-07-07 11:34:39)
Offline
Non, je n'ai pas modifié de champ. la maj c'est bien passée. Je me suis mis en mode debug.
Dès que je veux éditer une imprimante existante, j'ai l'erreur suivante en haut de page sur fond rouge
PHP ERROR :
Notice: Undefined index: FK_groups in c:\program files\easyphp\www\glpi\inc\printer.class.php on line 324
Voici les infos debug :
GLPI MODE DEBUG
TIME
0.432s
POST VARIABLE
myname => model
table => glpi_dropdown_model_printers
value => 10
rand => 605226232
comments => 1
limit => 50
searchText => *
all => 0
right => all
GET VARIABLE
ID => 9
SESSION VARIABLE
glpiID => 2
glpiname => glpi
glpirealname =>
glpifirstname =>
glpilanguage => fr_FR
glpitracking_order => yes
glpiauthorisation => 1
glpiextauth => 0
glpisearchcount => Array
3 => 1
glpisearchcount2 => Array
3 => 0
glpiroot => /glpi
glpilist_limit => 50
glpicrontimer => 1152666470
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
update => r
profile => w
user => 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
MESSAGE_AFTER_REDIRECT =>
glpi_viewcentral => my
glpisearch => Array
3 => Array
contains => Array
0 =>
field => Array
0 => view
sort => 3
deleted => N
start => 0
glpi_onglet => 1
SQL REQUEST
Number of request: 62
Total Time: 0.01s
N° 1 :
SELECT *
FROM glpi_printers
WHERE (ID = '9')
Time: 0.001sN° 2 :
select name
FROM glpi_printers
WHERE ID='9'
Time: 0.000sN° 3 :
select ID
FROM glpi_printers
WHERE name > 'HP MFL 2820 Biblio' AND deleted='N'AND is_template='0'
ORDER BY name ASC
Time: 0.001sN° 4 :
select name
FROM glpi_printers
WHERE ID=9
Time: 0.000sN° 5 :
select ID
FROM glpi_printers
WHERE name < 'HP MFL 2820 Biblio' AND deleted='N'AND is_template='0'
ORDER BY name DESC
Time: 0.001sN° 6 :
SELECT ID
FROM glpi_reservation_item
WHERE device_type='1' AND id_device='9'
Time: 0.000sN° 7 :
SELECT *
FROM glpi_printers
WHERE (ID = '9')
Time: 0.000sN° 8 :
select *
FROM glpi_dropdown_locations
WHERE (ID = '36')
Time: 0.000sN° 9 :
SELECT *
FROM glpi_dropdown_locations
ORDER BY completename
Time: 0.001sN° 10 :
select *
FROM glpi_dropdown_locations
WHERE (ID = '36')
Time: 0.000sN° 11 :
select *
FROM glpi_enterprises
WHERE ID = '1'
Time: 0.001sN° 12 :
SELECT *
FROM glpi_enterprises
WHERE deleted='N' AND (ID <> '1' )
ORDER BY name
Time: 0.001sN° 13 :
select *
FROM glpi_enterprises
WHERE ID = '1'
Time: 0.000sN° 14 :
SELECT *
FROM glpi_enterprises
WHERE (ID = '1')
Time: 0.000sN° 15 :
SELECT *
FROM glpi_users
WHERE ID='0'
Time: 0.000sN° 16 :
SELECT glpi_users.*
FROM glpi_users
LEFT JOIN glpi_users_profiles ON (glpi_users.ID = glpi_users_profiles.FK_users)
LEFT JOIN glpi_profiles ON (glpi_profiles.ID= glpi_users_profiles.FK_profiles)
WHERE glpi_profiles.interface='central' AND (glpi_users.ID <> '0')
ORDER BY glpi_users.realname,glpi_users.firstname, glpi_users.name
Time: 0.001sN° 17 :
SELECT *
FROM glpi_users
WHERE ID='0'
Time: 0.000sN° 18 :
SELECT *
FROM glpi_users
WHERE ID=''
Time: 0.000sN° 19 :
SELECT glpi_users.*
FROM glpi_users
WHERE glpi_users.ID > '1'
ORDER BY glpi_users.realname,glpi_users.firstname, glpi_users.name
Time: 0.000sN° 20 :
SELECT *
FROM glpi_groups
WHERE (ID <> '0' )
ORDER BY name
Time: 0.000sN° 21 :
select *
FROM glpi_groups
WHERE ID = '0'
Time: 0.000sN° 22 :
SELECT ID
FROM glpi_reservation_item
WHERE device_type='3' AND id_device='9'
Time: 0.000sN° 23 :
select *
FROM glpi_dropdown_network
WHERE ID = '4'
Time: 0.000sN° 24 :
SELECT *
FROM glpi_dropdown_network
WHERE (ID <> '4' )
ORDER BY name
Time: 0.001sN° 25 :
select *
FROM glpi_dropdown_network
WHERE ID = '4'
Time: 0.000sN° 26 :
select *
FROM glpi_dropdown_domain
WHERE ID = '3'
Time: 0.000sN° 27 :
SELECT *
FROM glpi_dropdown_domain
WHERE (ID <> '3' )
ORDER BY name
Time: 0.000sN° 28 :
select *
FROM glpi_dropdown_domain
WHERE ID = '3'
Time: 0.000sN° 29 :
SELECT *
FROM glpi_state_item
WHERE (device_type='3' AND id_device = '9' AND is_template='0' )
Time: 0.000sN° 30 :
SELECT *
FROM glpi_printers
WHERE (ID = '9')
Time: 0.000sN° 31 :
select *
FROM glpi_dropdown_state
WHERE ID = '2'
Time: 0.000sN° 32 :
SELECT *
FROM glpi_dropdown_state
WHERE (ID <> '2' )
ORDER BY name
Time: 0.000sN° 33 :
select *
FROM glpi_dropdown_state
WHERE ID = '2'
Time: 0.000sN° 34 :
select *
FROM glpi_type_printers
WHERE ID = '7'
Time: 0.000sN° 35 :
SELECT *
FROM glpi_type_printers
WHERE (ID <> '7' )
ORDER BY name
Time: 0.000sN° 36 :
select *
FROM glpi_type_printers
WHERE ID = '7'
Time: 0.000sN° 37 :
select *
FROM glpi_dropdown_model_printers
WHERE ID = '10'
Time: 0.000sN° 38 :
SELECT *
FROM glpi_dropdown_model_printers
WHERE (ID <> '10' )
ORDER BY name
Time: 0.001sN° 39 :
select *
FROM glpi_dropdown_model_printers
WHERE ID = '10'
Time: 0.000sN° 40 :
SELECT glpi_cartridges_type.ID as tID, glpi_cartridges_type.deleted as deleted, glpi_cartridges_type.ref as ref, glpi_cartridges_type.name as type, glpi_cartridges.ID as ID, glpi_cartridges.pages as pages, glpi_cartridges.date_use as date_use, glpi_cartridges.date_out as date_out, glpi_cartridges.date_in as date_in
FROM glpi_cartridges, glpi_cartridges_type
WHERE glpi_cartridges.date_out IS NULL AND glpi_cartridges.FK_glpi_printers= '9' AND glpi_cartridges.FK_glpi_cartridges_type = glpi_cartridges_type.ID
ORDER BY glpi_cartridges.date_out ASC, glpi_cartridges.date_use DESC, glpi_cartridges.date_in
Time: 0.000sN° 41 :
SELECT *
FROM glpi_printers
WHERE (ID = '9')
Time: 0.000sN° 42 :
SELECT *
FROM glpi_cartridges_type
WHERE (ID = '9')
Time: 0.000sN° 43 :
SELECT ID
FROM glpi_cartridges
WHERE ( ID= '31' AND date_use IS NULL)
Time: 0.000sN° 44 :
SELECT ID
FROM glpi_cartridges
WHERE ( ID= '31' AND date_use IS NOT NULL AND date_out IS NULL)
Time: 0.000sN° 45 :
SELECT *
FROM glpi_cartridges_type
WHERE (ID = '10')
Time: 0.000sN° 46 :
SELECT ID
FROM glpi_cartridges
WHERE ( ID= '33' AND date_use IS NULL)
Time: 0.000sN° 47 :
SELECT ID
FROM glpi_cartridges
WHERE ( ID= '33' AND date_use IS NOT NULL AND date_out IS NULL)
Time: 0.000sN° 48 :
SELECT *
FROM glpi_cartridges_type
WHERE (ID = '11')
Time: 0.000sN° 49 :
SELECT ID
FROM glpi_cartridges
WHERE ( ID= '35' AND date_use IS NULL)
Time: 0.000sN° 50 :
SELECT ID
FROM glpi_cartridges
WHERE ( ID= '35' AND date_use IS NOT NULL AND date_out IS NULL)
Time: 0.000sN° 51 :
SELECT *
FROM glpi_cartridges_type
WHERE (ID = '12')
Time: 0.000sN° 52 :
SELECT ID
FROM glpi_cartridges
WHERE ( ID= '37' AND date_use IS NULL)
Time: 0.000sN° 53 :
SELECT ID
FROM glpi_cartridges
WHERE ( ID= '37' AND date_use IS NOT NULL AND date_out IS NULL)
Time: 0.000sN° 54 :
SELECT *
FROM glpi_printers
WHERE (ID = '9')
Time: 0.000sN° 55 :
SELECT glpi_cartridges_type.ref as ref, glpi_cartridges_type.name as name, glpi_cartridges_type.ID as tID
FROM glpi_cartridges_type, glpi_cartridges_assoc
WHERE glpi_cartridges_type.ID = glpi_cartridges_assoc.FK_glpi_cartridges_type AND glpi_cartridges_assoc.FK_glpi_dropdown_model_printers = '10'
ORDER BY glpi_cartridges_type.name, glpi_cartridges_type.ref
Time: 0.001sN° 56 :
SELECT ID
FROM glpi_cartridges
WHERE ( FK_glpi_cartridges_type = '9' AND date_use IS NULL)
Time: 0.000sN° 57 :
SELECT ID
FROM glpi_cartridges
WHERE ( FK_glpi_cartridges_type = '10' AND date_use IS NULL)
Time: 0.000sN° 58 :
SELECT ID
FROM glpi_cartridges
WHERE ( FK_glpi_cartridges_type = '11' AND date_use IS NULL)
Time: 0.000sN° 59 :
SELECT ID
FROM glpi_cartridges
WHERE ( FK_glpi_cartridges_type = '12' AND date_use IS NULL)
Time: 0.000sN° 60 :
SELECT ID
FROM glpi_cartridges
WHERE ( FK_glpi_cartridges_type = '23' AND date_use IS NULL)
Time: 0.000sN° 61 :
SELECT glpi_cartridges_type.ID as tID, glpi_cartridges_type.deleted as deleted, glpi_cartridges_type.ref as ref, glpi_cartridges_type.name as type, glpi_cartridges.ID as ID, glpi_cartridges.pages as pages, glpi_cartridges.date_use as date_use, glpi_cartridges.date_out as date_out, glpi_cartridges.date_in as date_in
FROM glpi_cartridges, glpi_cartridges_type
WHERE glpi_cartridges.date_out IS NOT NULL AND glpi_cartridges.FK_glpi_printers= '9' AND glpi_cartridges.FK_glpi_cartridges_type = glpi_cartridges_type.ID
ORDER BY glpi_cartridges.date_out ASC, glpi_cartridges.date_use DESC, glpi_cartridges.date_in
Time: 0.000sN° 62 :
SELECT *
FROM glpi_printers
WHERE (ID = '9')
Time: 0.000s
Serveur glpi sous ubuntu LTS 22.04 - 4 go ram
GLPI v 10.0.14 - Authentification via ldap/ad
Merci aux développeurs GLPI
Offline
Autre chose, dès que j'active le mode débug dans la partie configuration j'ai le message php en haut de page :
PHP ERROR :
Notice: Undefined index: contract_alerts in c:\program files\easyphp\www\glpi\inc\setup.function.php on line 1098
voici les infos debug :
GLPI MODE DEBUG
TIME
0.160s
POST VARIABLE
GET VARIABLE
next => confgen
SESSION VARIABLE
glpiID => 2
glpiname => glpi
glpirealname =>
glpifirstname =>
glpilanguage => fr_FR
glpitracking_order => yes
glpiauthorisation => 1
glpiextauth => 0
glpisearchcount => Array
3 => 1
glpisearchcount2 => Array
3 => 0
glpiroot => /glpi
glpilist_limit => 50
glpicrontimer => 1152666771
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
update => r
profile => w
user => 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
MESSAGE_AFTER_REDIRECT =>
glpi_viewcentral => my
glpisearch => Array
3 => Array
contains => Array
0 =>
field => Array
0 => view
sort => 3
deleted => N
start => 0
glpi_onglet => 1
glpi_mailconfig => 1
SQL REQUEST
Number of request: 0
Total Time: 0s
Si vous le souhaitez, je peux faire une sauvegarde de mes données et vous l'envoyer.
Je suis passé d'une version 0.68 -> 0.68RC2
Serveur glpi sous ubuntu LTS 22.04 - 4 go ram
GLPI v 10.0.14 - Authentification via ldap/ad
Merci aux développeurs GLPI
Offline
0.68 ??? elle n'existe pas cette version.
Vous avez donc un reel problème de mise à jour.
La seule mise à jour compatible : 0.65 -> 0.68RC2
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Pages: 1