coldfusion-2018

Creating report getting failed in ColdFusion 2018

百般思念 提交于 2021-01-29 08:12:38
问题 I have tried the below code for creating report in ColdFusion, but it gives failure like in the screenshot, <cfchart format="png" name="chartImage"> <cfchartseries type="bar" query="chart" itemcolumn="title" valuecolumn="level"> </cfchart> <cfset chartImageFile = getTempDirectory() & '\' & createUUID()> <cfset fileWrite(chartImageFile, chartImage)> <cfreport format="pdf" template="report.cfr" name="grid"> <cfreportparam name="reportTitle" value="#reportType.title#"> <cfreportparam name=

Timeout error in cfdocument tag blocks all PDF generation

不想你离开。 提交于 2020-07-23 10:20:09
问题 We are facing an issue since we migrated to ColdFusion 2018. Sometimes we start getting errors with a timeout in cfdocument tag (for fairly simple html contents). Once we start getting this it happens to all subsequent cfdocument calls. Only a ColdFusion Instance restart seems to fix this. Detail: This timeout value is obtained from the request timeout set in the ColdFusion Administrator Message: The content of this document process takes more than 60000 milliseconds to process coldfusion

Timeout error in cfdocument tag blocks all PDF generation

狂风中的少年 提交于 2020-07-23 10:19:05
问题 We are facing an issue since we migrated to ColdFusion 2018. Sometimes we start getting errors with a timeout in cfdocument tag (for fairly simple html contents). Once we start getting this it happens to all subsequent cfdocument calls. Only a ColdFusion Instance restart seems to fix this. Detail: This timeout value is obtained from the request timeout set in the ColdFusion Administrator Message: The content of this document process takes more than 60000 milliseconds to process coldfusion

Which EncodeFor should be used for location?

和自甴很熟 提交于 2019-12-13 14:19:12
问题 Which EncodeFor should be used location() ? If I want to push some data via location, what should it look like? location("obtainBDK.cfm?message=#ErrorMessage#", false); // nothing OR location("obtainBDK.cfm?message=#EncodeForHTMLAttribute(ErrorMessage)#", false); OR location("obtainBDK.cfm?message=#EncodeForURL(ErrorMessage)#", false); OR Something else? 回答1: cflocation / location sets the Location HTTP header. The browser reads this value and requests the mentioned resource via HTTP GET.

How to fix 'POST request Exceeded' error while we passed the number of parameters to the server using API call (POST request) in ColdFusion?

泄露秘密 提交于 2019-12-12 19:45:49
问题 In my Application, I have the 300 user permissions for user role 'admin'. As a super admin, added a new admin users means, need to enable the user permissions for this admin user. If I choose below 100 and sent it to the backend via API call POST method, I can able to get the success response. But, If I'm selecting more than 100 means, I couldn't able to get the success response. It's throwing error message like 'POST request Exceeded'. 回答1: I'm sure, ColdFusion has some settings for this. So