Solved

CFML Display Craziness

Posted on 2002-06-06
10
153 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
Comment Utility
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
Comment Utility
you need to map .cfml to iscf.dll
0
 

Author Comment

by:Ansia
Comment Utility
But I have other pages very much like this one that displays correctly.  Could it be anything else?
0
 
LVL 5

Expert Comment

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

Author Comment

by:Ansia
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 5

Accepted Solution

by:
Yog earned 200 total points
Comment Utility
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
Comment Utility
the cfloops are hardcoded, the same way you want it ?
0
 

Author Comment

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

Author Comment

by:Ansia
Comment Utility
thanks SO much for your help! :)
0
 
LVL 5

Expert Comment

by:Yog
Comment Utility
you are welcome :)
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now