Hi there
I am running on the following environment:
Gallery version = 2.3.2 core 1.3.0.2
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.4.16 apache2handler
Webserver = Apache mod_antiloris/0.4
Database = mysqli 5.1.70-log, lock.system=flock
Toolkits = Exif, Getid3, LinkItemToolkit, Thumbnail
MY PROBLEM
I only have access to GD on this host. GD config fails with this message:
GD Version: 2.1.0 (bundled) Required:2.0
Failed
This GD version is too old and is not supported by this module! Please upgrade your PHP installation to include the latest GD version.
It seems mixed up: the GD version installed meets and exceeds the required version. How can I overcome this problem? I cannot generate any thumbnails.
Many thanks
Ian
Posts: 8339
it should still work. you could edit modules/gd/classes/GdToolkitHelper.class line 286 change it to 2.1
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 5
Hi there
Thank you for your assistance. That change allowed GD to pass it's test. When I did a rebuild of thumbnails it spewed out a lot of errors, but did create the thumbnails. So I'm not sure what the future holds for this Gallery2 version on later GD versions, but I'm investigating G3 now, pity to lose nice themes like X-Treme and Ice though, and integration with my CMS - have to investigate embedding now!
Thank you for your help!
Ian
Posts: 8339
roll back to php 5.3
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 5
Well that would be nice, but not when you're on a service provider's host, no control over that. And added to that is the problem that I have several G2 installations that are working well on various 5.3 hosts, but obviously they will be upgrading with time, so I'm very grateful for your help. I did notice that even with the fix you gave me, the square thumbnails plugin is not doing it's job, will need to look into that as I like uniform thumbnails, but not the end of the world. I think G3 is the only way to go, and tackle the embedding challenge.
Many thanks so far, really appreciate it!
Ian
Posts: 8339
I've worked through some G3 embedding http://galleryproject.org/node/106581
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 1642
I am running G2.3.2 on PHP 5.4.17 with GD 2.1.0 and have no issues or need to edit the GD Module's class file since the test on Line 286 that triggered your original error message covers versions of GD greater than or equal to v2.0 and should not need amendments for v2.1.
I'll be very interested to see if you have any luck switching to G3 as I strongly suspect the issue at hand is not a G2 against G3 one but something else funky going on with your host's setup of PHP.
--
dakanji.com
Posts: 5
Hi there
G3 runs ok on this host, whatever the problem was, G2's GD module was reporting that GD 2.1.0 did not meet it's requirements. The fix solved this. Only the square thumbnails problem remaining, but I'll tackle that later.
G3 is lovely though, will look at the embedding soon, and hopefully a great theme like ICE comes along soon.
Kind regards
Ian
Posts: 1642
I see.
Glad you managed to find a way forward.
--
dakanji.com
Posts: 25
I hereby attach the change on the line 286 as a diff patch:
Posts: 5
Thank you so much for that update, I'll definitely try it!
Posts: 1
Dayo,
I am running your same setup and i am receiving the error:
"Failed
This GD version is too old and is not supported by this module! Please upgrade your PHP installation to include the latest GD version."
Does anyone have an idea of how to get GD 2.1.0 to work with Gallery 2.3.2?
Posts: 8339
did you read the comment 2 above yours?
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 1
I just ran into this today. I fixed it myself by simply changing the 0 to a 1 on line 286. I wish I had seen this post because it would have saved me all the time of figuring it out myself.
I don't know squat from jack, but the patch above strikes me as a good patch to apply to the GD module and release an updated version of it to fix the problem for all users (and likely well into the future).
V-