Lucee Document is empty 错误
Lucee Document is empty error
我在 lucee 5.1.0.34 上配置了 fusebox 5 应用程序。 com/reports/ 文件夹中有一个 cfc。当我运行来自cfc的远程方法。它给我以下错误。
这是我的 cfc 代码。
<cfcomponent displayname="Reports" output="yes">
<cffunction name="test" access="remote" output="yes">
<cfoutput>testing</cfoutput>
</cffunction>
</cfcomponent>
我正在 运行在浏览器中使用这种方法。
http://example.com/com/reports/abc.cfc?method=test
我查看了日志并进行了大量搜索。我没有找到关于这个问题的任何帮助。谁能帮我解决这个问题
运行 一种远程 returns 页面的方法,默认情况下 content-type 为 text/xml。您的浏览器将其解释为已损坏 xml。试试这个。
<cfcomponent displayname="Reports" output="yes">
<cffunction name="test" access="remote" output="yes">
<cfcontent type="text/html">
<cfoutput>testing</cfoutput>
</cffunction>
</cfcomponent>
我在 lucee 5.1.0.34 上配置了 fusebox 5 应用程序。 com/reports/ 文件夹中有一个 cfc。当我运行来自cfc的远程方法。它给我以下错误。
这是我的 cfc 代码。
<cfcomponent displayname="Reports" output="yes">
<cffunction name="test" access="remote" output="yes">
<cfoutput>testing</cfoutput>
</cffunction>
</cfcomponent>
我正在 运行在浏览器中使用这种方法。
http://example.com/com/reports/abc.cfc?method=test
我查看了日志并进行了大量搜索。我没有找到关于这个问题的任何帮助。谁能帮我解决这个问题
运行 一种远程 returns 页面的方法,默认情况下 content-type 为 text/xml。您的浏览器将其解释为已损坏 xml。试试这个。
<cfcomponent displayname="Reports" output="yes">
<cffunction name="test" access="remote" output="yes">
<cfcontent type="text/html">
<cfoutput>testing</cfoutput>
</cffunction>
</cfcomponent>