Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Upload - Unknown PHP upload error code  (Read 4200 times)

0 Members and 1 Guest are viewing this topic.

Alex_5252

  • Coppermine newbie
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 2
Upload - Unknown PHP upload error code
« 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
Logged

Alex_5252

  • Coppermine newbie
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: Upload - Unknown PHP upload error code
« Reply #1 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.