PROBLEM:
When uploading an image the following error is displayed:
Request object error 'ASP 0206 : 80004005'
Cannot call BinaryRead
/admin/outputFile.asp, line 52
Cannot call BinaryRead after using Request.Form collection.
VERSIONS AFFECTED:
QShop v3.0 Pro and Lite Revision 0
RESOLUTION:
Edit /admin/outputfile.asp and where it says:
<!--#include file="security.asp"-->
<%
Response.Expires = 0
Response.Buffer = True
Change to:
<%
Response.Expires = 0
Response.Buffer = True
%>
<!--#include file="security.asp"-->
<%
After this, you will also need to update admin/security.asp. Where it says:
If Request.Form("user") <> "" Then
'check for POSTed authentication information
Change to (the highlighted bit should be in one line):
If InStr(UCASE(Request.ServerVariables("PATH_INFO")),"OUTPUTFILE.ASP") = 0 Then
If Request.Form("user") <> "" Then
'check for POSTed authentication information
And then where it says:
Attempted=True
Rejected=True
End If
End If
Change to
Attempted=True
Rejected=True
End If
End If
End If