Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 Authorization Loop
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

seroomnz
Starting Member

24 Posts

Posted - September 11 2011 :  20:46:28  Show Profile  Reply with Quote
Hi. there appears to be a slight problem with Authorization in 6.5.

If the customer tries to login but is not authorized it tells them
"Your registration has not yet been authorized. Please contact us if you feel this is in error."

Contact Us is links to shopcustcontact.asp and when you click on the link you go to shopforcelogin.asp, which means you need to be authorized and logged in to get to the Contact Us page so the customer gets stuck in a loop, not authorized and not able to use the contact form.

Cheers

Steve Moore

Has this been addressed in 7.0

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - October 22 2011 :  03:34:13  Show Profile  Reply with Quote
this is not happening in 7.00 as my site not seems to act like that, clicking the contact us link from "Your registration has not yet been authorized. Please contact us if you feel this is in error." taking me to shopcustcontact.asp directly and not to shopforcelogin.asp.

Diego.
Go to Top of Page

g3nnin
VP-CART Super User

209 Posts

Posted - November 10 2011 :  13:46:44  Show Profile  Reply with Quote
Hi,

To solve this problem, you could change this code in shop$db.asp under CheckValidLogin sub-routine:

If getconfig("xlogonrequired")="Yes" then
If GetSess("Login")="" then
if lcase(getsess("CurrentURL")) <> "shoploginforce.asp" then
responseredirect "shoploginforce.asp"
end if

into this code:

If getconfig("xlogonrequired")="Yes" then
if instr(lcase(request.ServerVariables("SCRIPT_NAME")),"shopcustcontact.asp") <= 0 then
If GetSess("Login")="" then
if lcase(getsess("CurrentURL")) <> "shoploginforce.asp" then
responseredirect "shoploginforce.asp"
end if
end if


Hope this helps!

Edited by - g3nnin on November 10 2011 13:50:40
Go to Top of Page

seroomnz
Starting Member

24 Posts

Posted - November 10 2011 :  15:08:46  Show Profile  Reply with Quote
Hi
Sorry that just returned an error.

Not to worry though I just made a static contact-us form by saving the HTML of the shopcustcontactus.asp page.
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