coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: thetrung on January 10, 2004, 05:15:50 AM

Title: Please help me
Post by: thetrung on January 10, 2004, 05:15:50 AM
when i upload the picture (Linnux server) follow the waring:

Warning: imagecreatetruecolor(): requires GD 2.0 or later in /home/webtretho/include/picmgmt.inc.php on line 183

Warning: imagecopyresampled(): requires GD 2.0 or later in /home/webtretho/include/picmgmt.inc.php on line 184

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/webtretho/include/picmgmt.inc.php on line 185

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/webtretho/include/picmgmt.inc.php on line 187

Warning: chmod failed: No such file or directory in /home/webtretho/include/picmgmt.inc.php on line 191

Warning: getimagesize: Unable to open 'albums/userpics/10001/thumb_70.jpg' for reading. in /home/webtretho/include/picmgmt.inc.php on line 193
Title: Please help me
Post by: sql on January 10, 2004, 05:35:00 AM
did u follow instruction?? .. the err is chmod .. so go chmod the include folder
Title: Please help me
Post by: Joachim Müller on January 10, 2004, 11:49:39 AM
the error is not CHMOD-related, but relates to your image library (the first PHP error is nearly always the most important one, the others are only results of the initial error.
Make sure you have set the GD settings in coppermine config to the GD version you have installed on your server (refer to the faq (http://coppermine.sourceforge.net/faq.php) for details).

GauGau

P.S. great subject for a posting, makes me very inclined to help... :?