Web Connection
Errors now showing
Gravatar is a globally recognized avatar based on your email address. Errors now showing
  Eddie Caldwell
  All
  Mar 6, 2017 @ 12:29pm

Dear Rick,

In version 5 when a script generated an error, it would not show in the browser but only show in the html source like:

but with 6.10 it actually shows the error to the user in the browser like:

< % ERROR: = pcDynamicContent % >

This seems like an intentional improvement that I missed in the documentation. Is there a built in way to turn it off until I can track down any place this is happening on my site other than subclassing? Not a big deal if there isn't.

Thanks,

Eddie

Gravatar is a globally recognized avatar based on your email address. re: Errors now showing
  Rick Strahl
  Eddie Caldwell
  Mar 6, 2017 @ 12:37pm

No, there's no way to change this. It's intentional for a couple of reasons - the content is HTML Encoded so the error message can't trigger a XSS Scripting attack. Secondly, there were too many instances when users would miss the errors that showed up. This makes it pretty explicit that something is wrong and broken.

For an existing site this can be a problem if you previously had errors, but for new development this is IMHO a much better approach to see what's not working.

+++ Rick ---

© 1996-2024