Copy link to clipboard
Copied
Getting an odd error 'No such device' on CF9.1 @ Linux Server
Error refers to:
C:\work\ColdFusion\cf9_u1_final_hotfix\cfusion\wwwroot\WEB-INF\cftags\dump.cfm
on Linux?
No such device | |||||||||
ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem. | |||||||||
Resources:
| |||||||||
|
Stack Trace |
at cfdump2ecfm1346696724._factor1(C:\work\ColdFusion\cf9_u1_final_hotfix\cfusion\wwwroot\WEB-INF\cftags\dump.cfm) at cfdump2ecfm1346696724._factor4(C:\work\ColdFusion\cf9_u1_final_hotfix\cfusion\wwwroot\WEB-INF\cftags\dump.cfm) at cfcat2ecfm2074738090.runPage(/var/www/walks/story.cfm:27) |
Code:
Modified from: http://www.manjukiran.net/2009/07/14/101/
stories = EntityLoad( "Story");
for (i=1; i<ArrayLen(stories);i++) {
storyObj = stories;
WriteOutput("Story ID: " & storyObj.getStoryID() & "<br>");
WriteOutput("Story Title: " & storyObj.getStoryTitle() & " <br>");
WriteOutput(" <br>");
}
</cfscript>
<cfdump var="#stories#"/>
Outputs
2 array items and 3 'dump items'
----------------------------------------------------------------
array | |
---|---|
1 | [undefined array element] No such device |
2 | [undefined array element] No such device |
3 | [see cfc6 for Story details] |
----------------------------------------------------------------
Trying to fix triggers error above
Very Strange
Copy link to clipboard
Copied
That error means something went wrong in the cfdump output.
Can you post the code for the Story.cfc?
Copy link to clipboard
Copied
Hello Sam
Thanks for reply
Object of type 'class coldfusion.orm.PersistentTemplateProxy' cannot be used as an array Came up
- a little clearer - if I knew what 'class coldfusion.orm.PersistentTemplateProxy' was!
The code is wrapped in Model-Glue - so code post would not be helpful -
a <message name="ModelGlue.genericRead"> call in ModelGlue.xml
I've bypassed and rolled in EntityLoad - sick of hitting my head here
The windows C:\ path spooked me a bit - I'll post problem to Model Glue forum
Once again
Many thanks
G