ZIP Upload Fails to upload / galZipImport::setSource #107

Closed
pixelchutes opened this Issue Jun 6, 2011 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

pixelchutes commented Jun 6, 2011

I am using Gallery 1.2.0-pl / MODx 2.1.1-pl, and everything is working great (Linux / PHP 5.2.17)

My very first attempt to upload a ZIP file has not been successful. Here are some helpful notes:

  1. Mac OS X 10.6.7 (.ZIP created using Keka, normal compression)

    Contents: 16 small .jpg files (placed within a single folder)

  2. New Album created (not yet marked Active), I select "Update Album", then "Zip Upload", and choose my .ZIP file.

  3. "Please Wait / Saving..." dialog is shown, but never goes away or indicates any form of success / failure. (Stuck!)


Reviewing my site's error.log reveals the following error:

PHP Fatal error:  Declaration of galZipImport::setSource() must be compatible with that of galImport::setSource() in core/components/gallery/model/gallery/import/galzipimport.class.php on line 29, referer: /manager/index.php?a=76&album=5&action=album/update

To simplify, I now (via command-line) create a single .ZIP file of one .jpg (no folder), but I receive the exact same error...

Thoughts? Could I be doing something wrong here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment