Hi folkz,
after upgrading my gallery3 I experience some problems with uploading files.
My tmp directory ist set to:
/var/www/$VHOST/tmp
via php.ini.
Now if I try to upload some files, I get a message that my uploads fail, so I turned on debugging via local.php and saw:
2014-04-07 12:50:19 +02:00 --- error: Kohana_PHP_Exception [ 2 ]: File upload error - unable to create a temporary file
Unknown [ 0 ]
#0 [internal function]: Kohana_PHP_Exception_Core::shutdown_handler(NULL)
#1 /var/www/digital-bit.ch/htdocs/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#2 /var/www/digital-bit.ch/htdocs/gallery3/system/core/Kohana.php(553): Event_Core::run('system.shutdown')
#3 [internal function]: Kohana_Core::shutdown()
#4 {main}
so I took a look to files where the tmp may be set and I found the index.php with:
define("TMPPATH", VARPATH . "tmp/");
which I switched to:
define ("TMPPATH", "/var/www/$VHOST/tmp/");
this did not work .
So may you have some help for me to fix this problem?
PHP 5.5.10-pl0-gentoo (cli) (built: Mar 11 2014 14:58:56) is my acutal PHP build
Fixed it... sorry for disturbing, needed to create a temp directory within rootpath of G3
Posts: 814
what is $VHOST value? Try replacing with the actual value.