Solved

CFML Display Craziness

Posted on 2002-06-06
10
157 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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