WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery - Image Resize (2 posts)

  1. desabol
    Member
    Posted 6 years ago #

    I just installed NextGEN gallery on my WP 2.5.1 install. I got everything set up and seemingly working fine until I tried to upload a single image. The upload went fine (I checked via ftp) but it errored out on the resize (I think).

    The message I received was: Parse error: syntax error, unexpected $end in /home/../../../../wp-content/plugins/nextgen-gallery/lib/thumbnail.inc.php on line 678

    Any thoughts on what may have caused this and more importantly how I can fix it? The install details are as follows:

    * Operating System : Linux
    * Server : Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
    * Memory usage : 8.85 MByte
    * MYSQL Version : 5.0.18-standard-log
    * SQL Mode : Not set
    * PHP Version : 5.2.6
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : Off
    * PHP Memory Limit : 90M
    * PHP Max Upload Size : 7M
    * PHP Max Post Size : 8M
    * PHP Max Script Execute Time : 30s
    * PHP Exif support : Yes ( V1.4 )
    * PHP IPTC support : Yes
    * PHP XML support : Yes

    GD support
    * 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

  2. desabol
    Member
    Posted 6 years ago #

    Well after a thorough examination of the code and a ton of google searching, I found the answer to the problem. I was looking at the version of the thumbnail.inc.php that sits on the server and I decided to take a look at the file from the archive (zip) file. I noticed a discrepancy in file sizes and as it turns out when I uploaded the plugin the file was incomplete. The unexpected error was a result of the bad file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.