eye-fi gallery problem (SOLVED)

tsaavik

Joined: 2007-07-30
Posts: 5
Posted: Fri, 2008-09-12 03:50

Just banged my head against a wall for a few hours over this one. Though I'd document it somewhere.

I upgraded my webserver today, and in doing so got a new version of php (and just about everything else).

I was able to upload test images using the galleryremote plugin. But eye-fi was failing to upload 2 pictures.

It would connect and I'd see

Quote:
216.218.219.4 - - [11/Sep/2008:20:41:53 -0700] "POST /gallery2/main.php?g2_controller=remote:GalleryRemote HTTP/1.1" 200 184 "-" "PEAR HTTP_Request class ( http://pear.php.net/ )"
216.218.219.4 - - [11/Sep/2008:20:41:53 -0700] "POST /gallery2/main.php?g2_controller=remote:GalleryRemote HTTP/1.1" 200 107077 "-" "PEAR HTTP_Request class ( http://pear.php.net/ )"
216.218.219.4 - - [11/Sep/2008:20:41:55 -0700] "POST /gallery2/main.php?g2_controller=remote:GalleryRemote HTTP/1.1" 200 131 "-" "PEAR HTTP_Request class ( http://pear.php.net/ )"

Which seemed fine, but I'd never get the actual pictures!

Turns out i had

Quote:
upload_max_filesize = 2M

In my /etc/php.ini file (whoops).

I think the single image uploads worked via gallery remote because maybe it disconnects between each image?
Eye-fi keeps a persistent connection running sending ~107077 chunks of data at a time, which php must recognize and keep track of, then when it exceeded 2MB it stoped it.

I thought i had my php error logging setup correctly, but i never saw any messages about it slaping my uploads down. Course I'm not that much of a "php guy" :D