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 2019-02-12 10:31:13

ict
Member
Registered: 2016-11-23
Posts: 32

can't add documents anymore

Hi

We can't add documents to tickets or knowlege base anymore. When we add a documents, nothing happens. We are using now GLPI 9.3.

greetings

Offline

#2 2019-02-13 08:40:01

ict
Member
Registered: 2016-11-23
Posts: 32

Re: can't add documents anymore

Hi

Maybe this can help:

[2019-02-13 06:22:25] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in C:\Glpi\0.9.3\inc\toolbox.class.php line 657
  *** PHP Deprecated function(8192): filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated
  Backtrace :
  :                                                 
  vendor\phpmailer\phpmailer\src\PHPMailer.php:3599  filter_var()
  vendor\phpmailer\phpmailer\src\PHPMailer.php:3565  PHPMailer\PHPMailer\PHPMailer::isValidHost()
  vendor\phpmailer\phpmailer\src\PHPMailer.php:1885  PHPMailer\PHPMailer\PHPMailer->serverHostname()
  vendor\phpmailer\phpmailer\src\PHPMailer.php:1725  PHPMailer\PHPMailer\PHPMailer->smtpConnect()
  vendor\phpmailer\phpmailer\src\PHPMailer.php:1481  PHPMailer\PHPMailer\PHPMailer->smtpSend()
  vendor\phpmailer\phpmailer\src\PHPMailer.php:1320  PHPMailer\PHPMailer\PHPMailer->postSend()
  inc\notificationeventmailing.class.php:266         PHPMailer\PHPMailer\PHPMailer->send()
  inc\queuednotification.class.php:644               NotificationEventMailing::send()
  inc\commondbtm.class.php:1461                      QueuedNotification::forceSendFor()
  inc\ticketfollowup.class.php:419                   CommonDBTM->update()
  inc\commondbtm.class.php:1128                      TicketFollowup->post_addItem()
  front\ticketfollowup.form.php:54                   CommonDBTM->add()
  {"user":"230@MAEN3APP","mem_usage":"0.016\", 14.76Mio)"}
[2019-02-13 06:22:26] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in C:\Glpi\0.9.3\inc\toolbox.class.php line 657
  *** PHP Warning(2): file_exists(): open_basedir restriction in effect. File(/pics/timeline/0.png) is not within the allowed path(s): (C:\Glpi\0.9.3)
  Backtrace :
  :                                                 
  inc\ticket.class.php:7111                          file_exists()
  inc\ticket.class.php:886                           Ticket->showTimeline()
  inc\commonglpi.class.php:485                       Ticket::displayTabContentForItem()
  ajax\common.tabs.php:92                            CommonGLPI::displayStandardTab()
  {"user":"230@MAEN3APP"}

Offline

#3 2019-02-13 08:42:21

ict
Member
Registered: 2016-11-23
Posts: 32

Re: can't add documents anymore

I even can't add a picture to a User. Some user had a picture, now they are all gone.

Offline

#4 2019-02-13 08:56:54

ict
Member
Registered: 2016-11-23
Posts: 32

Re: can't add documents anymore

Sadly I can't edit my own postings:

I got now a better error message:

PHP Warning: Unknown: open_basedir restriction in effect. File(C:\Windows\TEMP) is not within the allowed path(s): (C:\Glpi\0.9.3) in Unknown on line 0
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0

How can this be fixed?

Offline

#5 2019-02-22 18:40:23

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

Re: can't add documents anymore

Verify owner of glpi/files dir


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

Board footer

Powered by FluxBB