Forums / General Questions / Double URL in Login Links

Double URL in Login Links

Locked

Views: 1,223

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Jun 2009, 11:00 PM
#1
ttscanada avatar

ttscanada

New Zenner

Join Date:
May 2009
Location:
Kelowna BC, Canada
Posts:
8
Plugin Contributions:
0

Double URL in Login Links

Hi. I'm a new Zenner, using 1.38 with a couple of add ons, Lightbox and Image Handler.

I had tested logging into the store a couple of weeks ago and everything was fine. Today while starting a test purchase I noticed that when I click log in the href is resolving to
'http://www.technicalservices.ab.cahttps//www.technicalservices.ab.ca/store/index.php?main_page=login

It looks like it's appending the HTTP_SERVER to the HTTPS_SERVER. I have looked through the zen_href_link function which is where I believe the code is generated but can't figure out why all of a sudden this is happening.

It LOOKS like this started happening after I loaded those add ins but I had a look at the files from the add ons and they don't appear to have updated anything with the header.

Any ideas?
Store is at
http://www.technicalservices.ab.ca/store
If you hover over the Log In link in the header you can see the URL in the status bar. Or even the 'Welcome Guest, would you like to log yourself in? link.

Thanks
Dave

4 Jun 2009, 11:14 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: Double URL in Login Links

Did you make any changes to the includes/configure.php? Can you login to your admin?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

4 Jun 2009, 11:43 PM
#3
ttscanada avatar

ttscanada

New Zenner

Join Date:
May 2009
Location:
Kelowna BC, Canada
Posts:
8
Plugin Contributions:
0

Re: Double URL in Login Links

I can log in as admin, no worries, I've been able to add products and attributes....anything I have tried has been fine in admin. The store itself seems to function...until I try to login or do anything secure like checkout.

I did not make any changes to includes/configure.php....at least not on purpose. I just had a quick look at it and nothing seems obviously amiss.

These are the entries for HTTP_SERVER and HTTPS_SERVER

define('HTTP_SERVER', 'http://www.technicalservices.ab.ca');
define('HTTPS_SERVER', 'https://www.securewebexchange.com/technicalservices.ab.ca');

4 Jun 2009, 11:47 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: Double URL in Login Links

What do you have for these entries:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

4 Jun 2009, 11:55 PM
#5
ttscanada avatar

ttscanada

New Zenner

Join Date:
May 2009
Location:
Kelowna BC, Canada
Posts:
8
Plugin Contributions:
0

Re: Double URL in Login Links

define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', 'https://www.technicalservices.ab.ca/store/');

5 Jun 2009, 12:01 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: Double URL in Login Links

That is your problem -

Should be:

Re: Double URL in Login Links
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

5 Jun 2009, 12:10 AM
#7
ttscanada avatar

ttscanada

New Zenner

Join Date:
May 2009
Location:
Kelowna BC, Canada
Posts:
8
Plugin Contributions:
0

Re: Double URL in Login Links

Thank you Kim.....that was indeed the problem.

Don't know how it got changed..?..? But thank you so much for the quick response and of course, the answer.