Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Double url's in the page links


alphasource

Recommended Posts

Posted

Hi All,

 

Firstly I would like to apologise if this has been covered before but I did a few forum searches and cant seem to find the topic.

 

I am having trouble with the links on my site www.alphasource.com.au

 

Firstly the images didnt load up properly, I right clicked on the image link and noticed that the path was something like http:///images/ so what I did was I went into the configure.php file in the catalog folder and changed the http_server settings from '' to 'www.alphasource.com.au'. That fixed the image loading problem but now all the links have a double url in them e.g http://www.alphasource.com.au/www.alphasou...ex.php?cPath=30

 

Can someone please help me as I am very new with oscommerce and php/sql in general, I thank you in advance for your time.

 

Sincerely,

Posted

Hello,

I am having a similar problem. :(

 

Actually the code works fine in Firefox, but not Internet Explorer.

I changed the HTTP Server the images appear in IE, but the links are not going to the proper location.

Now, in IE (internet explorer) shows the properties of images as this example: http:///images/dvd/beloved.gif.

 

What file do I need to change to remove the extra / after http:?

 

If anyone can help alphasource and I by giving a solution to this problem, I will be greatly appreciated it.

 

check out this url in Internet Explorer and FireFox to understand my frustration :huh: :

http://www.yourhostsolutions.com/store_demo1/index.php

Posted

Hi All,

 

For those of you that are interested I have managed to fix my problem

 

What I did was I edited the configure.php file in the catalog/includes folder

 

The script comes as default like this

define('HTTP_SERVER', '');

 

I modified it to this

 

define('HTTP_SERVER', 'http://www.alphasource.com.au/');

 

and that worked for me, I hope this helps you

 

Regards,

Fred

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...