Zen Cart Logo
Forums / General Questions / Duplicate URL address is being generated

Duplicate URL address is being generated

Views: 1,079

Results 1 to 4 of 4
14 Mar 2012, 10:29 PM
#1
partygirl avatar

partygirl

New Zenner

Join Date:
Sep 2009
Posts:
9
Plugin Contributions:
0

Duplicate URL address is being generated

Hi,

I am new to posting on here but have found the site invaluable over the years regards managing my site.

I have recently had a new zencart site set up and the problem I'm having is this. When I amend the Customer Status Email Notification to include hyperlink text saying 'login in here' the URL address is duplicating itself and obviously this takes you to an error 404 page.

This is the file and text I have amended to date:

includes/languages/english/customers.php

Line #51 : define('EMAIL_CUSTOMER_STATUS_CHANGE_MESSAGE', 'Your customer status has now been authorised. Please <a href="trade.specialadditions.co.uk">log in to your account</a> using your chosen password to view details and prices of our wholesale party products. Thank you for registering with us, we look forward to working with you.');

When the email is received and you click the log in to your account hyperlink it takes you to page URL trade.specialadditions.co.uk/trade.specialadditions.co.uk

Can anyone explain why this may be and how to fix it please.
Thanks

15 Mar 2012, 10:19 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Duplicate URL address is being generated

What happens if you use the full path (http://www.) in your define ?

15 Mar 2012, 1:37 PM
#3
partygirl avatar

partygirl

New Zenner

Join Date:
Sep 2009
Posts:
9
Plugin Contributions:
0

Re: Duplicate URL address is being generated

Hi Stevesh

If I use the full http://www it adds the /trade.specialadditions.co.uk to the end duplicating it again???

17 Mar 2012, 2:41 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Duplicate URL address is being generated

You've misconfigured your /includes/configure.php file settings for HTTP_SERVER, HTTPS_SERVER, DIR_WS_CATALOG, DIR_WS_HTTPS_CATALOG