Fatal error? Fatal error?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Fatal error?

Started by ray, October 28, 2003, 01:40:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ray

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

jasendorf

OK, this may sound like a dumb question; but, do you have GD2 installed on your webserver?
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Joachim Müller

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

ray

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

Joachim Müller

Problem solved then?

GauGau