WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Download Gallery
[resolved] Blank page appears after clicking download (8 posts)

  1. jkd77
    Member
    Posted 1 year ago #

    Not sure how else to describe this error as there isn't an error code or anything in debug.log. After selecting a few images and clicking download a blank empty page appears with a url like such:

    http://myurl.com/wp-admin/admin-ajax.php?action=ngg-download-gallery-zip&gallery=MyGallery&pid=236&pid=241&pid=244

    My phpinfo() also doesn't seem to show that a ZipArchive extension is installed. Is this the issue?

    Thoughts?

    http://wordpress.org/extend/plugins/nextgen-download-gallery/

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day,

    Check your phpinfo() for a module called zip -- see http://tinypic.com/r/10h1yli/6

    Are you able to turn on debug in your wp-config.php file, and does it give you an error message?

  3. jkd77
    Member
    Posted 1 year ago #

    Thanks for the quick response! I do not seem to have that module installed. Since I have shared hosting through Dreamhost I'm not sure that's something I can install myself or not. It does appear that zlib is installed.

    I have debugging pushed to a log file, but nothing appears that's relevant to this issue.

    Thoughts?

  4. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day,

    Please ask your host to install the zip extension. It is currently required. I might add a fallback in some future version, but that won't be for a while as I have other priorities right now. The next version will have a check for this extension and will show a warning in the plugin admin page at least.

    I don't know why you're only getting a blank page though, must be some setting to suppress errors. I'll also add some explicit handling around that.

    In the meantime, all I can suggest is to ask your host to install that extension.

    cheers,
    Ross

  5. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    We don't have it on by default, and the only way to do this is to compile PHP yourself.

    See the following wiki pages:

    http://wiki.dreamhost.com/Installing_PHP5#Compiling_a_Customized_PHP_5
    http://wiki.dreamhost.com/PECL_Zip

  6. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    Right, sounds like I'd better add support for hosts without the Zip extension then... when I get a chance :)

  7. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    @jkd77: version 1.1.0 no longer requires the Zip extension, so please update and give it a go.

    cheers,
    Ross

  8. jkd77
    Member
    Posted 1 year ago #

    @Ross - Thanks! Works like a charm.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic