I would also check your application.cfm for that additional HTML.

Shlomy 

-----Original Message-----
From: Jennifer Knoblock [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 5:17 PM
To: CF-Talk
Subject: what is going on??


I can't figure out what's going on with this code. I create a
simple page that has a cfoutput block. I upload it to the server
and the cfoutput block and everything in it disappears, but the
static HTML code still renders like it should. Although extra HTML
code appears when I view the page source. I've recreated this page
in CF Studio, Dreamweaver and good old Notepad and this keeps
happening.  Has anyone had this problem before? What's going on?

Here are the original and the source from the parsed document:

My original:
<html>
<head>
</head>

<body bgcolor="yellow">
<cfquery name="getinfo" datasource="elrsub2">
select ContactName, ContactEmail, SubID
from Subscribers
where SubID=8391
</cfquery>

<p>Your account's username and password were sent to <cfoutput
query="getinfo">#ContactName# at #ContactEmail#.</cfoutput></p>

<p>If this person is longer at your organzation, please contact
[EMAIL PROTECTED]</p>

</body>
</html>


The parsed document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
        <title>Untitled</title>
</head>
<body>
</body>
</html>

<html>
<head>
</head>

<body bgcolor="yellow">
<p>Your account's username and password were sent to </p>
<p>If this person is longer at your organzation, please contact
[EMAIL PROTECTED]</p>
</body>
</html>

If you want to see it,
http://www2.eli.org/elr/dummy/getpassword.cfm.
Thanks!
Jen
[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to