Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 404 from clientlogin.asp
Author « Topic »  

joetuesday
Advanced Member

183 Posts

Pre-sales questions only
(More Details...)

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

Vince
Administrator

42766 Posts

Posted - 06/04/2024 :  04:49:41  
Hi Joe
Is this coming from the log files of pages that are actually 404'ing? Or is it a tool that says this code would produce a 404? If from the logs, could you let me know the actual log entry?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000