Fork me on GitHub

SimpleGallery upload failed  Bottom

  • So I am now getting SimpleGallery failures to upload after upgrade to 1.2.0 - I am using SimpleGallery 1.2

    Was working prior to upgrade. I have checked the folder permissions and all are at 755

    interestingly, the files are getting to the pnTemp/SimpleGallery folder fine but not to the modules/SimpleGallery/data - I can also make new albums fine. But whenever I try to upload I get an "upload failed:1" - same error with PNG or JPG

    biff
  • Problem confirmed, I'm working on it right now. I'll let you know as soon as I find what the problem is.



    edited by: Arthens, datetimebrief

    --
    Zikula Italia
    SimpleGallery
  • It looks like the FileUtil API changed, I created a ticket for that. (at least to know if it's a bug or if we have to update our modules).

    Here a temporary workaround:
    1. Open modules/SimpleGallery/classes/Image.class.php
    2. Go to the line 378
    3. Replace

    Code

    if (!empty($msg )) {

    with

    Code

    if (strlen( $msg ) > 2) {

    4. Go to line 421 and to the same thing
    (the first one fixes the upload of single images, the second one the upload of zip files)

    Let me know if you find any other problem!

    --
    Zikula Italia
    SimpleGallery
  • I´m new to Zikula but giving it a go anyways...

    I installed SimpleGallery and got the same error, so I did the fixes you wrote above, but are now getting a http 500 error when trying to upload ? any Idear?

This list is based on users active over the last 60 minutes.