CF on server adding an </html> tag to doc!


hi all,

i'm not sure culprit here. i'm looking @ file on localhost renders fine. when push live server, it's got big break between header , body content (which .cfm template include).

as far can tell, problem javascript added on server cf adding </html> tag beginning of file, causing break.

here's code see when there's problem:

<!doctype html public "-//w3c//dtd html 4.01 transitional//en">

<html>
<head>
<title>application</title>

<script language="javascript" type="text/javascript" src="/cfide/scripts/cfform.js"></script>

<script language="javascript" type="text/javascript">
<!--

function _cf_checkcfform_1(_cf_this)
{
if (!_cf_hasvalue(_cf_this.pid, "password" ))
{
if (!_cf_onerror(_cf_this, _cf_this.pid, _cf_this.pid.value, "you must enter valid pid"))
{
return false;
}
}

return true;
}


//-->
</script>

</head>

</html>

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" " http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html>
<head>

any ideas </html> coming from?

thanks!

rick



More discussions in Getting Started


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support