Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Fatal error?  (Read 3772 times)

0 Members and 1 Guest are viewing this topic.

ray

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Fatal error?
« 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
Logged

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
Fatal error?
« Reply #1 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?
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal error?
« Reply #2 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
Logged

ray

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Fatal error?
« Reply #3 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal error?
« Reply #4 on: October 29, 2003, 09:15:35 am »

Problem solved then?

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.