FAQ for Contact Form 7 1.8

I answer two questions that I receive often since Contact Form 7 1.8 was released.

1) If you get errors like this:

Warning: imagettftext() [function.imagettftext]: Could not read font in /…/wp-content/plugins/contact-form-7/captcha/captcha.php on line 61

That’s probably the same as James reported before.

The problem is because of the FTP method used to transfer the new files being ASCII when it should be auto to cover the included font files that are binary. (I think that’s right!)

To solve the problem I downloaded the original ZIP file myself and FTP uploaded the font files to wp-content/plugins/contact-form-7/captcha/gentium/.

This issue is already mentioned in WordPress Trac ticket #7568, so anticipated to be fixed in the future version of WordPress.

2) If the CAPTCHA doesn’t show up after upgrading to 1.8.x, please make sure wp-contents/uploads/wpcf7_captcha folder exists and is writable. Since Contact Form 7 1.8, CAPTCHA images are placed in that folder.


Contact Form 7 1.8 リリース以降に頻繁に寄せられている質問に回答します。

1) 以下のようなエラーが出ている場合は、

Warning: imagettftext() [function.imagettftext]: Could not read font in /…/wp-content/plugins/contact-form-7/captcha/captcha.php on line 61

プラグインの自動アップグレードの際にフォントファイルがテキストモードで転送されてしまっていることが原因ですので(この問題は WordPress 本体の問題ですでに WordPress Trac ticket #7568 にて報告されています)、wp-content/plugins/contact-form-7/captcha/gentium/ 以下にあるフォントファイルを FTP で(バイナリモードで!)再度転送すると直ります。

2) 1.8.x にアップグレード後、CAPTCHA が表示されなくなったという場合は、wp-contents/uploads/wpcf7_captcha が書き込み可能になっているか確認してみてください。Contact Form 7 1.8 からそこに CAPTCHA の画像を置くようになっています。

5 thoughts on “FAQ for Contact Form 7 1.8

  1. Versions higher than 7.1.8 gives fatal error. Had to downgrade again :(

    Author does not respond to help questions about this.

    Pitty… plugin works great though!

  2. I’ve had two users on OS X Tiger report that the contact form causes Safari to freeze. I’ve tested it myself on a number of OSs (including Tiger and Leopard) and browsers without experiencing any crashes. It seems robust to me, but I can’t ignore the user complaints. Not sure what the problem is.

  3. Gluefreak, thanks for letting me know that. I’ve not received other reports like that so far. Please send me info when you get more detail.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s