WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Error 324 (net::ERR_EMPTY_RESPONSE) and Error 101 (net::ERR_CONNECTION_RES (8 posts)

  1. eballo
    Member
    Posted 2 years ago #

    Hi,

    I'have a problem trying to add a new image into a post, the server crash and give me the error 324. I'm not sure if the problem cames form the plugin or from the server.
    Some day works fine, another day crash... I don't know what to do.

    Steps that i do to reproduce the isue:
    - Inside a post I press the button upload/Insert (add media)
    - go to the tab NextGen Gallery
    - Chosse a gallery
    - Chosse a image and add a picture ( I use to add in full size and center )
    - After this came the error:
    Error 324 (net::ERR_EMPTY_RESPONSE):
    And sometimes this other error:
    Error 101 (net::ERR_CONNECTION_RESET):

    The rest of the plugin works fine, I can upload images into a gallery without problems put I can't add the image into a post as i told before.

    Thanks in advance

    I'm using NextGen Version 1.9.3. and wordpress 3.3.2

    All seems to be correct as you can se below:

    Check plugin/theme conflict
    No conflict could be detected

    Test image function
    Could create image with 4048 x 3040 pixel

    Check theme compatibility
    Your theme should work fine with NextGEN Gallery
    -----
    Server Settings
    Operating System : Linux (32 Bit)
    Server : Apache/2.2.X (OVH)
    Memory usage : 19.72 MByte
    MYSQL Version : 5.1.49-3-log
    SQL Mode : Not set
    PHP Version : 5.2.17
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : 128
    PHP Max Upload Size : 64M
    PHP Max Post Size : 64M
    PCRE Backtracking Limit : 500000
    PHP Max Script Execute Time : 120s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes
    Graphic Library

    GD Version : bundled (2.0.34 compatible)
    FreeType Support : Yes
    FreeType Linkage : with freetype
    T1Lib Support : Yes
    GIF Read Support : Yes
    GIF Create Support : Yes
    JPG Support : Yes
    PNG Support : Yes
    WBMP Support : Yes
    XPM Support : Yes
    XBM Support : Yes
    JIS-mapped Japanese Font Support : No

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

  2. eballo
    Member
    Posted 2 years ago #

    I was searching in google and people said that this problem is a isue of google chrome but.. I'have this problem with chrome, Internet explorer, firefox, safari, opera.

    Thanks in advance,

  3. webmystery
    Member
    Posted 2 years ago #

    I'm getting that error under similar conditions after uploading a bunch of photos to a gallery - next gen is not installed. I first thought it was a MAMP Pro 2.0 permissions issue but now I'm not sure - there are a lot more posts describing this error in the WP forums than in the MAMP forums. When I installed photos last week they didn't show up until I manually modified the permissions on those folders.

    Today all of the posts and pages that I uploaded images to are showing this error:
    Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

    The photos uploaded and their permissions are 666 - same as images in posts that are viewable. Not sure where to look next - wondering if it is a database problem - I checked in phpmyadmin and it loks like the data is all there.

  4. webmystery
    Member
    Posted 2 years ago #

    ps: Doesn't happen in twentyten - it does happen in a custom theme (child of twentyten) I'm making for an artist that uses several custom image sizes.

    I need to find out what it is about the theme and/or image sizes that makes this blow up. I don't have to option to just use a different theme.

  5. webmystery
    Member
    Posted 2 years ago #

    I've narrowed it down a bit. I'm using a php function called "getimagesize()" to get the width and the height of an image so that I can assign an image size based in the orientation.

    getimagesize() blows up only on certain files - could be the size ~5MB or so - no problem with smaller files -- or it could be that these large files are also returning some other data that is causing the problem - they were all taken w' the same new camera.

  6. webmystery
    Member
    Posted 2 years ago #

    Here's how I fixed it - using the the thumbnail version instead of the large one to calculate image orientation avoids the blowup: $furl=wp_get_attachment_image_src($id, 'thumbnail');

    I also found that upping the memory limit in php.ini from 32 to 96MB solved the problem - but it is better coding practice - if you have the option - to use the smaller image/less memory when possible.

  7. eballo
    Member
    Posted 2 years ago #

    It is really extrange my problem because some days I've the problem and another days works fine. I think that the problem cames from the server.

    But anyway thank you for your response webmystery!

  8. webmystery
    Member
    Posted 2 years ago #

    Have you compared the specifications of the files that fail to be added to a post, for example, is it always the same files that fail or files of over a certain (original) size that fail?

    Or - is some other plugin perhaps busy while adding files to a post fails?

    Have you tried upping your memory setting in php.ini?

    Could someone who is managing your server be fiddling with settings, RAM, for instance? They shouldn't be - even on a shared server you should have a consistant amount of ram available, but if all other conditions are identical when posing images fails/succeeds, then hmmm, maybe you have a really flakey hosing provider.

    I've seen sites (on godaddy, in particular) lock up or throw a database error when a shared database is getting hammered, but never an error apparently caused by other clients maxing out available RAM

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic