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 2009-07-30 11:52:15

hsion
Member
Registered: 2009-07-30
Posts: 26

champs personnalisés

bonjour
je viens de découvrir glpi
ca a l'air pas mal , bravo aux devs
j'ai installe le plugin champs perso avec patch mais je n'arrive pas a les faire afficher dans les formulaires
exemple : 3 champs perso pour la fiche logiciel, quand je fais activer les champs, il poste puis le meme ecran revient !
si qq'un a une reponse
herve

Offline

#2 2009-07-30 12:49:49

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: champs personnalisés

Version de glpi ?
Nom et version du plugin ?
Message d'erreurs dans les logs et en mode debug ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2009-07-30 13:40:04

hsion
Member
Registered: 2009-07-30
Posts: 26

Re: champs personnalisés

bonjour et merci
voici les infos


glpi 0.72
customfields 1.1.0
rien dans le _log\php-errors.log


mode debug :


GLPI MODE DEBUG
SQL REQUEST : 32 Queries took 0.093s
N°     Queries    Time    Errors
1    SELECT *
FROM `glpi_plugins`
WHERE (directory = 'customfields')    0.001    
2    SELECT device_type, enabled
FROM glpi_plugin_customfields
WHERE device_type > 0;    0.001    
3    SELECT *
FROM glpi_plugin_customfields_dropdowns
WHERE has_entities=1 OR is_tree=1    0.000    
4    SELECT *
FROM `glpi_software`
WHERE ID = '1'    0.001    
5    SELECT *
FROM `glpi_dropdown_software_category`
WHERE ID = '2'    0.001    
6    SHOW TABLES LIKE '%glpi_dropdown_software_category%'    0.005    
7    SELECT *
FROM `glpi_dropdown_software_category`
WHERE 1 AND `glpi_dropdown_software_category`.ID NOT IN ('2')
ORDER BY name     0.001    
8    SELECT *
FROM `glpi_dropdown_software_category`
WHERE ID = '2'    0.001    
9    SELECT *
FROM `glpi_dropdown_os`
WHERE ID = '1'    0.001    
10    SHOW TABLES LIKE '%glpi_dropdown_os%'    0.005    
11    SELECT *
FROM `glpi_dropdown_os`
WHERE 1 AND `glpi_dropdown_os`.ID NOT IN ('1')
ORDER BY name     0.001    
12    SELECT *
FROM `glpi_dropdown_os`
WHERE ID = '1'    0.001    
13    SELECT *
FROM `glpi_dropdown_manufacturer`
WHERE ID = '6'    0.001    
14    SHOW TABLES LIKE '%glpi_dropdown_manufacturer%'    0.005    
15    SELECT *
FROM `glpi_dropdown_manufacturer`
WHERE 1 AND `glpi_dropdown_manufacturer`.ID NOT IN ('6')
ORDER BY name     0.001    
16    SELECT *
FROM `glpi_dropdown_manufacturer`
WHERE ID = '6'    0.001    
17    SELECT DISTINCT glpi_users.*
FROM glpi_users
LEFT JOIN glpi_users_profiles ON (glpi_users.ID = glpi_users_profiles.FK_users)
WHERE glpi_users.ID > '1' AND ( glpi_users_profiles.FK_entities = '0' ) AND glpi_users.deleted='0' AND glpi_users.active='1'
ORDER BY glpi_users.realname,glpi_users.firstname,glpi_users.name     0.020    
18    SELECT *
FROM `glpi_groups`
WHERE ID = '2'    0.001    
19    SHOW TABLES LIKE '%glpi_groups%'    0.005    
20    SELECT *
FROM `glpi_groups`
WHERE 1 AND `glpi_groups`.ID NOT IN ('2') AND ( glpi_groups.FK_entities = '0' )
ORDER BY FK_entities, name     0.001    
21    SELECT *
FROM `glpi_groups`
WHERE ID = '2'    0.001    
22    SELECT DISTINCT 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_profiles.FK_entities = '0' ) AND glpi_users.deleted='0' AND glpi_users.active='1'
ORDER BY glpi_users.realname,glpi_users.firstname,glpi_users.name     0.020    
23    SELECT *
FROM `glpi_dropdown_locations`
WHERE (ID = '2')    0.001    
24    SHOW TABLES LIKE '%glpi_dropdown_locations%'    0.005    
25    SELECT *
FROM `glpi_dropdown_locations`
WHERE 1 AND ( glpi_dropdown_locations.FK_entities = '0' )
ORDER BY FK_entities, completename     0.001    
26    SELECT *
FROM `glpi_dropdown_locations`
WHERE (ID = '2')    0.001    
27    SELECT *
FROM `glpi_software`
WHERE ID = '1'    0.001    
28    SELECT *
FROM `glpi_dropdown_os`
WHERE ID = '1'    0.001    
29    SHOW TABLES LIKE '%glpi_software%'    0.005    
30    SELECT *
FROM `glpi_software`
WHERE 1 AND deleted=0 AND is_template=0 AND `glpi_software`.ID NOT IN ('1')
ORDER BY FK_entities, name     0.001    
31    SELECT *
FROM `glpi_software`
WHERE ID = '1'    0.001    
32    SELECT *
FROM `glpi_dropdown_os`
WHERE ID = '1'    0.001    
POST VARIABLE
KEY    =>    VALUE
searchText    =>    *
value    =>    2
table    =>    glpi_dropdown_software_category
myname    =>    category
limit    =>    50
comments    =>    1
rand    =>    806395074
entity_restrict    =>    -1
update_item    =>   
used    =>   
auto_submit    =>    0
GET VARIABLE
KEY    =>    VALUE
ID    =>    1
sort    =>   
order    =>   
withtemplate    =>   
SESSION VARIABLE
KEY    =>    VALUE
glpi_currenttime    =>    2009-07-30 13:38:03
glpi_use_mode    =>    2
glpiID    =>    2
glpiname    =>    glpi
glpirealname    =>   
glpifirstname    =>   
glpidefault_entity    =>    0
glpilanguage    =>    fr_FR
glpiauthorisation    =>    1
glpiextauth    =>    0
glpiauth_method    =>    1
glpisearchcount    =>   
KEY    =>    VALUE
6    =>    1
22    =>    1
23    =>    1
5    =>    1
1    =>    1
21    =>    1
8    =>    1
glpisearchcount2    =>   
KEY    =>    VALUE
6    =>    0
22    =>    0
23    =>    0
5    =>    0
1    =>    0
21    =>    0
8    =>    0
glpiroot    =>    /glpi
glpicrontimer    =>    1248953765
glpi_tab    =>    customfields_1
glpilist_limit    =>    20
glpidateformat    =>    0
glpinumberformat    =>    0
glpiview_ID    =>    0
glpidropdown_limit    =>    50
glpiflat_dropdowntree    =>    0
glpinum_of_events    =>    10
glpinextprev_item    =>    name
glpijobs_at_login    =>    0
glpipriority_1    =>    #fff2f2
glpipriority_2    =>    #ffe0e0
glpipriority_3    =>    #ffcece
glpipriority_4    =>    #ffbfbf
glpipriority_5    =>    #ffadad
glpiexpand_soft_categorized    =>    1
glpiexpand_soft_not_categorized    =>    1
glpitracking_order    =>    1
glpifollowup_private    =>    0
glpiprofiles    =>   
KEY    =>    VALUE
4    =>   
KEY    =>    VALUE
name    =>    super-admin
entities    =>   
KEY    =>    VALUE
2    =>   
KEY    =>    VALUE
ID    =>    0
name    =>   
recursive    =>    1
glpiactiveprofile    =>   
KEY    =>    VALUE
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    =>    w
infocom    =>    w
knowbase    =>    w
faq    =>    w
reservation_helpdesk    =>    1
reservation_central    =>    w
reports    =>    r
ocsng    =>    w
view_ocsng    =>    r
sync_ocsng    =>    w
dropdown    =>    w
entity_dropdown    =>    w
device    =>    w
typedoc    =>    w
link    =>    w
config    =>    w
rule_tracking    =>    w
rule_ocs    =>    w
rule_ldap    =>    w
rule_softwarecategories    =>    w
search_config    =>    w
search_config_global    =>    w
check_update    =>    r
profile    =>    w
user    =>    w
user_auth_method    =>    w
group    =>    w
entity    =>    w
transfer    =>    w
logs    =>    r
reminder_public    =>    w
bookmark_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_all_ticket    =>    1
show_assign_ticket    =>    1
show_full_ticket    =>    1
observe_ticket    =>    1
update_followups    =>    1
show_planning    =>    1
show_group_planning    =>    1
show_all_planning    =>    1
statistic    =>    1
password_update    =>    1
helpdesk_hardware    =>    3
helpdesk_hardware_type    =>    8388674
show_group_ticket    =>    0
show_group_hardware    =>    0
rule_dictionnary_software    =>    w
rule_dictionnary_dropdown    =>    w
entities    =>   
KEY    =>    VALUE
2    =>   
KEY    =>    VALUE
ID    =>    0
name    =>   
recursive    =>    1
glpiactiveentities    =>   
KEY    =>    VALUE
0    =>    0
1    =>    1
2    =>    2
3    =>    3
glpiactiveentities_string    =>    '0','1','2','3'
glpiparententities    =>   
glpiparententities_string    =>   
glpiactive_entity    =>    0
glpiactive_entity_name    =>    Entité Racine (arborescence)
glpiactive_entity_shortname    =>    Entité Racine (arborescence)
glpishowallentities    =>    1
glpigroups    =>   
glpi_plugin_pdf_profile    =>   
KEY    =>    VALUE
ID    =>    4
profile    =>   
use    =>    1
glpi_plugins    =>   
KEY    =>    VALUE
3    =>    customfields
4    =>    pdf
MESSAGE_AFTER_REDIRECT    =>   
glpi_multientitiesmode    =>    1
glpisearch    =>   
KEY    =>    VALUE
6    =>   
KEY    =>    VALUE
start    =>    0
order    =>    ASC
deleted    =>    0
distinct    =>    N
link    =>   
field    =>   
KEY    =>    VALUE
0    =>    view
contains    =>   
KEY    =>    VALUE
0    =>   
link2    =>   
field2    =>   
KEY    =>    VALUE
0    =>    view
contains2    =>   
KEY    =>    VALUE
0    =>   
type2    =>   
sort    =>    1
22    =>   
KEY    =>    VALUE
synthese    =>    no
start    =>    0
order    =>    ASC
deleted    =>    0
distinct    =>    N
link    =>   
field    =>   
KEY    =>    VALUE
0    =>    view
contains    =>   
KEY    =>    VALUE
0    =>   
link2    =>   
field2    =>   
KEY    =>    VALUE
0    =>    view
contains2    =>   
KEY    =>    VALUE
0    =>   
type2    =>   
sort    =>    1
23    =>   
KEY    =>    VALUE
start    =>    0
order    =>    ASC
deleted    =>    0
distinct    =>    N
link    =>   
field    =>   
KEY    =>    VALUE
0    =>    view
contains    =>   
KEY    =>    VALUE
0    =>   
link2    =>   
field2    =>   
KEY    =>    VALUE
0    =>    view
contains2    =>   
KEY    =>    VALUE
0    =>   
type2    =>   
sort    =>    1
5    =>   
KEY    =>    VALUE
start    =>    0
order    =>    ASC
deleted    =>    0
distinct    =>    N
link    =>   
field    =>   
KEY    =>    VALUE
0    =>    view
contains    =>   
KEY    =>    VALUE
0    =>   
link2    =>   
field2    =>   
KEY    =>    VALUE
0    =>    view
contains2    =>   
KEY    =>    VALUE
0    =>   
type2    =>   
sort    =>    1
1    =>   
KEY    =>    VALUE
start    =>    0
order    =>    ASC
deleted    =>    0
distinct    =>    N
link    =>   
field    =>   
KEY    =>    VALUE
0    =>    view
contains    =>   
KEY    =>    VALUE
0    =>   
link2    =>   
field2    =>   
KEY    =>    VALUE
0    =>    view
contains2    =>   
KEY    =>    VALUE
0    =>   
type2    =>   
sort    =>    1
21    =>   
KEY    =>    VALUE
start    =>    0
order    =>    ASC
deleted    =>    0
distinct    =>    N
link    =>   
field    =>   
KEY    =>    VALUE
0    =>    view
contains    =>   
KEY    =>    VALUE
0    =>   
link2    =>   
field2    =>   
KEY    =>    VALUE
0    =>    view
contains2    =>   
KEY    =>    VALUE
0    =>   
type2    =>   
sort    =>    1
8    =>   
KEY    =>    VALUE
start    =>    0
order    =>    ASC
deleted    =>    0
distinct    =>    N
link    =>   
field    =>   
KEY    =>    VALUE
0    =>    view
contains    =>   
KEY    =>    VALUE
0    =>   
link2    =>   
field2    =>   
KEY    =>    VALUE
0    =>    view
contains2    =>   
KEY    =>    VALUE
0    =>   
type2    =>   
sort    =>    1
glpilisttitle    =>   
KEY    =>    VALUE
6    =>    Liste
39    =>    Logiciel = etw
20    =>    Logiciel = etw
1    =>    Logiciel = etw
10    =>    Logiciel = etw
22    =>    Liste
42    =>    Ordinateur(s) = hephaistos
41    =>    Ordinateur = hephaistos
21    =>    Liste
8    =>    Liste
16    =>    Logiciel = etw
glpilistitems    =>   
KEY    =>    VALUE
6    =>   
KEY    =>    VALUE
0    =>    1
1    =>    2
39    =>   
KEY    =>    VALUE
0    =>    1
20    =>   
KEY    =>    VALUE
0    =>    1
1    =>   
KEY    =>    VALUE
0    =>    1
10    =>   
KEY    =>    VALUE
0    =>    1
22    =>   
KEY    =>    VALUE
0    =>    1
42    =>   
41    =>   
KEY    =>    VALUE
0    =>    1
21    =>   
KEY    =>    VALUE
0    =>    1
8    =>   
KEY    =>    VALUE
0    =>    1
16    =>   
KEY    =>    VALUE
0    =>    1
glpilisturl    =>   
KEY    =>    VALUE
6    =>    /glpi/front/software.php
39    =>    http://127.0.0.1/glpi/front/software.form.php?ID=1
20    =>    http://127.0.0.1/glpi/front/software.form.php?ID=1
1    =>    http://127.0.0.1/glpi/front/software.form.php?ID=1
10    =>    http://127.0.0.1/glpi/front/software.form.php?ID=1
22    =>    /glpi/front/state.php
42    =>    http://127.0.0.1/glpi/front/computer.form.php?ID=1
41    =>    http://127.0.0.1/glpi/front/computer.form.php?ID=1
21    =>    /glpi/front/link.php
8    =>    /glpi/front/enterprise.php
16    =>    http://127.0.0.1/glpi/front/software.form.php?ID=1
glpimassiveactionselected    =>   
plugin_pdf    =>   
KEY    =>    VALUE
6    =>   
KEY    =>    VALUE
0    =>    1
1    =>    2
2    =>    4
3    =>    5
4    =>    6
5    =>    7
6    =>    10
7    =>    11
8    =>    12

Offline

#4 2009-07-30 14:18:53

hsion
Member
Registered: 2009-07-30
Posts: 26

Re: champs personnalisés

j'ai desinstalle et reinstalle le plugin
je n'ai pas mis le patch
et la ca fonctionne
merci

Offline

#5 2009-07-30 14:49:03

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

Re: champs personnalisés

ok je clos


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB