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
(
Post the GD section of your phpinfo file.
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
It seems to work in Admin mode but not in user mode? Why would that be?
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.
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).
No I didn't use the admin/user link..
I have a regular user account I am switching between to test it out.
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?
The message means the function imagecreatetruecolor (http://php.net/imagecreatetruecolor) is not available on your server.
What can I do instead? I cannot install ImageMagick because someone else is hosting it, and GD 1 looks like crap!
You need to get your host to support GD2 fully or IM.
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
If you plan to run a popular site you should use hosting you have control over yourself.
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?
The imagecreatetruecolor function.
Is there anyway to install image magick without telnet? I'm using MAC OS X without any telnetting features, just a simple ftp.
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.