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 2017-05-18 17:21:56

yohan.pelletier
Guest
Registered: 2017-05-18
Posts: 6

Anonyme user... No ticket.

Hello guys,

I have a problem today, i would like some user could send me a GLPI ticket without being connect. But when I try with this URL : https://helpdesk/front/helpdesk.php and click on the Send buttom, nothing happen.
So I already try to make a rules and also enable the anonymous open ticket. "Control < Global < Assist.
  On my web server logs I have this message :
/var/log/apache2$ [Thu May 18 15:43:23.515381 2017] [:error] [pid 14391]  PHP Warning: error_log(/var/www/glpi/files/_log/php-errors.log): failed to open stream: Permission denied in /var/www/glpi/inc/toolbox.class.php on line 514, referer: https://helpdesk/index.php?redirect=%2F … jector.php

Can someone help me ?

I hope you will understand my english wink

Last edited by yohan.pelletier (2017-05-29 09:57:38)

Offline

#2 2017-05-18 18:00:10

KKAdmin
Guest
From: Germany
Registered: 2010-03-05
Posts: 514

Re: Anonyme user... No ticket.

pls check the rights of your webserver process user.

Linux
sudo chown www-data:www-data -R /var/www/glpi/*


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.1.2 /Ubuntu 14.04.4 LTS
Apache/2.4.7 (Ubuntu) - PHP 5.5.9-1ubuntu4.16 - MySQL: 5.5.49-0ubuntu0.14.04.1

Offline

#3 2017-05-19 13:57:21

yohan.pelletier
Guest
Registered: 2017-05-18
Posts: 6

Re: Anonyme user... No ticket.

Hi KKAdmin,

Thanks for your answer, but unfortunately; this folder (/var/www/glpi/) is already with www-data owner.

Offline

#4 2017-05-22 17:31:45

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

Re: Anonyme user... No ticket.

If you don't have business rule to affect the ticket, this ticket is created in Root entity, so is the user is in sub-entity, your have this message


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

Offline

#5 2017-05-29 15:50:49

yohan.pelletier
Guest
Registered: 2017-05-18
Posts: 6

Re: Anonyme user... No ticket.

Bonjour,

j'ai essayé de suspendre toutes mes règles et pourtant rien n'y fait, le ticket se génère que lorsqu'on s'identifie.
Du coup mes utilisateurs n'étant pas authentifier, ne peuvent pas créer de ticket.

yllen wrote:

If you don't have business rule to affect the ticket, this ticket is created in Root entity, so is the user is in sub-entity, your have this message

Offline

#6 2017-06-01 19:47:37

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

Re: Anonyme user... No ticket.

Vous autorisez les tickets anonymes ?


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

Offline

#7 2017-06-02 08:59:28

yohan.pelletier
Guest
Registered: 2017-05-18
Posts: 6

Re: Anonyme user... No ticket.

yllen wrote:

Vous autorisez les tickets anonymes ?


Oui bien sur.

Offline

#8 2017-06-06 11:53:58

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

Re: Anonyme user... No ticket.

D'après votre premier post, vous avez une erreur lors de l'exécution de votre action mais GLPI ne peut pas la tracer car il ne peut pas écrire dans son fichier d'erreurs.
Donc soit Apache dans pas propriétaire du dossier Files en récursif, soit vous n'avez plus d'espace disque.
Passez en mode Debug(dans vos préférences), les erreurs devraient apparaitre en rougle à l'écran.

J'ai besoin de cette erreur pour comprendre votre problème


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

Offline

Board footer

Powered by FluxBB