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:
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /home/sites/site11/web/gallery/include/picmgmt.inc.php on line 183
OK, this may sound like a dumb question; but, do you have GD2 installed on your webserver?
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
QuoteAdvanced 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
Problem solved then?
GauGau