Solved

CFML Display Craziness

Posted on 2002-06-06
10
160 Views
Last Modified: 2013-12-24
Can someone tell me WHY my page is displaying the way it is?

http://www.aartrageous.com/OAB/entriesview.cfml

It's showing the tags instead of the data. You can see the code if you view the source.  This is not supposed to happen either.  The process page (enter data into fields page) works correctly ... I just don't know why I can't see my records on the display page.

Can someone give me a clue?

Thanks,
Ansia
0
Comment
Question by:Ansia
  • 6
  • 4
10 Comments
 
LVL 5

Expert Comment

by:Yog
ID: 7059626
check if you have the correct dll mapped in IIS for .cfm extension? iscf.dll , IIS -> Website -> right click -> properties -> Home directory -> configuration
0
 
LVL 5

Expert Comment

by:Yog
ID: 7059630
you need to map .cfml to iscf.dll
0
 

Author Comment

by:Ansia
ID: 7059934
But I have other pages very much like this one that displays correctly.  Could it be anything else?
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 5

Expert Comment

by:Yog
ID: 7060241
are they coldfusion pages, seems they are HTML pages ? what web server are you using IIS ?
0
 

Author Comment

by:Ansia
ID: 7060269
I checked with my host and he said that my coldfusion pages are mapped as .cfm pages,so I changed the extension from .cfml to .cfm.   The problem is within looping sets of queries ....

Here's the code that I need to fix:  What am I not doing right?

<CFOUTPUT QUERY="listview">
Is Online Auction Selling Primary Business:&nbsp;
<cfloop from="1" to="2" index="i">
<cfif Is NOT Defined("PrimBus#i#")>
#Evaluate("PrimBus#i#")#
<cfelse> &nbsp;
</cfif>
</cfloop>
 <br>
Amount Sell Each Month:&nbsp;
<cfloop from="1" to="5" index="i">
<cfif Is NOT Defined("AmountSell#i#")>
#Evaluate("AmountSell#i#")#
<cfelse> &nbsp;
</cfif>
</cfloop>
<br>
Categories of Products Sell Online: &nbsp;
<cfloop from="1" to="36" index="i">
<cfif Is NOT Defined("Products#i#")>
#Evaluate("Products#i#")#
<cfelse> &nbsp;
</cfif>
</cfloop>
<cfif #Products37# is not "">
#Prodcuts37# - #ProdDesc#
<cfelse> &nbsp;
</cfif>
<br>
<br>
</CFOUTPUT>
0
 
LVL 5

Accepted Solution

by:
Yog earned 200 total points
ID: 7060311
What do you want to acheive ?

One mistake i have seen is
<cfif Is NOT Defined("Products#i#")>

change it to
<cfif NOT IsDefined("Products#i#")>
0
 
LVL 5

Expert Comment

by:Yog
ID: 7060314
the cfloops are hardcoded, the same way you want it ?
0
 

Author Comment

by:Ansia
ID: 7063610
thanks, i'll make the change you suggested.
yes, the cfloops are three sets of different loops.
0
 

Author Comment

by:Ansia
ID: 7080447
thanks SO much for your help! :)
0
 
LVL 5

Expert Comment

by:Yog
ID: 7089877
you are welcome :)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
URL redirect 4 67
Internal DNS Zone Issue 13 80
assigning port numbers to web sites and web services 2 79
question about access to website 2 80
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question