Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

funny "error"

Explorer ,
Sep 10, 2010 Sep 10, 2010

Have a complex page (5000 lines long) that uses Spry tabs.  I made what i thought was a trivial change to the page and now it's broken, i.e. it stops processing the page for some strange reason.  Here's the 1 line that breaks the page.  If I remove it, the page works fine

, if i add it coldfusion doesn't render the remainder of the page.  Another twist is that, if I add a cfdump tag just before it, the page works fine!

<cfif IsDefined('URL.Request_ID')>
     <!---if i add this line the page works fine!--->

     <cfdump var="#qGet_Request.Travel_Request_Status#">

    <!--- the next line is the one that breaks the page--->
    <cfoutput><cfinput type="hidden" name="hidCurrRequestStatus" id="hidCurrRequestStatus" value="#qGet_Request.Travel_Request_Status#"></cfoutput>

</cfif>

I'd rather not have to display the status on the screen.  Any ideas anyone?

338
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 10, 2010 Sep 10, 2010
LATEST

If you view source in the browser, is there any error info that came from CF server but because of the SPRY tags didn't render on the page?  If you look in the CF server log is there any indication of a CF error on that script at that time, which should also include the error details and line number?

-reed

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources