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 2010-05-28 09:20:58

JzzMatt
Member
Registered: 2010-05-14
Posts: 13

Joindre des fichiers dans la base de connaissance

Bonjour les experts,

j´arrive á joindre des fichiers PDF,WORD,EXCEL...dans ma base de connaissance, mais je n´arrive pas á les lire...le format est incompréhensible.. et quelque fois, j´ai des  erreurs me demandant des autorisations....

Bref je suis allé verifier comme l´un des  internautes me l´avait conseillé  dans le repertoir C:\xamp\htdocs\glpi\files\ et de la j´ai bien vu un repertoire PDF ,WORD,... dans lequel il y´avait touts mes fichiers pdf joint......Donc de la , je ne sais pas quelles manipulations dois-je faire pour resoudre le probléme.

Par mesure de prudence je vous envoi le Debug, et toutes mes infos :

GLPI vers 0. 72.1 , Sous Windows 2003  Ese :

    SELECT *
FROM `glpi_plugins`
WHERE (directory = 'massocsimport')    0.000   
2    SELECT *
FROM `glpi_kbitems`
WHERE ID = '4'    0.000   
3    UPDATE glpi_kbitems SET view=view+1
WHERE ID = '4'    0.000   
4    SELECT *
FROM `glpi_kbitems`
WHERE ID = '4'    0.000   
5    SELECT *
FROM `glpi_dropdown_kbcategories`
WHERE (ID = '4')    0.000   
6    SELECT *
FROM glpi_users
WHERE ID='6'    0.000   
7    SELECT *
FROM `glpi_kbitems`
WHERE ID = '4'    0.000   
8    SELECT *
FROM `glpi_kbitems`
WHERE ID = '4'    0.000   
9    SELECT glpi_doc_device.ID AS assocID, glpi_entities.ID AS entity, glpi_docs.name AS assocName, glpi_docs.*
FROM glpi_doc_device
LEFT JOIN glpi_docs ON (glpi_doc_device.FK_doc=glpi_docs.ID)
LEFT JOIN glpi_entities ON (glpi_docs.FK_entities=glpi_entities.ID)
WHERE glpi_doc_device.FK_device = '4' AND glpi_doc_device.device_type = '14'
ORDER BY assocName    0.003   
10    SELECT *
FROM glpi_type_docs
WHERE ext LIKE 'PDF' AND icon <> ''    0.000   
11    SELECT *
FROM `glpi_kbitems`
WHERE ID = '4'    0.000   
12    SELECT ID
FROM `glpi_entities`
WHERE parentID = '0'
ORDER BY name    0.000   
13    SELECT count(*)
FROM glpi_docs
WHERE deleted='0' AND ( glpi_docs.FK_entities IN ('0') )     0.000   
14    SELECT *
FROM glpi_dropdown_rubdocs
WHERE ID IN (SELECT DISTINCT rubrique
FROM glpi_docs
WHERE glpi_docs.deleted='0' AND ( glpi_docs.FK_entities IN ('0') ) AND ID NOT IN (0,'6','18'))
ORDER BY name    0.000   
15    SELECT *
FROM glpi_docs
WHERE (glpi_docs.rubrique = '0' AND glpi_docs.deleted='0' ) AND ( glpi_docs.FK_entities IN ('0') ) AND ID NOT IN ('6','18')
ORDER BY FK_entities, name     0.001   
POST VARIABLE
KEY    =>    VALUE
entity_restrict    =>   
KEY    =>    VALUE
0    =>    0
rubdoc    =>    0
myname    =>    conID
rand    =>    1021335427
used    =>   
KEY    =>    VALUE
6    =>    6
18    =>    18
GET VARIABLE
KEY    =>    VALUE
ID    =>    4
modify    =>   
delete    =>   
addtofaq    =>   
removefromfaq    =>   
SESSION VARIABLE
KEY    =>    VALUE
glpi_currenttime    =>    2010-05-26 12:27:22
glpi_use_mode    =>    2
glpiID    =>    6
glpiname    =>    Junior.mateus
glpirealname    =>    Nsakala
glpifirstname    =>    Junior
glpidefault_entity    =>    0
glpiauthorisation    =>    1
glpiextauth    =>    0
glpiauth_method    =>    1
glpisearchcount    =>   
glpisearchcount2    =>   
glpiroot    =>    /glpi
glpicrontimer    =>    1274869531
glpi_tab    =>    1
glpilanguage    =>    fr_FR
glpilist_limit    =>    15
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    =>    0
glpifollowup_private    =>    0
glpi_plugin_tracker_profile    =>   
KEY    =>    VALUE
ID    =>    4
name    =>    super-admin
interface    =>    tracker
is_default    =>    0
snmp_networking    =>    w
snmp_printers    =>    w
snmp_models    =>    w
snmp_authentification    =>    w
snmp_scripts_infos    =>    w
snmp_discovery    =>    w
general_config    =>    w
snmp_iprange    =>    w
snmp_agent    =>    w
snmp_agent_infos    =>    w
snmp_report    =>    w
glpi_plugin_tracker_installed    =>    1
glpiprofiles    =>   
KEY    =>    VALUE
1    =>   
KEY    =>    VALUE
name    =>    post-only
entities    =>   
KEY    =>    VALUE
6    =>   
KEY    =>    VALUE
ID    =>    0
name    =>   
recursive    =>    0
4    =>   
KEY    =>    VALUE
name    =>    super-admin
entities    =>   
KEY    =>    VALUE
7    =>   
KEY    =>    VALUE
ID    =>    0
name    =>   
recursive    =>    0
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
7    =>   
KEY    =>    VALUE
ID    =>    0
name    =>   
recursive    =>    0
glpiactiveentities    =>   
KEY    =>    VALUE
0    =>    0
glpiactiveentities_string    =>    '0'
glpiparententities    =>   
glpiparententities_string    =>   
glpiactive_entity    =>    0
glpiactive_entity_name    =>    Entité Racine
glpiactive_entity_shortname    =>    Entité Racine
glpishowallentities    =>    1
glpigroups    =>   
glpi_plugins    =>   
KEY    =>    VALUE
1    =>    massocsimport
4    =>    tracker
MESSAGE_AFTER_REDIRECT    =>   
glpi_multientitiesmode    =>    0
glpilisttitle    =>   
KEY    =>    VALUE
13    =>    Base de connaissances = COMO PREPARAR UMA MAQUINA PARA SOPHOS ENDPOINT ?
glpilistitems    =>   
KEY    =>    VALUE
13    =>   
KEY    =>    VALUE
0    =>    6
1    =>    18
glpilisturl    =>   
KEY    =>    VALUE
13    =>    /glpi/front/knowbase.form.php

Last edited by JzzMatt (2010-05-28 09:23:05)

Offline

#2 2010-05-28 09:54:43

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

Re: Joindre des fichiers dans la base de connaissance

Vérifier qu'apache est bien propriétaire du répertoire files en récursif.
Passez aussi en 0.72.4 (correction concernant les doublons de nom des documents)


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 2010-05-28 12:42:48

JzzMatt
Member
Registered: 2010-05-14
Posts: 13

Re: Joindre des fichiers dans la base de connaissance

Merçi Yellen pour le réponse rapide comme tu es online je vais profiter trés rapidement,

comment verifier qu´apache est le propriétaire du repertoir?
Mais sinons je compte migré ce weekend sur la nouvelle version.

Ps. je ne sais pas si vous l´interdisez, ....mais esk je peux avoir votre msn ....Purement Professionnel???

Last edited by JzzMatt (2010-05-28 12:56:41)

Offline

Board footer

Powered by FluxBB