Cannot upload Zip files using "form"

MarekZ

Joined: 2006-06-10
Posts: 3
Posted: Sat, 2006-06-10 04:26

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):zevax.dnsalias.net/gallery
Gallery version: 1.5.3
Apache version: 2.0.53 (Fedora)
PHP version (don't just say PHP 4, please): 4.3.11
Graphics Toolkit: ImageMagick
Operating system: Fedora FC3 (2.6.12-1.1378_FC3)
Web browser/version (if applicable): Firefox 1.5.0.4

Freshly installed Gallery and trying to upload the images with metadata. (I have collections of old photos with captions already made, and the only way I found is to use ZIP and a form with the metadata file).

I zipped 3 images, and used the "Form" tab. The file had ca 3 MB. I checked the "over 2 MB" posts, and increased the Upload size to 20 MB (upload_max_filesize 20971520 20M). I tried with smaller Zip < 2 MB, with the same result.

The upload appears to work, but nothing happens, no files appear in the album. I cannot find the graphic files nor the zipped file on the server. I changed logging to "paranoid" and get the following messages:

====
util.php::987 -> Processing file: /tmp/phpffUszw

Processing file 'Drew01-1.zip' as archive
util.php::1002 -> Getting archive content Filenames
util.php::156 -> Executing: '/usr/bin/zipinfo' -1 '/tmp/phpffUszw'

Results:

none

Debug messages:

Status: 1 (expected 0)
util.php::1020 -> No Metadata
util.php::1024 -> Processing files in archive
===

I ran 'zipinfo -1' on the zipped file on the server, and it correctly returned the list of files. I have zip, unzip etc. in the paths as configured.

Adding files without ZIP works correctly without a problem. The "Form", "applet", "Applet big" all work.

I tried to upload a Zipped file with Gallery Remote (Applet Big), bit with no positive result. I can get the Zip file selected, but when I click "upload file", a screen showing upload progress appears, and then everything goes away, I do not see the zip nor its content.

Please help

_Marek

 
bignellrp

Joined: 2008-03-21
Posts: 18
Posted: Mon, 2008-11-10 09:50

I'm having similar issues to you. I know this is an old post but is anyone else having this problem with uploading zip files. And has anyone got a suggestion on how to resolve it?

My problem is similar in that large zip files seem to finish uploading and say processing, but then no photos appear if zip file is >4mb. It works fine with small zip files. Is it just that i'm clicking Dismiss to early?

 
MarekZ

Joined: 2006-06-10
Posts: 3
Posted: Mon, 2008-11-10 13:46

Bignellrp,

I gave up. There are so many other methods, that I swiched. I currently use either Picasa (and Zipping wirks here perfectly) or the applet withour ziping. In either case make sure that the max. upload file size is not exceeded; I have set this number quite high for my gallery (80 MB) to avoid such problems.

_Marek

 
bignellrp

Joined: 2008-03-21
Posts: 18
Posted: Mon, 2008-11-10 13:58

Thx for replying. I'm going to try an upgrade to gallery1.6 beta to see if that helps.

 
MarekZ

Joined: 2006-06-10
Posts: 3
Posted: Mon, 2008-11-10 15:38

I have since migrated to Gallery 2, and I would very much recommend it - the database is not a big deal now, and everything works better.

_Marek

 
bignellrp

Joined: 2008-03-21
Posts: 18
Posted: Mon, 2008-11-10 16:45

I tried gallery2 in the past and didnt get on very well. The bridge didnt work very well with the layout of my site. I like using side menu bars, but gallery2 wanted to use the whole width of the page.