forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: Alex_5252 on January 08, 2012, 09:18:33 pm

Title: Upload - Unknown PHP upload error code
Post by: Alex_5252 on January 08, 2012, 09:18:33 pm
I'm having issues when uploading on my Coppermine driven gallery http://foto.lo.5252.ru/
When using http uploads and the suggested settings for upload troubleshooting in place, I get the error message
 
Code: [Select]
Unknown PHP upload error code.
Here's the test user account data:
    Username: tester
    Password: tester

I have been using the image taken from foto.lo.5252.ru/zzzpg.jpg as an example to test with.

Search the forums of similar cases have not found.

I have no idea what else to do.
Thanks in advance for your suggestions
Title: Re: Upload - Unknown PHP upload error code
Post by: Alex_5252 on January 10, 2012, 09:27:27 am
OS Gentoo.
Error found, variable upload_tmp_dir has not been defined.

/etc/php/apache2-php5.3/php.ini:
Code: [Select]
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
;upload_tmp_dir =
upload_tmp_dir = /tmp

Thanks for you software for gallery!