GD 2.x problem !? GD 2.x problem !?
 

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

GD 2.x problem !?

Started by legal, March 18, 2004, 11:24:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

legal

i can upload pictures cause coppermine tels me there is a problem with the gd 2.x
i have 2 sites running ( e107 ) the e107 plugin for coppermine works fine on one site but i ha som problems on the oher
so i installed the stand alone version installed it etc. ..
but now it gives the GD2 problem when uploading
i checked all setings GD2 is installed !
it works on //www.FieldFest.be
but not on  //www.akitas.be
stand alone i installed //www.akitas.be/coppermine

any help on it ?

legal

After uploading the file you get this error !

QuotePHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed

File: /home/legal/akitas/coppermine/include/picmgmt.inc.php - Line: 170


any help plz  :?:  :shock:  :roll:

GD 2.x is installed and is enabled in the coppermine setup !!!
what to do  :roll:  :evil:

Casper

Check to see if GD jpeg support is enabled.  If it not, it won't work.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

legal

doesnt work
( do i have to change the GD2 settings or the coppermine settings )
if i have to change the GD settings any id what to change
so i can ask my pall ( who runs the server ) to do it !

Casper

Please give details of your server, php, setup. Are you self hosted?
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

ivu

Hi.

I have the same problem. When I try to upload an image - it says "Critical error: PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed".
I have many sites which use GD - so it's ok. But CPG says I don't have it.

Any ideas?

Here is my server info [copy/paste from phpinfo()]:

PHP Version 4.3.4
System  Linux ivu 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT 2002 i686  
Build Date  Mar 11 2004 13:53:38  
Apache/1.3.27 (Unix) PHP/4.3.4 mod_ssl/2.8.11 OpenSSL/0.9.6b
GD Support  enabled  
GD Version  bundled (2.0.15 compatible)

everything seems to be ok  :?

Joachim Müller

what does you phpinfo say about the gd module (copy'n paste this bit as well). Did you set up coppermine correctly to use the gd version you actually have (in coppermine config)?

GauGau

ivu

phpinfo() - gd
GD Support  enabled  
GD Version  bundled (2.0.15 compatible)  
GIF Read Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XBM Support  enabled  

CPG Config file
Method for resizing images: GD Version 2.x


As you can see there is no line "JPEG Support Enabled" in phpinfo() results but it works with the other sites on this server. However. I tried PNG and I got the same error. I asked our sysadmin to reinstall php and GD, but the error still exists.

Casper

The way coppermine is set up, it will not work if jpeg support isn't enabled, even for other formats such as png.

As jpg is the most common format for web use, it is strange that your server has not enabled jpg support.  I suggest you contact them to enable it.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

legal

this might help
http://users.pandora.be/legal/cpmbonf.JPG

Server
Apache/2.0.45 (Unix)

PHP Version
4.3.1

mySQL
4.0.18-log

how do i get the info you need if this ist the right info ? :s

is it this ?

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 On On
include_path /usr/local/lib:/usr/local/php:/usr/local/lib/php:/usr/local/lib/php/PEAR:. /usr/local/lib:/usr/local/php:/usr/local/lib/php:/usr/local/lib/php/PEAR:.
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
smtp_port 25 25
Size and Time
Directive Local Value Master Value
max_execution_time 30 30
max_input_time -1 -1
upload_max_filesize 2M 2M
post_max_size 8M 8M

Joachim Müller

take a look at the faq, especially the stuff on GD - you seem not to have GD at all...

GauGau

ivu

Ok. Everything works great - cpg ad phpBB.
I asked our sysadm to reinstall php - less than 10 minutes.

It's very easy: you just need to read README.html in CPG's docs before setup the CPG and after that read and do step by step this topic:
http://forum.coppermine-gallery.net/index.php?topic=1841

I just did it again to be sure it's ok and the site works. So, it requires less than 5 minutes to install and setup both CPG and phpBB and you'll get on-line photogallery and discussion board  :)

Thank you for the support. :D

Now smone should help to legal.

CPG is great.  8)

legal

GD is installed !
it works on other sites !

legal

Congratiulations i am now the stupidest man on internet ! :roll:
i started reading all the faq and found the solution !
there was something i forgot
DELETE THE INSTALL.php

hope your not mad
but thx for the fast tips and ideas !!!

again im sorry to have wasted your time on this  :?