Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Having an issue opening tags getting inserted into the HTML only on staging server View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
mroma@bostoninteractive.com - 12/4/2012 12:04:32 PM
   
Having an issue opening tags getting inserted into the HTML only on staging server
I'm having the following issue only on our staging server where opening tags are getting inserted into the code causing issues. This site was imported using the site import/export utility, we had to go this route because a website already exists.

Kentico v6.0.4297


Here is the __doPostBack definition, an extra <script> tag getting inserted just before the closing tag:

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form'];
if (!theForm) {
theForm = document.form;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
<script></script>


At the end of the page: <form> and <body> getting inserted before their closing tags:

<form></form>
<body></body>
</head></html>


Any ideas what might be causing this?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/15/2012 6:01:33 PM
   
RE:Having an issue opening tags getting inserted into the HTML only on staging server
Hello,

Could you please try to apply the latest hotfix for your current Kentico version? You are using a Kentico version without any hotfix, which could contain bugs causing this issue. Please use KIM (Kentico Installation Manager) as described here.


Best regards,
Boris Pocatko