forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: ray on October 28, 2003, 01:40:29 pm

Title: Fatal error?
Post by: ray on October 28, 2003, 01:40:29 pm
I just tried to upload a photo whilst in admin mode (as this seems the only way I can upload photos  :? )
and this is what it gave me:

Code: [Select]
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /home/sites/site11/web/gallery/include/picmgmt.inc.php on line 183
Title: Fatal error?
Post by: jasendorf on October 28, 2003, 03:05:22 pm
OK, this may sound like a dumb question; but, do you have GD2 installed on your webserver?
Title: Fatal error?
Post by: Joachim Müller on October 28, 2003, 11:30:16 pm
and (before you post "yes of course" or "how am I to know") read the faq how to find out what version of gd you're running. Also, provide a link (and possibly some server details).
If you're running cpg1.2.0, go to http://yoursite.com/coppermine/phpinfo.php while in admin mode and copy'n'paste the stuff from there into your posting.

Thanks

GauGau
Title: Fatal error?
Post by: ray on October 29, 2003, 01:33:59 am
Quote
Advanced debug info (phpinfo)
PHP version: 4.1.2


mySQL version: 3.23.37

--------------------------------------------------------------------------------

Image Lib(s)
gd
 
module doesn't exist
Server restrictions (safe mode)?
Directive Local Value Master Value
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
safe_mode_exec_dir no value no value
sql.safe_mode Off Off
disable_functions no value no value
file_uploads 1 1
include_path .:/usr/lib/php .:/usr/lib/php
open_basedir no value no value

email
Directive Local Value Master Value
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i  
SMTP localhost localhost
   

Size and Time
Directive Local Value Master Value
max_execution_time 30 30
   
upload_max_filesize 2097152 2097152
post_max_size 8M 8M


I tried changing it to GD1 and now I can upload photos.  :D
Title: Fatal error?
Post by: Joachim Müller on October 29, 2003, 09:15:35 am
Problem solved then?

GauGau