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-06-02 13:19:15

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

dashboard errors in php-errors.log

i got errors in php-errors.log if i open dashboards -> tickets -> tickets by group


[email protected]:/var/www/glpi/files/_log# cat php-errors.log
2017-06-02 13:13:13 [[email protected]]
  *** PHP Warning(2): file_get_contents(/var/www/glpi/files/_sessions/sess_miv9gv253gfcok9fo97g5vrrm6): failed to open stream: Permission denied
  Backtrace :
  :
  plugins/dashboard/front/main.php:780               file_get_contents()
2017-06-02 13:13:21 [[email protected]]
  *** PHP Notice(8): Undefined index: sel
  Backtrace :
  ...ns/dashboard/front/tickets/select_grupo.php:151


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

#2 2017-06-02 14:23:50

eric.le-corre
Guest
Registered: 2013-01-07
Posts: 856

Re: dashboard errors in php-errors.log

vérifie les droits sur les dossiers, apache est il bien propriétaire ?

Offline

#3 2017-08-22 21:34:24

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

Re: dashboard errors in php-errors.log

yes - chown -R www-data did not solve the problem.


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

#4 2017-08-27 18:46:15

thefame
Guest
Registered: 2009-12-07
Posts: 4

Re: dashboard errors in php-errors.log

Hello,

I have the same issue with dashboard plugin.

At sessions folder all fields have www-data permisions.

This error also appears at dashboards -> tickets -> tickets by entity.

Thanks in advance.


##############################

GLPI 9.1.6 /Ubuntu 16.04.02 LTS
Apache/2.4.18 (Ubuntu) - PHP 7.0.22-0ubuntu0.16.04.1 - MySQL: 5.7.19

Offline

Board footer

Powered by FluxBB