Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shop loads and stop without loading images


ddkconsul

Recommended Posts

Posted

I succefull install my first shop.

 

On my intranet all goes fine.

But when people from outside goes to my shop it loads without showing the pictures and stops loading.

 

Any idea what is wrong?

 

you can reach my shop at ddk.dnsalias.com/catalog

 

rgds,

 

Danny

Posted
I succefull install my first shop.

 

On my intranet all goes fine.

But when people from outside goes to my shop it loads without showing the pictures and stops loading.

 

Any idea what is wrong?

 

you can reach my shop at ddk.dnsalias.com/catalog

 

rgds,

 

Danny

http://ddk.dnsalias.com/catalog/images/store_logo.png <--click this. This one works.

 

http://192.168.0.198/catalog/images/store_logo.png <--click this. This one doesn't.

 

Notice any difference?

 

Try this in your catalog/includes/ configure.php file

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

Posted
I succefull install my first shop.

 

On my intranet all goes fine.

But when people from outside goes to my shop it loads without showing the pictures and stops loading.

 

Any idea what is wrong?

 

you can reach my shop at ddk.dnsalias.com/catalog

 

rgds,

 

Danny

 

 

i have the solutions http://www.oscommerce.com/forums/index.php?showtopic=335072 after the member germ point out about the config file but then it may looksok and just wanna confirm with the expert if its ok to remove the "s" on the http

Posted

I think you can accept germ is an expert and follow his advice.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Solution:

 

replace your fix address like 'www.shop.com' with the function dirname($HTTP_SERVER_VARS['SERVER_ADDR'])

 

and the shop works on your intranet and on the internet also with DNS forwarding (which mean your server has no fix ip-address)

 

grtz,

 

Danny

Posted
Solution:

 

replace your fix address like 'www.shop.com' with the function dirname($HTTP_SERVER_VARS['SERVER_ADDR'])

 

and the shop works on your intranet and on the internet also with DNS forwarding (which mean your server has no fix ip-address)

 

grtz,

 

Danny

 

But not in internet explorer <_<

Archived

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

×
×
  • Create New...