Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

I've got // in the html page addresses

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-04-2007, 07:04 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default I've got // in the html page addresses

Hi,

Whilst doing a check on one of my clients sites, I noticed this

http://www.my domain.au//Audi-productcode0-p-1-c-3.html

I've checked the config.php and the cart root directory is "" as it should be.

Anyone have clue why I have two leading slashes?

beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
  #2  
Old 07-06-2007, 08:10 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: I've got // in the html page addresses

Edit the admin/html_catalog.php and modify the catalog path to be empty instead of "/"
Reply With Quote
  #3  
Old 07-06-2007, 08:35 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: I've got // in the html page addresses

Hi Jon,

Thanks for the reply but:

define ('DIR_CATALOG', '');

is already in my admin/html_catalog.php as above

and in my config, what else can I do or check?


beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
  #4  
Old 07-07-2007, 08:26 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: I've got // in the html page addresses

In your config.php make sure this variable is empty also:

$xcart_web_dir ="";
Reply With Quote
  #5  
Old 07-07-2007, 02:47 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: I've got // in the html page addresses

Hi Jon,

Yep sure is! I'm thinking I'll just upgrade to 4.1.8 and copy the original html_cat.php from the original dist.

I don't know what else to do. I manage 3 sites, 2 running 4.1.7 and the other still on 4.1.6.

The one running 4.1.6 is fine but both 4.1.7 sites have the double slash. I checked all config and html_cat's against each other and in the areas at the top of each file where the catalog directory is called from, they are all the same "".

It has to be a 4.1.7 bug, I mean the sites still work fine but it looks untidy, so I guess it's off to update

thanks again for you reply, unless you can think of any other reason this may be happening.

regards

beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
  #6  
Old 07-07-2007, 10:14 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: I've got // in the html page addresses

I'm out of thoughts on this one sorry, good luck!
Reply With Quote
  #7  
Old 07-09-2007, 03:29 AM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: I've got // in the html page addresses

G'day Jon and for anyone else who has this problem, just uploaded 4.1.8 version of html_catalog.php and no more double slashes.

Only ocurred in the sites I have with 4.1.7 installed.

beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:48 AM.

   

 
X-Cart forums © 2001-2020