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: coppermine says GD is missing,but phpinfo disagrees  (Read 2905 times)

0 Members and 1 Guest are viewing this topic.

reallove

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • Personal photo gallery
coppermine says GD is missing,but phpinfo disagrees
« on: June 02, 2009, 07:09:24 pm »

Hello,
I am using Coppermine version: 1.4.24(stable)
When I try to upload a picture,I got the well-known error :
Code: [Select]
PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed 
Code: [Select]
file /whatever/include/picmgmt.inc.php - Line: 254 
But from phpinfo seems GD is there :
Code: [Select]
==========================
VERSION INFO :
------------------
PHP version: 5.2.9 - OK
------------------
mySQL version: 5.1.34-cc
------------------
Coppermine version: 1.4.24(stable)
==========================
[b]Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support:
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support: [/b]

the image is even in the albums/edit folder , but the upload process fails at the next step .
Where can I look for a solution ? I don't have root access on that machine,but I can ask the admin to help (he said now that everything is ok from his side).

Thank you !
Logged
Dan/reallove

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: coppermine says GD is missing,but phpinfo disagrees
« Reply #1 on: June 03, 2009, 07:50:44 am »

As you can see from the output of your GD lib module, your webhost forgot to compile jpeg support into the module (missing "1" at the end of the line "JPG Support:"). That's why coppermine says that there is no GD support - what's the use of that library if the most important image file format doesn't work. Ask your webhost (or whoever administers your server) to re-compile GD-support properly into PHP. In case you're self-hosted: you just discovered one of the reasons why we do not recommend self-hosting.
Logged

candidosa2

  • Coppermine newbie
  • Country: mz
  • Offline Offline
  • Gender: Male
  • Posts: 1
  • FreeLancer CMS
    • Hosting
Re: coppermine says GD is missing,but phpinfo disagrees
« Reply #2 on: June 28, 2009, 07:32:03 am »

how can reconfigure my server...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: coppermine says GD is missing,but phpinfo disagrees
« Reply #3 on: June 29, 2009, 10:55:51 am »

We don't support webserver setup. There are many resources on the internet that deal with that topic. The coppermine support board is not among the pages that will help you setting up your server properly. Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.