Posted - 06/03/2024 : 12:48:54
Hi - I hope you are doing well - I was checking out what pages were 404ing on our site and it seems a bad url is being generated from clientlogin.asp - Perhaps due to something i have done. I think I've named down where the code is in the page source online but I don't know where it is being generated through include files etc. Could someone give me a hint? Maybe the head tag isnt closing?
The page is linking to "https://www.examplesite.com/body></" I think through the following code </head' + '><' + 'body onload="window.print()"> in this code snippet:
<script>document.body.appendChild(ectById("softopaquediv"));</script> <div id="vieworderdiv" class="ectopaque" style="display:none" onclick="if(event.target==this)hideviewimage()" tabindex="0"></div> <script> /* <![CDATA[ */ function doprintcontent(){ var stylesheetlist=''; if(document.styleSheets){ for(var dpci=0;dpci<document.styleSheets.length;dpci++){ if(document.styleSheets[dpci].href){ stylesheetlist+='<link rel="stylesheet" type="text/css" href="'+document.styleSheets[dpci].href+'" />\n'; } } } var prnttext='<html><head>'+stylesheetlist+'</head' + '><' + 'body onload="window.print()"><div class="printbody">\n'; prnttext+=document.getElementById('printcontent').innerHTML+"\n"; prnttext+='</div><' + '/body></'+'html>\n'; var newwin=window.open("","printit",'menubar=no, scrollbars=yes, width=600, height=450, directories=no,location=no,resizable=yes,status=no,toolbar=no'); newwin.document.open(); newwin.document.write(prnttext); newwin.document.close(); } var ajaxobj; function hideviewimage(){ document.getElementById('vieworderdiv').style.display='none'; } function ppajaxcallback(){ if(ajaxobj.readyState==4){ var restxt=ajaxobj.responseText; document.getElementById('vieworderdiv').innerHTML='<div class="opaqueinner"><div class="scart scclose" role="img" onclick="hideviewimage()" title="' + "Close Window" + '"></div>'+restxt+'</div>'; document.getElementById('vieworderdiv').style.display=''; } }
Joe
|