• Hello,
    I have some trouble with NextGEN Gallery on my site: http://21gram.org.ua/?cat=26

    When I started load image to gallery, got message:
    ERROR: xdsc_0503.jpg :
    0
    ERROR: dsc_9796.jpg :
    0
    ERROR: dsc_9807.jpg :
    0

    All images downloaded it changed to:
    ID 19: A failure occurred
    [more]
    1
    ID 20: A failure occurred
    [more]
    1
    ID 21: A failure occurred
    [more]
    1

    Gallery work … only “[View with PicLens]” don’t work. Few days ago all was OK. What happened?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter alexvs

    (@alexvs)

    No idea?

    I’m having the same problem in creating thumbnails!
    In other threads someone solved by switching from php4 to php5 but my server is already in php5!

    This is what I get:

    ID 22: A failure occurred[more]

    Warning: Division by zero in /web/htdocs/www.almigry.net/home/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 760
    1

    My settings

    * Operating System : Linux
    * Server : Apache/2.2
    * Memory usage : 15.18 MByte
    * MYSQL Version : 5.0.68-log
    * SQL Mode : Not set
    * PHP Version : 5.2.9
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : On
    * PHP Memory Limit : 64M
    * PHP Max Upload Size : 25M
    * PHP Max Post Size : 30M
    * PHP Max Script Execute Time : 120s
    * PHP Exif support : Yes ( V1.4 )
    * PHP IPTC support : Yes
    * PHP XML support : Yes

    Thread Starter alexvs

    (@alexvs)

    I already have PHP5
    Operating System : Linux
    Server : Apache/1.3.41 (Unix) mod_throttle/3.1.2 mod_psoft_traffic/0.2 mod_ssl/2.8.31 OpenSSL/0.9.8b
    Memory usage : 16.49 MByte
    MYSQL Version : 4.1.22-standard-log
    SQL Mode : Not set
    PHP Version : 5.2.9
    PHP Safe Mode : Off
    PHP Allow URL fopen : Off
    PHP Memory Limit : 32M
    PHP Max Upload Size : 20M
    PHP Max Post Size : 16M
    PHP Max Script Execute Time : 30s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes

    Try at first smaller images (lower resolution)

    Thread Starter alexvs

    (@alexvs)

    I tried load images bu ~100Kb.

    Now when i try load image i already get message:
    ERROR HTTP ERROR : IMGP1559.JPG : 403

    Alex my images are very small, 600×400 and less than 70k!

    No solution?

    This could have various resons,currently I have no idea. Disable other plugins, switch to the default theme, if this doesn’t help and you have a higher memory limit that 32 MB you can contact me by mail, will try to debug that on your server

    might have figured this out. Getting error division by zero on line 760. Looked at the code and saw it was processing the jpeg camera metadata. looked at the file and lo and behold the f stop and some other settings were set to zero. (usually they can’t be that low). So I think some bad data got in there from some old scans or something.

    Stripped the data (in a pinch you can just copy paste the image into a new photoshop window and re-save) and then re-uploaded and nggallery worked like a charm…

    ballyhoo

    (@ballyhoo)

    Thanks for your reply Alex,

    I have been seraching all the nextgen fora until now.
    But still:
    – also with an image 20×16 pix , 960 bites (60 kb on disk) it is not working.
    – server safe mode = off
    – strange thing: it worked fine unther a test/directory. It only started to bug when I placed the site unther the root.
    – gallery options are ok: because new images load in the correct directory.. only thumbs are not working.
    (I can upload the thumbs, after I created theem manually and then it works ok. But my client can’t..)
    – Uploading images works fine: the upload in the correct directory.

    … help…

    ballyhoo

    (@ballyhoo)

    Resolved for me:

    – backup gallery
    – uninstall nextgen
    – ! delete manually all the nextgen tables in Mysql db
    – install plugin
    – manually create all calleries
    – import by ftp all gallery pictires and thumbs
    – set permissions and disable flash upload

    DI

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘[Plugin: NextGEN Gallery] A failure occurred’ is closed to new replies.