• srt19170

    (@srt19170)


    When I attempt to create thumbnails for a gallery, I get the following:

    # ID 32: A failure occurred
    [more]
    [object XMLHttpRequest]

    There does not seem to be any more information available. Clicking on “[more]” just returns to the gallery page.

    wp-content\gallery and all subfolders are 777. This is with a fresh install of v1.0.0 beta 2.

    Any thoughts?

Viewing 10 replies - 16 through 25 (of 25 total)
  • adding the two lines to my .htaccess file worked perfectly, on 1and1.

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    Using Cyberduck on a Mac I did as Dyno223 says and set the view to show hidden files to see .htaccess and paste in the fix.

    thanks!

    When I’m using Cyberduck on a Mac, I don’t see the .htaccess file that is supposed to show up after I tell the program to show hidden files. Would updating to PHP5 be as easy as creating a htaccess.txt file in TextWrangler, pasting in the code:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    then uploading it to the proper directory on 1and1’s server and then renaming the file to “.htaccess”?

    I am using cyberduck for mac ver 3.2 (4648) and I was able to directly edit file using ‘mi’ and it solved my problem. Previously, it also seemed to restrict my pix sizes to 800 x 600 or less – that problems is resolved as well.

    Many Thanks to all for the help,

    Pino
    https://www.ArtByPino.com

    admin-ajax.php permissions needed to be changed for me in the wp-admin dir

    works fine!

    I am on 1and1 and I am having the same problem.

    I have added the php5 lines to beginning of my .htaccess file in the root of my site, but the problem still occurs.

    Any other suggestions?

    Thanks!

    I uploaded about 40 more images, and about half of them were able to generated thumbnails.

    The other half keep failing with the same error.

    Please help, as I am trying to make a memorial site for my friend who passed away this weekend!

    Thank you!

    I am using WP 2.8.4 and the current version of NexGEN (downloaded today).

    Other settings are:

    Server Settings
    * Operating System : Linux
    * Server : Apache
    * Memory usage : 13.97 MByte
    * MYSQL Version : 5.0.81-log
    * SQL Mode : Not set
    * PHP Version : 5.2.11
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : Off
    * PHP Memory Limit : 40M
    * PHP Max Upload Size : 20M
    * PHP Max Post Size : 8M
    * PHP Max Script Execute Time : 50000s
    * 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 : No
    * GIF Read Support : Yes
    * GIF Create Support : Yes
    * JPG Support : Yes
    * PNG Support : Yes
    * WBMP Support : Yes
    * XPM Support : No
    * XBM Support : Yes
    * JIS-mapped Japanese Font Support : No

    I am a 1and1 customer as well. When I set up the database for my wpsite I specified PHP 5. I have another wpsite set up on the same server and NextGEN Gallery works fine on it. However, on this site I am developing right now, the same issue occurs…no thumbnail. If I click to edit thumbnail it shows up with a blank white area.

    These are my Server Settings ACCORDING to NextGen’s Overview page

    * Operating System : Linux
    * Server : Apache
    * Memory usage : 13.62 MByte
    * MYSQL Version : 5.0.81-log
    * SQL Mode : Not set
    * PHP Version : 4.4.9
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : On
    * PHP Memory Limit : 40M
    * PHP Max Upload Size : 20M
    * PHP Max Post Size : 8M
    * PHP Max Script Execute Time : 50000s
    * PHP Exif support : Yes ( V1.4 )
    * PHP IPTC support : Yes
    * PHP XML support : Yes

    Notice NextGen reports that my PHP vs is 4.4.9, whereas my admin panel for 1and1 says it is 5. I need some help with this please. I tried the .htaccess trick and the only thing that changed was the vs number…thumbnails still did not appear.

    Thanks

    OK.
    What I have discovered after much stress, is that 1and1’s server (whether it is the php, the gd-lib or the memory limit…or even a combination of any of them) cannot handle larger images. The images I uploaded were 2592X1944 at 180ppi with a file size range between 1.2mb to 1.6mb.

    When uploading those pics I received this error when it tried to generate thumbnail:

    Fatal error: Out of memory (allocated 32505856) (tried to allocate 10368 bytes) in /homepages/28/********/htdocs/demo1/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 183

    What I did after trying .htaccess trix and calling 1and1 support (which was helpful, but not) and a few other tips, was simply reduce the size of the file I uploaded. I reduced the same image to 1024X768 at 72ppi which ended up weighing in at 180kb – uploaded it (had to scan folder for it after uploading – nuisance for another thread) and once detected it generated a thumbnail with absolutely no problem.

    One of the issues I believe is that 1and1 limits the php memory usage no matter what it says you have access to, and therefore has trouble ‘digesting’ larger images.

    While not an ideal thing, I hope this will help someone workaround the issue. Maybe if enough 1and1 customers complain we can get them to resolve this issue, after all…we are the customers!!!

    photon43

    (@photon43)

    @caringforapathy

    Thanks so much for your suggestion! It worked with no problems. I was having the exact issue (landscape pictures failed on thumbnail creation – 1&1 server). That host really stinks. I would never recommend them to anyone! Had lots of problems with them over the course of this job.

    Thanks Again!

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Thumbnail Failure in Nextgen Gallery’ is closed to new replies.