WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] WPPA+ dbg msg: Error: imagejpeg failed in class-resize (11 posts)

  1. vimlesh1975
    Member
    Posted 2 years ago #

    operating system RHEL 5.3, While Importing jpeg files getting error "WPPA+ dbg msg: Error: imagejpeg failed in class-resize". Thumbs folder remains empty. But wppa folder have images. When import some more images , previous images are deleted showing "fixed database, removed invalid entries."

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    Whenever the system failed to make a thumbnail, the 'entry' is invalid (there must be 3 things: a sql tabe entry, a full image and a thumbnail image). This is fixed automaticly. For debug purposes it would be handy to switch that off temporary, this will be possible in the next rev (4.2.2). So that is ok.

    If this problem (Error: imagejpeg failed in class-resize) happens always, your php config may be insufficient.

    If this problem happens somtimes, your server memory may be too low.

    Please check Table IX item 5 in the Photo Albums -> Settings screen, and supply a link to the site, i might be able to see what is going wrong.

  3. vimlesh1975
    Member
    Posted 2 years ago #

    http://www.ddkmumbai.org/?page_id=1139

    I have enabled debugging

  4. vimlesh1975
    Member
    Posted 2 years ago #

    problem happens always

  5. vimlesh1975
    Member
    Posted 2 years ago #

    GD Support enabled
    GD Version bundled (2.0.34 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    FreeType Version 2.2.1
    T1Lib Support enabled
    GIF Read Support enabled
    GIF Create Support enabled
    JPEG Support enabled
    libJPEG Version 6b
    PNG Support enabled
    libPNG Version 1.2.10
    WBMP Support enabled
    XPM Support enabled
    XBM Support enabled

  6. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    PHP looks good at first sight.

    Try Table VII item 1 in the Photo Albums -> settings screen, chmod 775.

  7. vimlesh1975
    Member
    Posted 2 years ago #

    Unable to set the rights on /var/www/html/sahyadri/wp-content/uploads/wppa to 775

    Unable to set the rights on /var/www/html/sahyadri/wp-content/uploads/wppa/thumbs to 775

    Unable to set the rights on /var/www/html/sahyadri/wp-content/wppa-depot/admin to 775

    Changes Saved

    Actually I have set already folder permission "create and delete" in RED HAT LINUX.

  8. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    Did it work befor or did it never?

    Can you verify that the dirs like /var/www/html/sahyadri/wp-content/uploads/wppa/thumbs exist and are accessable?

  9. vimlesh1975
    Member
    Posted 2 years ago #

    It never worked.
    yes the file exists and is accesible.

  10. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    The fact that you get the errors Unable to set the rights on ... to 775 indicates that there is a file system rights problem.

    You (the server) should have add, read and write access. add and write access for imagejpeg() as it attempts to write a jpeg file in .../uploads/wppa and in .../uploads/wppa/thumbs.

  11. vimlesh1975
    Member
    Posted 2 years ago #

    Yes the problem was thumbs folder permission.
    I set it create and delete, Read and write.
    Now it is working fine.
    Thank u very much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic