Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
webservant
Worker
Worker



Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA

PostPosted: Wed Feb 13, 2008 1:13 pm Reply with quote

I upgraded my development site last night. Everything went smootly, and I'm ironing out a few stray issues. So far, these are all mine - nothing with the upgrade at all.

At this point, I'm getting intermittent issues with Captcha. Sometimes the image shows up, sometimes not. Based on other forum threads, I started testing the images directly (http://www.gracioustest.org/images/captcha.php?size=normal - Don't try it, it's behind my firewall).

What I found is that sometimes I get the image, and other times, I get this error:
Code:


Warning: imageftbbox() [function.imageftbbox]: Could not read font in /home/gracious/public_html/includes/class.php-captcha.php on line 298

Warning: imagefttext() [function.imagefttext]: Could not read font in /home/gracious/public_html/includes/class.php-captcha.php on line 306

Warning: Cannot modify header information - headers already sent by (output started at /home/gracious/public_html/includes/class.php-captcha.php:298) in /home/gracious/public_html/includes/class.php-captcha.php on line 322
‰PNG  ��� IHDR���Œ���<���ƒÔ¢y��þPLTEÿÿÿ¢zq§ùœi÷ݭɍǡ††ö¶«‡¡µÜÁ“ŸØ‘ÚÔsâguÁÉê¨ÅÖª‘Ã÷¶ž“¤§³Ô©–×Á©Ò²ñíæÆ„³˜‚·h¥®¥ï(tm)}³ç̝ê·ÁƒÎø©¶ÆÝî¨éÜŠªyn¬ž(tm)d´fÕàäi¹o¸‚±²èµåiÅ«¿’賂“¼§ç¶Í¦ã»ÁŒ¦³š¡¡ãj÷p–›ÜÖåã£yÊëîÊàÊoÅñ¿²ÆØ ÷ˆ}É|tu|¤…êhuÑeè~ٺŐ¼É¼†j(tm)Ò¶£lqm¶ol”ŠÂm˜”C-S¡–©¸°¾ÐÊÔçäéZGhra~Y>\Ê“‹qx‰{“Å„ÉQ7^©w¥šl(tm)EV�ÐÔ¿¢ªŠ•_‡bb\kػĹ¿Ÿs€?˜e{os8jlIsœ5^d0‚’çéßZw5Ë»[b^^c›˜wg7_‘‚dfD³‚£ƒw‰V;G*²ojV9LQ_kweáâä.4Djny¥¨¯T_V‚s13PÃÅÉ+*5F>@—W—|f{ˆ‹”RPvaRgÚdˆ-*8Ú¢|J–z{†…U=@ÔÎÏÊž•”…‡éæç|]\jUWmo‘P`º\uªžŸ}IU”¬•‘¹œ\LL‹¬šƒœd\Y¿¶·ZKQiLK}[Wt‘¦nS¢ �� ƒIDAThµØ‰W×à‹ ÈH²=Æ "-„°YTIjËhdI@BZÒvǵ»¦ûr¦M›.Il§¥ÍÒ5ãššÖM—tû/{ï}ïͦÑBO{ÏA;£ïüî}o�×%oñ+ːTo¦‡8�ÀúúP;]¥¤ly9(tm)Ò~&ÕÙ.ÉÿƒÂYËÕdœîÓÎ[—Âk}ýR÷a†«……AÉ©Âò²‹u?ð¬·0”gÃúR¥R)Œsf�GX�âÈ鲨&͝¦=¥P‰âôõ¤„°MËéž–a%} .§'ÅÂp¯¼‰2”Ł3=AÕ”ƒI#' Jæ†r q8�¡žªc¤˜diáLXNåp8¡Ñ£”ÂŒBÒåÈîôÁü7.C®t¯g¼:Î…š¸°è:îÇËà”–žÙì‡È;Åq=U…OÅÇÇÓãã:Ñ’ã$¡9wîÜܹî"‡÷ùÐÔ„pÄAª|û‘EÉùéóe,à {åÙ–«ÞŠ§RiD{Æ°Uîv7ë¥ ¶Â³|(tm){´½½­0£zZJ4Ie5Ôâ†ÒÍ¡xÔ¼lsÑ䪑E æ’t0î(tm)a-àë•q{ä9‰â@ RJi¨II²œbñžÂâ ç²A¹xÎéØžø(tm)´LijªpuÚ]-/^<GP.Ë^IJôQÜgÒ´âs¹œ©TjÁ\²ÏÁ(tm)ËE®~Ÿ¬T”&O“{륪Ãiâ ètvŒózæ)…Ôjm'“SSCYüO½ L¦›#Aȹm¾ P«ÕŒ…Òl.ˆ3uœ0IÅ¡Á„êK9äˆÆõ'=ú|°úv¦Û£@ù;æ-~¾n5ª&þ† óóx~LÑ,Õë¹\+—sF©—é±m3%ÜÒËC O›&Shîs£Íf©æ¬S©,-á×ZÈɱè;ß}õ{ß#ýÞ¶Ÿ)++<,\Q¨AÎ1z^³¨~𪓒4mžØ¶ýee%HÙÝÝÛÎ?>Ÿ3Í»P½m~~=/:¦„¹Ù„ÉÓÀRaN°êu¼iµèµZ֏~Œœ×›@››S'ömû©+éêÇs®ç÷¼ñÜ5Í—/|Áü">Ì—äÊuÕLÓJgÖH÷?Úmê”V IoXÖðæ}Ëz-×ΩCÒ2ú“ýÁ¶ý竁H4.!Ï#gÏÛ®[¦yG†¹@›zÀË|žÂá³–h®À׬©ONb¯àe=¬ÕÞ²¬ŸÔÚµš˜¤Mš•û<µÿò׫W»2¤:iÚÇ;ñšðT_¹cš_âmUÇU~«A Í´Ñ4éuÞÑSÁ+®È$–˜hýÔ²Ž�^çÛ¶hâfŽÆöÄþÛÊʇö @(ö1q÷‚¦âÊdª¥Ò—ï(tm)·‰BW Ç ¦ ùJÅ0â<9ŠÃ¥&9©Áqyxôв~„á+èCLŽŸØÃ$X‡Î.Þíu:‡ô4‘�­Tªj˜f~…báÅ-°Á‹E†3Ää` !ÔÔáMKÔý#…Q‹ù„1¸¦þŽÁa9ÜÛGKg_¼€q͐ùªù5]Sü¼ü•8*•f“[ƒéо7’rFº~„(tm)üܲð³¶w_AÌñS›ê8̲×Qµë¼VEÕKæ×å ¹Õ‡Se³’4;ëþC(Ñp?GŽóµÇ0¢Í¦¤ÁØCÊbÕ“¦¤KÂ<øÆÞ$î‘®G¸i“T#!·B€kÝeךü€ ¾wê×®µùA«¥^꓇kÁ5£Gøq,Æ¢QpI 49ªL¦Xô<5hYíìаàÞ7¯E£¸ÿÔë´¸1œ‰&³6„"ÕHÄ(tm)ܘ¸eð¦”mdaÖ͉ÚSÄ^¹W‡\WM¹ó“fÄy§\ocÇXÓŒÁD"Ô#EQü(tm)(tm)KæW¤ ©PòÎÕX6 C\Yˆ« WízYŒÐ3â²´ļè>ŠšÝ¾]lˆŒÉ×yºàÕl€OsCapŽ±aIõÔˆ°è7oÞôPÜu4ÃZLªk¸¶dJŽ)ï‘Ysà §Í« =kPiµ*Яª2–›\~‹ä8+[‰h˜‰RÉd‚šn«ÚrË(tm)àj/ÎG ùÓq‹Aj­olRÁûÇΘÓ#‰[Îç½'§*bá¹,A Ãz@««Îe\6[@’ëñZä(tm)Ë©\öòVˆÅûËN“<)q:A\°œYòYœ‹šúÚ„|Áálù,¼¹ÄÂ-~R Wr­®®Ê1*ôƶå=OŽ,âø(hé¢tYü$?…ku5Á]sG˜Úå]qêr9bËÛva PzY$ÿ¿0¼-¸‹ß)AR˜5˜p²ÁT|{ íuÊ�K€äóÈ!"ȶ9¥5<Ý"Ž&»Æ¤éúôÖÖ´*¡ÑÃ,C`‚ÿvò’¦½µF7èÙòìÞÂúMCXœG¾ï¤éifzê|ȵ ÄêöN«Ë2ݧB~Ÿ3ò]öœ§bÞ¯T÷®_¿îZaW¿áüùD"ä뜌&zÈõ\ð‘ÿM±' ùŸ2n -ìÑ����IEND®B`‚


I figure that it's something with either my PHP or Apache, but don't know where to look next. Does anyone have any constructive suggestions? Thanks.

_________________
Awaiting His Shout
Webservant - GraciousCall.org
Romans 8:28-39 
View user's profile Send private message Visit poster's website AIM Address
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Wed Feb 13, 2008 1:30 pm Reply with quote

Make sure you have all the font files from the distribution on your server. Also make sure they aren't 0 bytes in size. This happened to me. I had 0 sized font files and as a result letters wouldn't show up.

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
webservant







PostPosted: Wed Feb 13, 2008 1:45 pm Reply with quote

Font files? In RN? Or are you talking about something in the system?
 
webservant







PostPosted: Wed Feb 13, 2008 1:46 pm Reply with quote

Ahhh. As in includes/fonts!
 
webservant







PostPosted: Wed Feb 13, 2008 1:51 pm Reply with quote

-rw-r--r-- 1 gracious gracious 367111 2008-02-12 22:40 arial.ttf
-rw-r--r-- 1 gracious gracious 58716 2008-02-12 22:40 VeraBd.ttf
-rw-r--r-- 1 gracious gracious 63208 2008-02-12 22:40 VeraBI.ttf
-rw-r--r-- 1 gracious gracious 63684 2008-02-12 22:40 VeraIt.ttf
-rw-r--r-- 1 gracious gracious 49052 2008-02-12 22:40 VeraMoBd.ttf
-rw-r--r-- 1 gracious gracious 55032 2008-02-12 22:40 VeraMoBI.ttf
-rw-r--r-- 1 gracious gracious 54508 2008-02-12 22:40 VeraMoIt.ttf
-rw-r--r-- 1 gracious gracious 49224 2008-02-12 22:40 VeraMono.ttf
-rw-r--r-- 1 gracious gracious 58736 2008-02-12 22:40 VeraSeBd.ttf
-rw-r--r-- 1 gracious gracious 60280 2008-02-12 22:40 VeraSe.ttf
-rw-r--r-- 1 gracious gracious 65932 2008-02-12 22:40 Vera.ttf
-rw-r--r-- 1 gracious gracious 171792 2008-02-12 22:40 verdana.ttf
 
webservant







PostPosted: Wed Feb 13, 2008 2:02 pm Reply with quote

Thanks Gremmie! That was it. :clap:

I put a this line in the class.php-captcha.php file just above 298:
Code:
echo "font is $sCurrentFont <br>";


When I hit the URL several times, the arial font was alway right before the warnings. So, I uploaded the file again and the new copy was 1 byte larger, and the issue has disappeared. Bang Head
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©