No Such Device Error EntityLoad - output
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'
----------------------------------------------------------------
Story Title: A return to Forbidden BritainStory ID: 2
Story Title: The Countryside Code
| 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
