Link to home
Start Free TrialLog in
Avatar of Ansia
Ansia

asked on

CFML Display Craziness

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
Avatar of Yog
Yog

check if you have the correct dll mapped in IIS for .cfm extension? iscf.dll , IIS -> Website -> right click -> properties -> Home directory -> configuration
you need to map .cfml to iscf.dll
Avatar of Ansia

ASKER

But I have other pages very much like this one that displays correctly.  Could it be anything else?
are they coldfusion pages, seems they are HTML pages ? what web server are you using IIS ?
Avatar of Ansia

ASKER

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>
ASKER CERTIFIED SOLUTION
Avatar of Yog
Yog

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
the cfloops are hardcoded, the same way you want it ?
Avatar of Ansia

ASKER

thanks, i'll make the change you suggested.
yes, the cfloops are three sets of different loops.
Avatar of Ansia

ASKER

thanks SO much for your help! :)
you are welcome :)