Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 Cannot Print Order from Admin
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

telesites net
Starting Member

USA
46 Posts

Posted - November 12 2011 :  12:25:00  Show Profile  Visit telesites net's Homepage  Reply with Quote
Has anyone else seen this?

Win7 PC with IE 8 - logged into Admin back end - click on the Print Icon to print an order and the popup does not work - instead I get a error in the lower left corner of IE 8:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)
Timestamp: Wed, 9 Nov 2011 15:32:29 UTC

Message: The security ID structure is invalid.

Line: 1600
Char: 4
Code: 0

===============

Prnt works fine from other PCs and even other Win7 PC - just this one has an issue with the javascript for the popup.

I tunred off popup stoppers and changed security settings and still cannot get it to open the popup window so we can print.

Any ideas?

Thanks.

www.TELEsites.Net
Set your sites here!

telesites net
Starting Member

USA
46 Posts

Posted - November 23 2011 :  01:27:31  Show Profile  Visit telesites net's Homepage  Reply with Quote
This has been resolved.

In case anyone else runs into this and comes here looking - here is the issue in /shop/shopa_displayorders.asp:

<script language="javascript" type='text/javascript'>
//Function to open pop up window
function openWin(theURL,winName,features) {
  	window.open(theURL,winName,features);
}
// -->
</script>
        <a href="JavaScript:openWin('shopa_formatorder_print.asp?oid=<%=rsorder(idfield)%>&idfield=<%=idfield%>','_blank','toolbar=0,location=0,status=0,menubar=1,scrollbars=1,resizable=1,width=640,height=500')"><img src="images/admin/main/print.gif" alt="Print Order" border="0"></a>


It appears Win7 has issues with the winName middle part of
function openWin(theURL,winName,features)

So by changing the code - remove the text _blank (in red above) and just leave the two quotes with nothing in between them - then it will work as it is supposed to.

www.TELEsites.Net
Set your sites here!

Edited by - telesites net on November 23 2011 01:56:58
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00