coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: blowfishdl on August 22, 2007, 06:38:25 PM

Title: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 06:38:25 PM
I have GD 2.0 or higher installed, yet Coppermine won't utilize it! I checked my PHP server and it says 2.0 or higher, yet with GD 2.X enabled on coppermine it doesnt work. Here is the results. Please help me ASAP!

PHP running on your server does not support GD version 2.x, please switch to GD version 1.x on the admin page

File: ..picmgmt.inc.php - Line: 257

USER:
------------------
Array
(
    [ID] => be73521859e4a76931c7c40d809abc9e
    [am] => 1
    [theme] => theme
    [lang] => english
    [liv] => Array
        (
           
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: Nibbler on August 22, 2007, 06:51:48 PM
Post the GD section of your phpinfo file.
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 06:58:04 PM
GD
GD Support    enabled
GD Version    2.0 or higher
GIF Read Support    enabled
GIF Create Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 07:01:30 PM
It seems to work in Admin mode but not in user mode? Why would that be?
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 07:02:32 PM
Quote from: blowfishdl on August 22, 2007, 07:01:30 PM
It seems to work in Admin mode but not in user mode? Why would that be?

Errrr.. Scratch that, it only worked ONCE in admin mode and now it wont work at all again.
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: Joachim Müller on August 22, 2007, 07:03:51 PM
What do you mean? Do you mean the "admin mode" / "user mode" toggle in the menu? Don't use it if you don't know what it is meant to be used for. Never leave admin mode.
If you have issues uploading as non-admin user, do exactly as suggsted in the upload troubleshooting section of the docs (posting a link to your gallery and a non-admin test user account with upload privileges and the suggested settings in place).
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 07:07:12 PM
No I didn't use the admin/user link..

I have a regular user account I am switching between to test it out.
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 07:09:39 PM
How can I enable jpeg support??

Also.. it seems once i get the error if I refresh once or twice it uploads anyway and seems to have worked?
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: Nibbler on August 22, 2007, 07:10:39 PM
The message means the function imagecreatetruecolor (http://php.net/imagecreatetruecolor) is not available on your server.
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 07:11:41 PM
What can I do instead? I cannot install ImageMagick because someone else is hosting it, and GD 1 looks like crap!
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: Nibbler on August 22, 2007, 07:12:58 PM
You need to get your host to support GD2 fully or IM.
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 07:14:51 PM
What if they won't do an upgrade? am I stuck with crappy uploads?

I am expecting high frequency of traffic so they probably wont be happy with 1.0
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: Nibbler on August 22, 2007, 07:16:22 PM
If you plan to run a popular site you should use hosting you have control over yourself.
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 07:20:43 PM
so if I contact my server what exactly don't they have enabled for the GD 2.0 support that will allow coppermine to function correctly?
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: Nibbler on August 22, 2007, 07:32:01 PM
The imagecreatetruecolor function.
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: blowfishdl on August 22, 2007, 07:49:15 PM
Is there anyway to install image magick without telnet? I'm using MAC OS X without any telnetting features, just a simple ftp.
Title: Re: I have GD 2.0 or higher installed, yet Coppermine won't utilize it!
Post by: Joachim Müller on August 23, 2007, 07:04:58 AM
You need shell access and you need admin privileges to install ImagMagick. So the short answer is "no" - ask your webhost if they can install it for you. See http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#whatIsImageMagick
Better still: ask them to provide a real GD install: it comes with PHP by default. Just ask your webhost that they should visit this thread - they should know what to do then if they are worth the money you spend.