"Unable to process file" when uploading photos

aod

Joined: 2010-09-11
Posts: 5
Posted: Tue, 2011-04-19 08:29

I just did a fresh install of gallery3 (latest 3.0.1 from this website) on my server, because I could not get the build-in photo uploader to work. After making the necessary backups I dropped all tables and started over. Unfortunately, this didn't solve anything. While I have been using gallery3 for quite a while now, I have never used the build-in uploader so I'm not sure if it has ever worked. I used the server add method, but I don't want other users to be able to use this. Therefore it would be great if I got the build-in photo uploader to work. Anyway...

Added the local.php file to the /gallery dir as suggested, to get some debug info. When uploading a photo, it shows me the error "unable to process file". I searched these forums for this problem and read a few topics. This topic suggests that it might be the graphics toolkit. Gallery3 is now configured to use GD. While ImageMagick is also installed on the system, gallery3 does not see this.

/gallery/var/logs says

<?php defined('SYSPATH') or die('No direct script access.'); ?>

2011-04-19 00:42:43 -07: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/aod/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#2 /var/www/aod/gallery/system/core/Kohana.php(549): Event_Core::run('system.shutdown')
#3 [internal function]: Kohana_Core::shutdown()
#4 {main}
2011-04-19 00:42:53 -07: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/aod/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#2 /var/www/aod/gallery/system/core/Kohana.php(549): Event_Core::run('system.shutdown')
#3 [internal function]: Kohana_Core::shutdown()
#4 {main}
2011-04-19 00:43:03 -07: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/aod/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#2 /var/www/aod/gallery/system/core/Kohana.php(549): Event_Core::run('system.shutdown')
#3 [internal function]: Kohana_Core::shutdown()
#4 {main}

I'm not sure what is going on here. I tried uploading three files, one at a time. Of course /gallery/var is chmod 777 before install and I think /gallery/var/tmp should be used as a temporary directory.
Server add still works.

I hope someone can (try to) help me solve this problem :) Thanks in advance!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-04-19 11:58
Quote:
File upload error - unable to create a temporary file
Unknown [ 0 ]

Check the php setting upload_tmp_dir
____________________________________________
Like Gallery? Like the support? Donate now!

 
mastersnowy

Joined: 2011-07-16
Posts: 5
Posted: Mon, 2011-08-01 17:23

Also,sorry for my english.

Gallery3 when i upload a foto that is 1,5MB than is all right but is the foto 3,5 . 6,5MB than came the errormessage DSC_0222.JPG - Unable to process this photo

/var/logs/

2011-08-01 16:27:25 +02:00 --- error: ReflectionException [ -1 ]: Class _Controller does not exist
/www/htdocs/v036659/fotogallerie/modules/gallery/helpers/gallery.php [ 64 ]
#0 /www/htdocs/v036659/fotogallerie/modules/gallery/helpers/gallery.php(64): ReflectionClass->__construct('_Controller')
#1 /www/htdocs/v036659/fotogallerie/system/core/Event.php(208): gallery_Core::private_gallery(NULL)
#2 /www/htdocs/v036659/fotogallerie/system/libraries/Router.php(160): Event_Core::run(Array, Array)
#3 /www/htdocs/v036659/fotogallerie/system/core/Event.php(208): Router_Core::setup('system.post_rou...')
#4 /www/htdocs/v036659/fotogallerie/application/Bootstrap.php(61): Event_Core::run(NULL)
#5 /www/htdocs/v036659/fotogallerie/index.php(102): require('/www/htdocs/v03...')
#6 {main}
2011-08-01 18:56:07 +02:00 --- error: File not found: file_proxy/DSC_0276.JPG
2011-08-01 19:02:38 +02:00 --- error: File not found: file_proxy/DSC_0276.JPG
2011-08-01 19:02:49 +02:00 --- error: File not found: file_proxy/DSC_0223.JPG
2011-08-01 19:02:49 +02:00 --- error: File not found: file_proxy/DSC_0223.JPG
2011-08-01 19:02:57 +02:00 --- error: File not found: file_proxy/DSC_0271.JPG
2011-08-01 19:03:02 +02:00 --- error: File not found: file_proxy/DSC_0205.JPG
2011-08-01 19:03:02 +02:00 --- error: File not found: file_proxy/DSC_0205.JPG
2011-08-01 19:04:14 +02:00 --- error: File not found: file_proxy/DSC_0223.JPG
2011-08-01 19:04:15 +02:00 --- error: File not found: file_proxy/DSC_0223.JPG
2011-08-01 19:04:19 +02:00 --- error: File not found: file_proxy/DSC_0214.JPG
2011-08-01 19:08:30 +02:00 --- error: File not found: file_proxy/DSC_0205.JPG

PLEASE HELP-i read yesterday and tomorrow in the forum but nothing-i will be stupid

SnowY from Germany

on the ftp in the album folder are the pictures but in the gallery are they not visible. when i go to Wartungsmodus they are 22 Pictures to recover or repair but the status of Repairing dont go.exif dates going.