X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   I've got // in the html page addresses (https://forum.x-cart.com/showthread.php?t=32310)

beetlejuice 07-04-2007 07:04 PM

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

Jon 07-06-2007 08:10 PM

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 "/"

beetlejuice 07-06-2007 08:35 PM

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

Jon 07-07-2007 08:26 AM

Re: I've got // in the html page addresses
 
In your config.php make sure this variable is empty also:

$xcart_web_dir ="";

beetlejuice 07-07-2007 02:47 PM

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 update8O

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

regards

beetlejuice

Jon 07-07-2007 10:14 PM

Re: I've got // in the html page addresses
 
I'm out of thoughts on this one sorry, good luck!

beetlejuice 07-09-2007 03:29 AM

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


All times are GMT -8. The time now is 03:21 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.