I am trying to implement Captcha for my contact form and am having some troubles with the vericode image intermittently not displaying. It seems to be an issue with the vericode.php file return an error sometimes.
Basically, if the user has to hit refresh until it eventually displays. Here is one of the source calls that eForm is using for the src of the image:
http://www.rmsnav.com/manager/includes/veriword.php?rand=39422884
If I browse directly to that URL in Firefox, when the image does not display it just displays the URL again.
If I browse directly to that URL in IE7 and hit refresh multiple times, I eventually get these errors:
Warning: imagettfbbox() [function.imagettfbbox]: Could not read font in /home/rmsnav3/public_html/manager/includes/veriword.php on line 125
Warning: Division by zero in /home/rmsnav3/public_html/manager/includes/veriword.php on line 130
Warning: imagettfbbox() [function.imagettfbbox]: Could not read font in /home/rmsnav3/public_html/manager/includes/veriword.php on line 133
Warning: imagettftext() [function.imagettftext]: Could not read font in /home/rmsnav3/public_html/manager/includes/veriword.php on line 156
ÿØÿàJFIFÿþ>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality ÿÛC $.' ",#(7),01444'9=82<.342ÿÛC 2!!22222222222222222222222222222222222222222222222222ÿÀ<”"ÿÄ ÿĵ}!1AQa"q2?‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2?B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?÷#s¶õ¢2F>L…ÝÎ}ê´W3gÉ9™drØ]¤™ zZÒò“vâ£>¸¤6ñ´mQ±ºŒR[ŠÅ3u'Úæ‰H; ã>ç?Ò£kÙ£ï„üŒÎ¡¸ãhìçŒãõ¦ùqŸá\}*¹—aY•ÍØFœo?ŠTo?ÞM$HÆÑر ùl¤.¹¦jЉ9;WÐñN ÀÔ]vLÎmAãóÆØÜ!H2q†ô#¾3øSF§ hÁç8ÎÙs»'/ô«´®Ñ´õ¤òÓ#ä^:qÒ¥±™-ªÌös0kxä XI?$g‘׊±ÓE<Ëq…¡-?ã,Ù€¼b¯yQãZcýÚ<¨òÅÈèqÒ€3cÔ%¸Šà”U!â}ØÜ}ÇQWˆ™f ¼yB2½ëLvÑÅ"`…”üĹ$ýr? ²Ú¨Æ9æ˜qÝζÉ!š Y02àã À©žõ¢{•%£ˆ8?\g<çùUÏ&´ï¶3ݘÌÉ|a†FääqW¼¨ˆÆÄÇÐQåÄrv!Ï| š=Š‹xÿg?—dždc ž¯éÅX»¸6ö"¨fÀ'ŸÚ&hß‘³• ÄÈqBÚíbZidÝrþTt„Q]$ðG+N",¹Û¹McÊŒ?õkù )hDÔ´QTIÊ»ÛʱcyR'8¬I¡¼µÒ1º:£am[nÆ= èOÐô®?ÝcFf8 2xª£QµXRYdòU³?*”<{@>T•íJÁ)?È\Œãó¤´Žæ(vÜÏç>s»h~TæXÖ=ìêÜN$rÇ*î?ÕצTäS¾–$ÚÝJ÷eþÐ?Ú¾n2sÆÒ޵Hb“Í·&;¨ãU;ˆœ9ÈÝ–çõüjÜš?¤~fùÐþøô¥ûu¨1ƒ: ÊzÕóK°®n¡»?£´œM( ?o2îõëP½½ÊÝFûîDÁÛÁÈo›“î5©4ñ@›æp‰œn=*1}jY@?2Ã#ž¢’m-Vë<šh&ÞâRÁÙI-Ô°Éà{qô©Ù/›Q"H‘²ã†ÕãŒ?Ýsè?VÍü –ó”–GïÉ©¾Ó—É2(“ÛžqMÉÝ»‘5µã@Bíl²™C1ã¨;‡íŸÂ®ºJnTà’`eRxÃqœã§oÈÔ¿Ú›7ý¢=¹Ûœ÷§½Äk By*_ŽÀúé9K°RÚeµ‡tgr±%"?§úŠzG"Hçɘ«oʇuÇÞÞõÔÊ_ÁlòG¹¢ÜÊ’O·§JMÊ:û}2ad±ÉpRMª¹@v {iH÷báå,øÁùOë×Ô¶ÚƒHò,Ѥ!U[w˜wg½¿ýuy²Pã®(ç•îtÚJÜ J$e9Rñ)cÁ;Z~ôØ_(ÆÀqô#Ó½"=Ôpbf?¦bm?ýt§íBrwÇäí8çžfºÓm§’æ`î™;Hϵ^͈ÿÙ
Sometimes it takes the user 3-5 refreshes before the image displays. Anyone have any ideas?