lybrary Posted August 5, 2005 Share Posted August 5, 2005 When I login through 'my account' everything works fine. When I login through ex. write a review, the login seems to work, but I also get a missing page error. I am in the dark here to what might be at fault any help is appreciated. Best, Chris.... Link to comment Share on other sites More sharing options...
lybrary Posted August 5, 2005 Author Share Posted August 5, 2005 The problem manifests itself under even simpler conditions. If I just try to login by going directly to the login with tep_href_link(FILENAME_LOGIN, '', 'SSL') then I get a page missing /catalog/index.php but this file is there. What is going on? Best, Chris.... Link to comment Share on other sites More sharing options...
lybrary Posted August 5, 2005 Author Share Posted August 5, 2005 I found the bug in the tep_redirect() function. This function when it changes a link from nonsecure to secure (https) makes an error. It only uses HTTPS_SERVER, but there could be also a path involved not just the server. For example, my site is http://www.lybrary.com/ but the secure server path to my shop is https://host1.wfdns.com/~lybrary/ and the /~lybrary was missing from the link the tep_redirect() function creates. I looked into configure.php and I see that all HTTPS paths have the /~lybrary in front like /~lybrary/catalog. I added a HTTPS_PATH to it with /~lybrary as its value and use this for tep_redirect(). I would think that this is an error. I am not sure if this has been mentioned before. I hope one of the developers sees this. Best, Chris.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.