Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Browse problem?


GT420HP

Recommended Posts

I had posted the other day about problems with images not appearing, and large fonts on the web site.

 

I just found out it may be a WEB BROWSER CLIENT problem. If you use Netscape or Mozilla, the web site appears perfect. If you use Internet Explorer version 6.1 with the latest Microsoft patch it does not appear correctly. I have not been able to find and older version of Internet Explorer.

 

Any ideas why the browser would cause this?

 

You can see the site at http://www.e-naughtyandnice.com

 

This is a retail store selling shoes and dresses.

 

thanks,

 

Jim

Link to comment
Share on other sites

in your configure.php, does your image definition look like this:

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

 

or does it have a leading / like this:

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

 

it may not be that, but it looks like something may be configured incorrectly in your configure.php.

 

if you right click on an image when in Mozilla or Netscape, the properties of the image have the correct path:

http://www.e-naughtyandnice.com/try2/catal.../oscommerce.gif

 

but if you do the same in IE by right clicking on the red X where the image is supposed to be, and looking at the properties, the image path looks like this:

http:///images/oscommerce.gif

Link to comment
Share on other sites

I think you are on the right track about the Base path. I actually don't use it in any of my sites, but in this case it looks like it's probably because it is set to "" in all of these pages.

You can either set it to the path suggested (in virtually all files) or remove it on a few, like the index.php, and see if that also works, and then if so, use either method.

I ended up removing it for reasons related to shared SSL, and it works fine on several sites without it at all as the server determines the path to provide with no issues at all.

Link to comment
Share on other sites

Here is my configure.php

 

<?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', 'http://www.e-naughtyandnice.com'); // 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.e-naughtyandnice.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/try2/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/try2/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/e-naught/public_html/try2/catalog/');

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'xxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'xxxxx');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Thanks for everyone's help. I ended up edited every .php file and changed the base href to a full url link. That fixed the problem.

 

The thing I don't understand is that it had been working for almost a year without any problem. Nothing was modified. Then all of a sudden...it wasn't working. I am assuming the hosting company must have made a change on their servers. It would be nice to know what caused this to stop working from the default install.

 

Thanks again for the help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...