I am using the latest experimental version of Gallery 3. I can upload 1 image, but any further uploads fail with the error "Unable to process this file". If I delete the first image, then I can upload another image, but again only one...
The error occurs whether I am using GD or ImageMagick. Any thoughts?
Here are the log messages:
2009-11-23 12:48:31 +00:00 --- error: Caught exception rebuilding image: Breath of Fresh Air spread 2 opt
@todo EMPTY_INPUT_FILE
#0 [internal function]: gallery_graphics_Core::resize('/Users/nyehughe...', '/Users/nyehughe...', Array)
#1 /Users/nyehughes/Sites/gallery3/modules/gallery/helpers/graphics.php(152): call_user_func_array('gallery_graphic...', Array)
#2 /Users/nyehughes/Sites/gallery3/modules/gallery/helpers/photo.php(126): graphics_Core::generate(Object(Item_Model))
#3 /Users/nyehughes/Sites/gallery3/modules/gallery/controllers/simple_uploader.php(63): photo_Core::create(Object(Item_Model), '/Users/nyehughe...', 'Breath of Fresh...', 'Breath of Fresh...')
#4 [internal function]: Simple_Uploader_Controller->add_photo('1')
#5 /Users/nyehughes/Sites/gallery3/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Simple_Uploader_Controller), Array)
#6 [internal function]: Kohana::instance()
#7 /Users/nyehughes/Sites/gallery3/system/core/Event.php(209): call_user_func(Array)
#8 /Users/nyehughes/Sites/gallery3/system/core/Bootstrap.php(55): Event::run('system.execute')
#9 /Users/nyehughes/Sites/gallery3/index.php(90): require('/Users/nyehughe...')
#10 {main}
Posts: 16503
Post a link to phpinfo:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
Here is my phpinfo.
Posts: 16503
Hmm, I don't know Mac and it's not supported. I would first try setting a path for session.save_path
If that doesn't work. I'm not sure if this is going to be a tweak in PHP, Apache or on the Mac. How did you install Apache, PHP and MySQL?
Does anyone else have any clue? I've used Macs for a total of maybe 2 hours in my life and OS X for a total of about 5 minutes.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 22892
You got me beat! I looked at thumb's laptop at the code sprint. That is the closest I have been in years.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
I've set a path for session.save_path in my php.conf, but to no joy.
I'd be suprised if this was a Mac problem -- they are not substantially different from any other unix / linix system, if this is not a Gallery3 bug, then I suspect the problem lies in my php or apache configuration. The fact I can upload one image is curious though -- a naming issue? A memory problem? Something to do with the database?
From looking at the Gallery3 log, it looks like the problem occurs after the upload but before the resize. Can anyone give me some pointers on how to debug this in more detail, perhaps by putting 'break points' in the code? Anyone else running Gallery3 on the standard mac os 10.6.2 php / apache setup?
Thanks, Nye
Posts: 16503
I'd start by looking in gallery3/var/logs and see if there's any clue in there
Also check your Apache access and error logs
Setup logging in PHP to see if there's something to be done there
You can possibly get some debugging info from G3 this way:
FAQ: How do I see debug information?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here