Problems using CD 2.0 Problems using CD 2.0
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Problems using CD 2.0

Started by pilot, December 11, 2003, 04:29:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pilot

I keep getting these errors if I try using my picture album with CD 2.0, but not when using CD 1.0. The directory is all 777, so that can be the problem, at least I think.

Any one got a clue?

What are the main differences between CD1 and CD2 by the way?



The picture 'albums/userpics/10001/Sample.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /usr/local/psa/home/vhosts/mydomain.com/httpdocs/pix/db_input.php - Line: 289



Warning: imagecreatetruecolor(): requires GD 2.0 or later in /usr/local/psa/home/vhosts/mydomain.com/httpdocs/pix/include/picmgmt.inc.php on line 183

Warning: imagecopyresampled(): requires GD 2.0 or later in /usr/local/psa/home/vhosts/mydomain.com/httpdocs/pix/include/picmgmt.inc.php on line 184

Warning: imagejpeg(): supplied argument is not a valid Image resource in /usr/local/psa/home/vhosts/mydomain.com/httpdocs/pix/include/picmgmt.inc.php on line 185

Warning: imagedestroy(): supplied argument is not a valid Image resource in /usr/local/psa/home/vhosts/mydomain.com/httpdocs/pix/include/picmgmt.inc.php on line 187

Warning: chmod failed: No such file or directory in /usr/local/psa/home/vhosts/mydomain.com/httpdocs/pix/include/picmgmt.inc.php on line 191

Warning: getimagesize: Unable to open 'albums/userpics/10001/thumb_Sample.jpg' for reading. in /usr/local/psa/home/vhosts/mydomain.com/httpdocs/pix/include/picmgmt.inc.php on line 193


Thanks in advance!

Joachim Müller

(it's GD, not CD!)
you can't simply change the setting GD1/GD2 in coppermine config and think you're done - you have to choose the image library that actually exists on your server! Take a look into the faq on how to find out your GD version.
The main difference is the usage of true color images: GD2 can, GD1 can't.
There's a set of different PHP commands dealing with images, depending on which sort of image lib you're using there are diffent commands available. Coppermine has been built to work with both - you'll get better results if you use GD2 - see http://coppermine.sourceforge.net/faq.php?q=GD1vsGD2#GD1vsGD2
Unless you run your own server, your webhost has to install GD for you, so it's not a matter of taste, but what actually is there.

GauGau