Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

All image and links broken when view over network


vyhnanek

Recommended Posts

Hi,

 

After a long search for the best commerce program, I chose OSCommerce. I'm up and runnig on XP Pro on IIS 5.1 as localhost. I know the Windows enviroment, Access DB, some .asp scripting and a little VB, plus a lot of HTML so I have no problems getting around, especially changing the look---I'm surprised how easy this all is, I get it ---all but one thing. My local machine is on a network with Cisco router and 3 other machines. Everything works fine within the network as far as printers, viewing a test website also on local host, viewing it and also editing that website over the network. (I don't use FrontPage or FP extensions)

 

Problem is when I go to another machine and type in the address to the XP localhost computer, to go to my OSCommerce site, it connects but all image links are broken and I get a 404 error on the text links---I see the text. CCS don't run either. I've researched every article on the web and this forum and tried editing the paths in index.php, both config.php files, application_top.php and whatever. I've made suggested changes from many a help article to no avail, so after 5 days I'm asking for help which hardly do.

 

Thanks in advance for any suggestions.

 

JJV

Link to comment
Share on other sites

Problem is when I go to another machine and type in the address to the XP localhost computer, to go to my OSCommerce site, it connects but all image links are broken and I get a 404 error on the text links---I see the text. CCS don't run either. I've researched every article on the web and this forum and tried editing the paths in index.php, both config.php files, application_top.php and whatever. I've made suggested changes from many a help article to no avail, so after 5 days I'm asking for help which hardly do.

Probably you use 127.0.0.1 or localhost in your defines for the HTTP_SERVER (like define('HTTP_SERVER', 'http://127.0.0.1');).

You would need to use the IP-address of your computer in the network (probably something like 192.168.0.xxx) to have it working locally and in the network.

Link to comment
Share on other sites

Probably you use 127.0.0.1 or localhost in your defines for the HTTP_SERVER (like define('HTTP_SERVER', 'http://127.0.0.1');).

You would need to use the IP-address of your computer in the network (probably something like 192.168.0.xxx) to have it working locally and in the network.

 

I'll get back to you tomorrow on this.

 

Thanks, JJV

Link to comment
Share on other sites

Probably you use 127.0.0.1 or localhost in your defines for the HTTP_SERVER (like define('HTTP_SERVER', 'http://127.0.0.1');).

You would need to use the IP-address of your computer in the network (probably something like 192.168.0.xxx) to have it working locally and in the network.

 

Okay! I set the server to use an IP address and changed both configure.php files and it all works just fine. Thank you for your help! I see you are from NL---great mussels, frite and beer in your country!!!

 

Thanks,

 

JJV

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...