[SOLVED] GD

cokeman

Joined: 2003-05-15
Posts: 11
Posted: Tue, 2005-04-05 05:51

How to fix this...??

Install of GD2 work fine, but when trying to activating them I get this...

Error Detail -
Error (ERROR_COLLISION) : CRC mismatch: 340908721 != 3155881288, or Mime type mismatch: !=
in C:\WWW\cokeman.dk\gallery\modules\core\classes\helpers\GalleryToolkitHelper_medium.class at line 114 (GdModule::error)
in C:\WWW\cokeman.dk\gallery\modules\core\classes\GalleryCoreApi.class at line 1714 (GdModule::registerOperation)
in C:\WWW\cokeman.dk\gallery\modules\gd\module.inc at line 107 (GdModule::registerToolkitOperation)
in C:\WWW\cokeman.dk\gallery\modules\core\AdminModules.inc at line 108 (GdModule::activate)
in C:\WWW\cokeman.dk\gallery\main.php at line 173 (AdminModulesController::handleRequest)
in C:\WWW\cokeman.dk\gallery\main.php at line 79
in C:\WWW\cokeman.dk\gallery\main.php at line 70
System Information
Gallery version 2.0-beta-1+
PHP version 5.0.3 cgi-fcgi
Webserver Microsoft-IIS/6.0
Database mysqlt 4.1.10a-nt
Toolkits ImageMagick
Operating system Windows NT PAVEWAY 5.2 build 3790
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional): www.cokeman.dk/gallery
Gallery version: CVS
Webserver (with version): IIS 6
Datatabase (with version): Mysql 4.1
PHP version (eg 4.2.1): 5.0.3
phpinfo URL (optional):
Graphics Toolkit(s): IM
Operating system: W2k3
Web browser/version: IE
G1 version (for migration bugs):

- Cokeman

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-04-05 08:13

what's in your file C:\WWW\cokeman.dk\gallery\modules\core\classes\helpers\GalleryToolkitHelper_medium.class at line 114?

 
cokeman

Joined: 2003-05-15
Posts: 11
Posted: Tue, 2005-04-05 08:23

Line 114:

$outputMimeType));

Please note, that I have not altered any code.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-04-05 16:00

deactivate all toolkits (gd, netpbm, imagemagick, square thumbnails) and then try to reactivate the ones you want.

 
cokeman

Joined: 2003-05-15
Posts: 11
Posted: Tue, 2005-04-05 18:14

Great.... It works.....

BTW: Which to use GD2, Imagemagik og Netpbm, which is faster/better? (on w2k3 platform)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-04-05 18:28

netpbm > imagemagick > GD
or change imagemagick with netpbm, but GD should only be a fallback solution.