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-18 08:06:40

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

PHP Error adding document or user picture

Hi

We get this error when we want to add a document or user pucture in GLPi 0.9.3

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

anyone an idea?

greetings

Offline

#2 2019-02-18 17:41:50

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

Re: PHP Error adding document or user picture

I could fix the problem.

On our "php.ini" we didn't defined "upload_tmp_dir" so it took the system default. "open_basedir" was enabled to "C:\Glpi\0.9.3" so it didn't allowed any other path. After addin the path to "upload_tmp_dir" it workes now.

greetings

Offline

Board footer

Powered by FluxBB