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 の画像を置くようになっています。


Comments

5 responses to “FAQ for Contact Form 7 1.8”

  1. This solved the problem.

    Thank you very much…

  2. 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!

  3. Steven, what’s the “fatal error”? I’ve responded all of your questions.

  4. Gluefreak Avatar
    Gluefreak

    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.

  5. 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 comment