coppermine says GD is missing,but phpinfo disagrees coppermine says GD is missing,but phpinfo disagrees
 

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

coppermine says GD is missing,but phpinfo disagrees

Started by reallove, June 02, 2009, 07:09:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

reallove

Hello,
I am using Coppermine version: 1.4.24(stable)
When I try to upload a picture,I got the well-known error :
PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed 
file /whatever/include/picmgmt.inc.php - Line: 254 

But from phpinfo seems GD is there :
==========================
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 !
Dan/reallove

Joachim Müller

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.

candidosa2


Joachim Müller

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.