Fork me on GitHub

SimpleGallery Add Images .zip  Bottom

  • I am stuck, and cant find my way out.

    When I upload .zip-file it uploads allright, i can find archived working file from temporary folder, but after it uploads i only get a blank-page and the images from the folder wont be added to folder. If i refresh page, i get error that the file is too big (no it isn't) or URL is bad.

    Any hints what i might have wrong. Allready tried to find where i could tell to simplegallery path to unzip, but didn't find one.

    --
    sleepy
  • Blank Page, worst error ever icon_razz

    If you can activate PHP errors it would be easier to find the problem
    http://community.zikula.org/index.php?module=Wiki&tag=BlankPages

    miihkali

    Allready tried to find where i could tell to simplegallery path to unzip, but didn't find one.


    The zip file is uploaded and unzipped in the temporary folder, you can set the path in the Settings page.

    By the way, what version of PHP are you using?
    Can you check using phpinfo() that --enable-zip is present in the Configure Command?
    SimpleGallery uses ZipArchive. Maybe your server doesn't support it.

    --
    Zikula Italia
    SimpleGallery
  • I can't turn on or off anything, cos i have only webhotel no server.

    PHP version is 5.2.9 and atleast in the zikula system info says at apache environment
    HTTP_ACCEPT_ENCODING gzip,deflate
    and phpinfo at phpvariables tells me
    _SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate

    I didn't mean that where it puts zip files, i ment that if i could somewhere configure path to gzip. Menalto Gallery didn't work neither on the same serviceprovider until i copyed gzip to my own directory and changed configuration to not use default but the one at my path.

    --
    sleepy
  • miihkali

    PHP version is 5.2.9 and atleast in the zikula system info says at apache environment
    HTTP_ACCEPT_ENCODING gzip,deflate
    and phpinfo at phpvariables tells me
    _SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate


    IIRC HTTP_ACCEPT_ENCODING means that your server can compress the output before sending it to the client

    miihkali

    I didn't mean that where it puts zip files, i ment that if i could somewhere configure path to gzip. Menalto Gallery didn't work neither on the same serviceprovider until i copyed gzip to my own directory and changed configuration to not use default but the one at my path.


    No, at the moment there's no way to configure it. On Linux it must be compiled within the PHP interpreter, on Windows it must be enabled in php.ini
    http://uk2.php.net/manual/en/zip.setup.php

    In the next version I should provide a check on this class (a message with an explanation is better than a Blank Page or a PHP error) and maybe a fallback. What exactly did you use for Menalto Gallery?

    Regards,
    Giacomo

    --
    Zikula Italia
    SimpleGallery
  • I copyed gzip file from servers directory to my own directory. And then just told to menalto that gzip is to be found from /home/mydirectory/gzip I don'n know why it would not work from servers own directory but it just didn't. I quess that this could be same kind of issue.

    --
    sleepy
  • 0 users

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