Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why broken imgaes?


yoyobot

Recommended Posts

I never saw this type of problem from my previous hosting, everything is working fine in both Firefox & IE, but after using dreamhost, it suck!

 

When open the same page in different browser, same image, I saw this:

 

Open in IE:

http://www.gamekyo.com/catalog

http:///images/oscommerce.gif

 

 

 

Open in Firefox:

http://www.gamekyo.com/catalog

http://www.gamekyo.com/catalog/images/oscommerce.gif

 

Do u think the problem came from the hosting itself, how to solve it?

Link to comment
Share on other sites

I never saw this type of problem from my previous hosting, everything is working fine in both Firefox & IE, but after using dreamhost, it suck!

 

When open the same page in different browser, same image, I saw this:

 

Open in IE:

http://www.gamekyo.com/catalog

http:///images/oscommerce.gif

Open in Firefox:

http://www.gamekyo.com/catalog

http://www.gamekyo.com/catalog/images/oscommerce.gif

 

Do u think the problem came from the hosting itself, how to solve it?

 

 

I checked it with firefox working fine but in IE the images are not showing.

please check your "catalog/includes/configure.php" file.

 

Thanks,

pvarsha

Link to comment
Share on other sites

i know, but how?

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.gamekyo.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/cgi');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/gamekyo/gamekyo.com/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Link to comment
Share on other sites

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.gamekyo.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/cgi');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/gamekyo/gamekyo.com/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

please put your sever name in the following line like :

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

 

Because you are not using SSL and in your above configuration HTTP_SERVER is missing. please put

your server name like above and try to run your script.

 

Thanks,

pvarsha

Link to comment
Share on other sites

please put your sever name in the following line like :

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

 

Because you are not using SSL and in your above configuration HTTP_SERVER is missing. please put

your server name like above and try to run your script.

 

Thanks,

pvarsha

 

Thanks for ur advise!

Actually I forgot to select "SSL" button, now my site is working fine.

Link to comment
Share on other sites

But now I have a new problem, after order some items, when I click "checkout", I received broken link.

 

have you enabled SSL on your sever ?

if yes then disable it and then try it.

 

Thanks,

pvarsha

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...