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

Error retrieving markup for element cf_div...........

Explorer ,
Aug 09, 2016 Aug 09, 2016

Copy link to clipboard

Copied

Hi,

I have a page contains that contains three tabs.

The following error message like the one below will appear randomly when the page appears:

"Error retrieving markup for element cf_div...........  :OK

[Enable debugging by adding 'cfdebug' to your URL parameters to see more information]"

I would like to know how to suppress the error message.

Below is the code for the first tab:

<cflayoutarea bindonload="true" closable="false" disabled="false" inithide="false" name="LTCServiceNameEdit"  overflow = "auto"
selected="true" tabTip="text" title="Service Selection" align="left" >
<H6>Service</H6>

  <cfoutput>
  <cfinclude template="spltcserviceseditform.cfm">
  </cfoutput>
</cflayoutarea>

Per my research, one of the solutions is below. How would the ColdFusion.setGlobalErrorHandler(handleGError); be placed in the above cflayoutarea?

function handleGError(s) {    console.log(‘global error called ‘+s); }

ColdFusion.setGlobalErrorHandler(handleGError);

Using Cold Fusion 11, update 3 patch installed.

Thanks,

Mike

Views

1.4K

Translate

Translate

Report

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
LEGEND ,
Aug 09, 2016 Aug 09, 2016

Copy link to clipboard

Copied

In scenarios like this, CFTRY/CFCATCH/CFDUMP is your friend.  Just place the opening CFTRY before your cflayout, and the CFCATCH/CFDUMP after it.  The CFDUMP should display the reason for the error, ideally giving you a starting point from which to troubleshoot the issue.

HTH,

^_^

Votes

Translate

Translate

Report

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
Community Expert ,
Aug 11, 2016 Aug 11, 2016

Copy link to clipboard

Copied

LATEST

It may or may not be the solution, but you should delete the cfoutput tag. It does not belong there. If you need it in the file spltcserviceseditform.cfm, then use it there.

Votes

Translate

Translate

Report

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
Documentation