You are not logged in.
Pages: 1
Hi
I get "Potential upload attack, Or file too large. Moving temporary file failed."
The php.ini settings seems correct: "http://www.ulmerfleisch.de/docman/phpinfo().PDF"
Server System: SME Server 7.2
Any suggestion?
Greetings Eisbaeeer
Last edited by Eisbaeeer (2008-08-27 11:33:25)
Offline
Php settings are below in my first post! Look at link. The filesize is 10kb. I test it with different sizez. Eisbeeer
Offline
Your php settings is perhrps in your first post BUT NOT THE VERSION OF GLPI YOU USE !
Also, when i just need an information, i don't need to read all a pdf file! Max_upload files and memory is enough for this problem.
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
Selected PHP Settings:
max_execution_time 30 30
memory_limit 64M 64M
post_max_size 20M 20M
upload_max_filesize 20M 20M
GLPI Version: latest stable --> GLPI version 0.71.1
Any suggestion?
Offline
Ok,
The error in Debug mode. Where can I configure the /tmp path for uploading files?
http://www.ulmerfleisch.de/docman/error_glpi.jpg
Greetings Eisbaeeer
Last edited by Eisbaeeer (2008-09-01 12:37:38)
Offline
Ok, here is the relosution:
edit the following conf:
vi /etc/httpd/conf/httpd.conf
search for:
php_admin_value open_basedir
add at the end of line:
:/tmp
in my config looks like: php_admin_value open_basedir /opt:/tmp
then restart the http deamon:
/etc/init.d/httpd stop
/etc/init.d/httpd start
Now it works (hope)
Eisbaeeer
Offline
There is a solution. It works for me:
#For example glpi ibay
#change the value
db accounts setprop glpi PHPBaseDir NONE
#signal a modification to the e-smith templating system
signal-event ibay-modify glpi
#restart httd server
service httpd-e-smith restart
Source: http://blog.mansonthomas.com/2007/12/e- … sedir.html
Offline
Pages: 1