PDA

View Full Version : No thumbnails


eneref
05-17-2006, 07:11 PM
I'm having a devil of a time getting anything for thumbnails. It's creating nothing in the thumbnail directory (which is writable). A list of images shows just empty clickable borders with nothing inside. A click on the 'regenerate thumbnails' portion of the options brings up a blank screen.

I've gone through the usual things... I've upped execution time (not really an issue on a dual Xeon server hosted on the same lan). I've upped the memory limit to 40M. Nothing. Niente. Nada. Nichts. Nanimonai.

Other things I should check would be.... ?


Little config post is as follows:

URL http://neil.rustedmetal.com/admin/index.php
PHP-version 5.0.5 (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 4.1.7 (Pixelpost's min requirement: MySQL: 3.23.58 )
GD-lib bundled (2.0.28 compatible)
File Uploads to pixelpost site are possible.
Server Software Apache/2.0.54 (Unix) mod_ssl/2.0.54 OpenSSL/0.9.7a PHP/5.0.5
EXIF Pixelpost is using exifer v1.5 for EXIF-information.

Paths
Guessed imagepath: /www/neil.rustedmetal.com/images/
Configured Imagepath: ../images/
Image Directory: OK - Can we write to the directory? YES. CHMOD: 0755
Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0755
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK

Joe[y]
05-17-2006, 07:20 PM
GD-lib bundled (2.0.28 compatible)

this SHOULD say with jpg-support enabled. get in touch with your host and ask them to enable the jpg-support for gd.

eneref
05-18-2006, 03:03 AM
I'm my host. I'll look into it.

eneref
05-30-2006, 02:24 PM
GD Lib is most certainly installed with JPG support (tested with my own code).

Still no thumbnails.

With full error-reporting on, I get this slew of random messages on the front page:

Notice: Undefined variable: cfgrow in /home/www/neil.rustedmetal.com/includes/functions.php on line 192

Notice: Undefined index: showimage in /home/www/neil.rustedmetal.com/index.php on line 216

Warning: getimagesize(thumbnails/thumb_20060530101722_dsc01597-ed-s.jpg): failed to open stream: No such file or directory in /home/www/neil.rustedmetal.com/index.php on line 247

Warning: getimagesize(thumbnails/thumb_20060530101722_dsc01597-ed-s.jpg): failed to open stream: No such file or directory in /home/www/neil.rustedmetal.com/index.php on line 281

Warning: getimagesize(thumbnails/thumb_20060530101722_dsc01597-ed-s.jpg): failed to open stream: No such file or directory in /home/www/neil.rustedmetal.com/index.php on line 306

Warning: getimagesize(thumbnails/thumb_20060530101722_dsc01597-ed-s.jpg): failed to open stream: No such file or directory in /home/www/neil.rustedmetal.com/index.php on line 372

Notice: Undefined index: showimage in /home/www/neil.rustedmetal.com/index.php on line 646

Notice: Undefined index: popup in /home/www/neil.rustedmetal.com/index.php on line 652

Notice: Undefined variable: HTTP_HOST in /home/www/neil.rustedmetal.com/index.php on line 899

Notice: Undefined variable: REQUEST_URI in /home/www/neil.rustedmetal.com/index.php on line 899

Notice: Undefined variable: pinglist in /home/www/neil.rustedmetal.com/addons/admin_ping.php on line 100

Notice: Undefined index: maxpthumb in /home/www/neil.rustedmetal.com/addons/paged_archive.php on line 54

Notice: Undefined index: maxpthumb in /home/www/neil.rustedmetal.com/addons/paged_archive.php on line 133



It's pretty clearly having an issue with the thumbnails as well as a slew of other things. I've deleted everything (tables, files) and reinstalled from scratch three times to no avail. I even moved over onto another hosting machine, reconfigured everything, recompiled GDlib, php, et al.

Nothing. Niente. Nada. Nichts. Nanimonai.

Still says nothing about jpg-support enabled for the GD-lib, but it clearly is as I'm the one who compiled it, and it has been tested.

eneref
05-30-2006, 02:33 PM
** Configuration summary for gd 2.0.33:

Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes


Still yields:

GD-lib bundled (2.0.28 compatible)

GeoS
05-30-2006, 07:04 PM
Turn of showing warnings!!! Then it should work fine.

eneref
05-31-2006, 05:04 PM
And lo and behold!

No... it doesn't work at all.

It's never worked. The site itself works... thumbnails, not at all.

GeoS
05-31-2006, 05:44 PM
But problem is that PHP doesnt see that you have GD with JPEG support. Recompile PHP with GD enabled and with JPEG support!! System's GD lib and PHP's GD lib are IMHO 2 different libs.