>> FarCry has a built in error handler for 404/500 errors that removes any 
debugging information and supplies a simple message to users. 
This does not seem to work for me ... 

neither does dropping in a simple error errorhandler into 
*project-root\}/www/errors/*.  as a 500.cfm file.

I dummied up an error in the search routine... see it here:

*http://www.teratech.com/search?criteria=services*





On Wednesday, March 19, 2014 8:39:05 PM UTC-5, Justin Carter wrote:
>
> Usually if you have an errors/500.cfm in your webroot (or in the project 
> folder) then it will be used:
> https://farcry.jira.com/wiki/display/FCDEV60/Error+Pages
>
> If you are logged in to the webtop or running the app from 
> localhost/127.0.01 you will see the error message + dump, so you'd need to 
> log out or try from a remote IP to see the nice error page.
>
>
> cheers,
> Justin
>
> --
> Justin Carter
> http://www.madfellas.com/blog
> http://twitter.com/justincarter
>  
>
> On Thu, Mar 20, 2014 at 12:23 PM, Scott Conklin 
> <scon...@dynaprice.net<javascript:>
> > wrote:
>
> From what i understand the old farcry site had an error handler that 
> trapped errors and showed a friendly message to the user instead of the cf 
> error dumps.
> Is there an easy way to add this in  7.0 or can i just add  a cferror tag 
> call to the farcryconstructor.cfm? 
>
>
>
> On Monday, March 17, 2014 5:53:47 PM UTC-5, Justin Carter wrote:
>
> Yep, getLink() will generate a friendly URL from the objectid you pass in.
>
> Score is a value that Verity returns in the query object, it's up to you 
> if you want to display it :) (I usually wouldn't, but it's up to you).
>
>
> cheers,
> Justin
>
> --
> Justin Carter
> http://www.madfellas.com/blog
> http://twitter.com/justincarter
>  
>
> On Tue, Mar 18, 2014 at 9:20 AM, Scott Conklin <scon...@dynaprice.net>wrote:
>
>  Justin
>
> i assume this will handle making the links work and show as Freindly URLs? 
>
> what about the score? what is that about? 
>
> 0.0000 TeraTech - 
> #request.pagetitle#<http://www.teratech.com/index.cfm?objectid=C:%5Cinetpub%5Cwwwroot%5CClients%5CFarCry4Sites%5Cprojects%5Cteratech_rev2%5Cwww%5C_header_static.cfm>
>  
> Contact Us Today! | + 1 (301) 424 3903 News and Events
>
>
> On Monday, March 17, 2014 5:12:47 PM UTC-5, Justin Carter wrote:
>
> The application.fapi.getLink() function should do the trick:
>
> http://docs.farcrycore.org/trunk/component-lib-fapi.html#getLink
>
>
> cheers,
> Justin
>
> --
> Justin Carter
> http://www.madfellas.com/blog
> http://twitter.com/justincarter
>  
>
> On Tue, Mar 18, 2014 at 8:28 AM, Scott Conklin <scon...@dynaprice.net>wrote:
>
> Can anyone point me to an example verity search results page to use a 
>  guide to re-write what  I am told is an  old customized version.
>
> this snippet of code below is producing garbage as seen here:  (
> http://www.teratech.com/search?criteria=services)
>
> This must all be deprecated by now? the links areusing objectID syntax 
> etc...
>
>
> <!--- output results --->
> <cfoutput query="qResults" maxrows="#maxrows#" startrow="#url.startrow#">
>  <div style="margin:0px 30px 10px 0px; font-family: Georgia; font-color: 
> ##666666; font-size: 11px;">
> #score# 
>  <!--- check for extFile or farcry object ---> 
> <cfif left(key,2) eq "\\">
> <a href="#application.url.webroot#/download.cfm?extFile=#key#">
> #qResults.title#</a>
>  <cfelse>
> <!--- farcry object --->
> <a href="#application.url.conjurer#?objectid=#key#">#qResults.title#</a>
>  </cfif>
> <br />
> #summary#
> </div>
>  </cfoutput>
>
>
> On Monday, March 17, 2014 9:05:28 AM UTC-5, Scott Conklin wrote:
>
>  Sean  (and all)
> Thanks. That did it, This completes the upgrade... everything good now.. 
>
>
> On Monday, March 17, 2014 8:10:55 AM UTC-5, Sean Coyne wrote:
>
> Change this
>
> <cfset qResults = oVerity.search(lCollections=lCollections,searchString=<w
>
>  </
>
> ...
>
>  -- 
> You received this message cos you are subscribed to "farcry-dev" Google 
> group.
> To post, email: fa
>
> ...

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@googlegroups.com
To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to farcry-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to