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-09-16 12:59:06

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Manage Entity bug

When i try to "book" an scheduled intervention i get the following error "You don't have permission to access /glpi/files/_plugins/manageentity/CRI - 090916-125146.pdf on this server"

I tried to change the rights of the directory but the error stayed.


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#2 2009-09-16 13:19:29

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: Manage Entity bug

hello
this files/ directory and all subdirectorys must be own by the apache user

Offline

#3 2009-09-16 13:27:10

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

i will check this, thanks!


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#4 2009-09-16 14:06:57

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

it's a windows based server and i can't find a apache user of wampapache user


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#5 2009-09-16 18:54:54

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

Re: Manage Entity bug

drop .htaccess file on files folder


Xavier Caillaud
Blog GLPI Infotel

Offline

#6 2009-09-17 09:54:19

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

what has to be in the .htacces file?


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#7 2009-09-17 10:05:28

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

Re: Manage Entity bug

htaccess limits access to files directory with browser

ex : http://localhost/glpi/files/


Xavier Caillaud
Blog GLPI Infotel

Offline

#8 2009-09-17 14:23:24

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

still the same error!


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#9 2009-09-17 14:59:55

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

Re: Manage Entity bug

hum the folder manageentity into _plugins exists ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#10 2009-09-17 15:30:57

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

yes


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#11 2009-09-17 15:37:10

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

the pdf files are inside there!


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#12 2009-09-17 15:38:22

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

The pdf files are being saved in that directory but the error says "no permission" ??


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#13 2009-09-17 16:21:55

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

Re: Manage Entity bug

I have an xampp installation on my windows and the only things i must do for manageentity it's the folder managentity and the .htaccess removing, and the cri is ok.

Errors in debug mode ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#14 2009-09-17 16:41:43

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

in debug mode no additional errors, just "You don't have permission to access /glpi/files/_plugins/manageentity/CRI - 090917-163853.pdf on this server."

when i remove the directory "manageentity" from the "_plugin" directory i get the following error " PHP ERROR: fopen(../../../files/_plugins/manageentity/CRI - 090917-164101.pdf) [function.fopen]: failed to open stream: No such file or directory in C:\wamp\www\glpi\plugins\manageentity\fpdf\fpdf.php at line 1046
FPDF error: Unable to create output file: ../../../files/_plugins/manageentity/CRI - 090917-164101.pdf"

no wonder, the directory does not exist.


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#15 2009-09-17 16:53:38

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

Re: Manage Entity bug

NTFS permisions ? for iusr anonyme ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#16 2009-09-17 17:08:54

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

NTFS permissions= everyone full access!


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#17 2009-09-17 17:45:14

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

Re: Manage Entity bug

From which page you will to access to the document ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#18 2009-09-17 22:05:13

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

i make a ticket, schedule a intervention, then i want to "book" the ours of the intervention to the contract and print the intervention. so when i choose intervention report>generation of the intervention report>next screen i choose intervention with contract"name of the contract">"type d'intervention then i "hit" generation of the intervention report.

after that i get the error codes mentioned above!


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#19 2009-09-22 23:17:17

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

Re: Manage Entity bug

create a file .htaccess into files/_plugins/manageentity with inside : allow from all

(Thanks david big_smile )


Xavier Caillaud
Blog GLPI Infotel

Offline

#20 2009-09-24 11:26:06

mad fries
Member
From: The Netherlands
Registered: 2009-02-23
Posts: 124

Re: Manage Entity bug

YES, thanks

this works!..


My Configuration: GLPI .72.4 running on WAMP | Windows XP PRO | PHP 5.2.8 | Apache 2.2.11

Offline

#21 2009-09-24 11:46:49

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

Re: Manage Entity bug

wink


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB