With my newly installed Virtualmin servers, all the web sites using CAPTCHAs are giving the following error:
Fatal error: Call to undefined function imagetypes() in /home/YOUR-DOMAIN-NAME/public_html/wp-content/plugins/contact-form-7/modules/captcha.php on line 350
Obviously the server configuration and the line number, may not be the same on other systems. However I have gotten this before too!
It deals specifically with the GD library of image functions not being installed. In my case, a simple "apt-get update" followed by "apt-get install php5-gd" fixes the issue.
Is there any reason why this isn't installed with the Virtualmin installation, or at least the script installations? Can it be added.
Links to information about my specific use of the PHP5-GD package are below: http://php.net/manual/en/book.image.php http://wordpress.org/support/topic/249766 http://wordpress.org/support/topic/320319 http://www.sapphiresolutionsltd.com/blog/2010/07/02/fatal-error-call-to-...
I've never actually had to separately install the FreeType Libraries, but I suppose they could also be an issue for other people.
Comments
Submitted by JamieCameron on Thu, 07/01/2010 - 16:35 Comment #1
Virtualmin scripts that use GD will install this module - however, if you are writing your own scripts, you will need to install it manually.
GD isn't on the list of modules for Wordpress, as the core doesn't need it. But since it looks like some plugins do, I will add this to the list of modules that get automatically installed.
Submitted by bamajr on Fri, 07/02/2010 - 17:42 Comment #2
I didn't find this difficult to add, when I needed to. A quick search online and I was up and going again. Just thought that it was a pretty common package being overlooked when WordPress was getting installed.
Thanks Jamie! :-)
Submitted by Issues on Fri, 07/16/2010 - 19:19 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.