#16 2003-07-24 08:26:28

stephanek
Member
2003-07-23
8

Re: Thumbnail Error

Well, yeah! When I installed gallery first time - thumbnails worked.
The I had a brake (holidays) and when I came back, I started to create thumbnails for the new photos and then I found this...
I thought it was some script error or something and decided to remove the gallery and download the new package from your site again. I installed the new gallery and this thumbnails thing is still annoying me!

Hi Noodly,

Well, I had the same trouble with MY brand new system... and had it fixed with Zorglub's help. Here's the deal:

I had installed my system with PHP 4.3.2... and in this release GD support is no more supported by default !
Since you say that it was working and then not, it could be possible that your admin had upgraded PHP without noticed this change and so you don't have GD anymore.
So, what you need to run GD with PHP 4.3.2 is here:

Check for thoses packages:

freetype-2.1.3-6.i386.rpm
gd-1.8.4-11.i386.rpm
gd-devel-1.8.4-11.i386.rpm
libjpeg-6b-26.i386.rpm
libpng-1.2.2-16.i386.rpm

Check that PHP 4.3.2 has been compiled with "--with-gd=/usr" option.

Have fun
Stephane.

Offline

 

#17 2003-12-14 17:34:11

alesh
Member
2003-12-10
1

Re: Thumbnail Error

I had the same problem with phpwebgallery as describe in this post.
The solution was:
- recompile gd (2.0.15) from scratch, with --prefix=/usr
- find any other possible libgd.a (had one in /usr/local/lib) and remove them, re-run ldconfig after this
- recompile php with --with-gd=/usr
- recompile apache

I had a problem when compiling apache, because apache auto. used php-4.3.3/ext/gd/gd.c which didn't work with my compile options. The solution was to rename the ext/gd dir and create a symlink to install dir of gd (ln -s /path/to/gd/installdir gd).

This solved the problem of blank page for creation of thumbnails.

If you have a problem that you get a page (ie not a blank one) add this line to admin.php at the top:
ini_set('display_errors','1');

This will force display of errors (for example, permission problems, etc.).

Hope this helps anyone!

Alesh

Offline

 

#18 2003-12-14 17:51:15

Guest
Guest

Re: Thumbnail Error

I had the same thing... but that was because i had clicked on de wrong GD version i had clicked on 2.x but i don´t have that version I have 1.x and when I had clecked on that it goes perfect!  :D (sorry for my english)

 

Board footer

Powered by FluxBB