Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author webaware

    (@webaware)

    G’day, can you please check your web server logs to see if there are any error messages recorded? If you have trouble accessing the error logs, please edit your wp-config.php file and replace the line with WP_DEBUG with these lines:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define ('WP_DEBUG_DISPLAY', false);

    After you try to download some images, and get a failure, please let me know and I’ll have a look at the debug.log file.

    cheers,
    Ross

    Plugin Author webaware

    (@webaware)

    Incidentally and unrelated: your theme or one of your plugins is replacing the jQuery script bundled with WordPress, with an older version. This is bad! You should identify what’s doing that and make it stop. If you want to load jQuery from Google’s CDN, install the plugin Use Google Libraries instead; it will load a jQuery version matching your WordPress installation.

    Also, your website is trying to load the jQuery UI base theme from Google’s CDN, but getting the path wrong. See my article Load a nice jQuery UI theme in WordPress for a clean way to do this, also matching the version of jQuery UI bundled with WordPress.

    cheers,
    Ross

    Thread Starter cgeorgen

    (@cgeorgen)

    Here are the error logs from trying to download images:

    [Tue Apr 16 12:43:00 2013] [error] [client 99.5.236.203] Premature end of script headers: index.php, referer: https://wilsonschool.com/experience/our-photo-albums/?album=21&gallery=112
    [Tue Apr 16 12:43:10 2013] [error] [client 99.5.236.203] Premature end of script headers: index.php, referer: https://wilsonschool.com/experience/our-photo-albums/?album=21&gallery=112
    [Tue Apr 16 12:43:10 2013] [error] [client 99.5.236.203] Premature end of script headers: index.php, referer: https://wilsonschool.com/experience/our-photo-albums/?album=21&gallery=112

    Plugin Author webaware

    (@webaware)

    G’day, I suspect that your website is hitting its memory limits. Please talk to your host about increasing the memory available to it. You can find out what your current memory limit is by navigating to the NextGEN Overview page in the WordPress admin:

    Gallery > Overview

    It should be 64M or bigger. Often, hosts leave the limit at 32M which isn’t really enough with NextGEN Gallery.

    You can try increasing the memory yourself by adding this line to the wp-config.php file:

    define('WP_MEMORY_LIMIT', '64M');

    cheers,
    Ross

    Thread Starter cgeorgen

    (@cgeorgen)

    Thanks for the quick attention!

    I added the line to the wp-config file. My server settings still are:
    Operating System : Linux (64 Bit)
    Server : Apache
    Memory usage : 55.5 MByte
    MYSQL Version : 5.1.39-log
    SQL Mode : Not set
    PHP Version : 5.2.17
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : 256
    PHP Max Upload Size : 7M
    PHP Max Post Size : 8M
    PCRE Backtracking Limit : 500000
    PHP Max Script Execute Time : N/As
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes

    Thread Starter cgeorgen

    (@cgeorgen)

    Also, I located this line in my php.ini file:

    memory_limit = 90M ; Maximum amount of memory a script may consume (8MB)

    Plugin Author webaware

    (@webaware)

    G’day, looks like memory isn’t the problem then. Could you please add that debug config to your wp-config.php and then let me know? I’d like to see what shows up in the debug.log file.

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define ('WP_DEBUG_DISPLAY', false);
    Plugin Author webaware

    (@webaware)

    I just saw the error you’re getting (premature end of script headers) on another site, one without my plugin. It was being caused by an error in another plugin, Widget Logic Visual.

    I suggest you try disabling plugins one by one to see if one of them is affecting this. If you can identify a plugin that is doing it, let me know which one and I’ll have a look to see if there’s a conflict.

    cheers,
    Ross

    Thread Starter cgeorgen

    (@cgeorgen)

    I am going through the process of disabling plugins. I’ll let you know if I find anything out.

    I’ve also added to my wp-config file:
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define (‘WP_DEBUG_DISPLAY’, false);

    Thanks!!

    Thread Starter cgeorgen

    (@cgeorgen)

    It’s definitely a plugin conflict. More info soon.

    Thanks!

    Thread Starter cgeorgen

    (@cgeorgen)

    Role Scoping for NextGEN Gallery is the culprit.

    Plugin Author webaware

    (@webaware)

    Aha. Role Scoper is a real memory hog, but you might be able to fix it by adding this to your wp-config.php file:

    /**
     * limit Role Scoper memory usage by not retrieving page content just to list pages
     */
    define('SCOPER_GET_PAGES_LEAN', TRUE);
    define('SCOPER_EDIT_POSTS_LEAN', TRUE);

    I know we had to add that to a site we used Role Scoper on, it was blowing a large memory limit due to the large number of posts / pages on the site.

    cheers,
    Ross

    Thread Starter cgeorgen

    (@cgeorgen)

    I added the code to wp-config but no luck. However, the problem is relieved if I disable either Role Scopper OR Role Scoping for NextGen Gallery. We use Role Scoping for NextGen Gallery because we have a series of people managing different albums on the site.

    Thanks!

    Plugin Author webaware

    (@webaware)

    I’ll set up a test system for this and have a play. It can’t happen today however, as I’m flat out with a couple of projects; maybe on the weekend.

    I suspect it’s still a memory issue. 256M should be enough however (which is what NextGEN is reporting you have, not 90M) so it’s a bit surprising. Are you able to ask your host to increase it to 384M just to test, temporarily?

    cheers,
    Ross

    Thread Starter cgeorgen

    (@cgeorgen)

    Thanks for taking a closer look! I will try and see if I can get that increase to 384M.

    Best.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Blank page with 0 appears after clicking download’ is closed to new replies.