coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: daan on April 08, 2006, 09:17:42 AM

Title: Can't create thumbnails
Post by: daan on April 08, 2006, 09:17:42 AM
Hello

Can anyone help me ?
http://www.foto.tarman.pl/galeria/index.php
login: daniel
password: daniel2006

it coudn't create thumbnails :(
I have cpg 1.4.4 php 4.4.1
I read documentation and documention about upload problems and nothing :(
in apache log i have only
[Sat Apr  8 09:07:16 2006] [error] [client 217.7.22.246] File does not exist: /home/test/public_h
tml/galeria/albums/edit/preview_426f68fa.jpg

Of course i did http://forum.coppermine-gallery.net/index.php?topic=23342.0

i have installed gd on system
GD Support    enabled
GD Version    2.0 or higher
FreeType Support    enabled
FreeType Linkage    with freetype
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled

please help

best regards
daan

Title: Re: Can't create thumbnails
Post by: Sami on April 08, 2006, 09:53:33 AM
what type of image resize method used?
imageMagic or GD (take a look at  config)
Title: Re: Can't create thumbnails
Post by: daan on April 08, 2006, 10:06:58 AM
method GD

best regards

daan
Title: Re: Can't create thumbnails
Post by: Sami on April 08, 2006, 10:17:03 AM
is your php run in "safe mode"?
check this:
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#safe
Title: Re: Can't create thumbnails
Post by: daan on April 08, 2006, 10:28:43 AM
Hello

thanks for trying help me


i have in php.ini
safe_mode = On
safe_mode_gid = On

in httpd.conf:
    php_admin_value open_basedir /home/daniel/public_html/zuzel:/tmp
    php_admin_value safe_mode 1

but i have also include albums i userpic chmod 0777
and i have "define('SILLY_SAFE_MODE', 1);"  include/config.inc.php" 

maybe its problem with libjpeg ? od gd ?
but phpinfo says its ok !

best regards
daan

Title: Re: Can't create thumbnails
Post by: daan on April 08, 2006, 10:54:59 AM
very strange

i installed php 4.3.11 insted of 4.4.1  and its works


any ideas ???

daan
Title: Re: Can't create thumbnails
Post by: Sami on April 08, 2006, 11:02:21 AM
may be your gd does not compile correctly with 4.4.1
Title: Re: Can't create thumbnails
Post by: daan on April 08, 2006, 11:09:21 AM
maybe

i will look into it

thanks very much for help

best regards
daan
Title: Re: Can't create thumbnails
Post by: Stramm on April 08, 2006, 11:51:02 AM
sticky thread: Coppermine and PHP 4.4.1 - imagejpeg workaround
http://forum.coppermine-gallery.net/index.php?topic=23342.0