?
Solved

CFML Display Craziness

Posted on 2002-06-06
10
Medium Priority
?
165 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
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
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 800 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month14 days, left to enroll

809 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