Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images now showing up in IE


Amc5kidz

Recommended Posts

For now, set this line in includes/configure.php

 

define('HTTPS_SERVER', ''); // eg, https://localhost

 

exactly the same as you have this one

 

define('HTTP_SERVER', ''); // eg, https://localhost

 

so, it'll be:

 

define('HTTPS_SERVER', 'www.mohabirrecords.com'); // eg, https://localhost

 

Your server is a little confused about its ssl settings.

 

You've got some big ass images loading there. They take a long time,

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

The reason your page is not loading correctly in IE, but loading OK in Firefox, is that IE is actually more fussy about your configuration settings. For instance - your configure.php files are blank when it comes to http_server settings.

 

includes/configure.php should be as follows:

 

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

define('HTTPS_SERVER', ''); // leave empty - you don't have a certificate

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

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

define('HTTPS_COOKIE_DOMAIN', ''); // leave empty

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', ''); // leave empty

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', ''); // leave empty

 

Vger

Link to comment
Share on other sites

The reason your page is not loading correctly in IE, but loading OK in Firefox, is that IE is actually more fussy about your configuration settings.  For instance - your configure.php files are blank when it comes to http_server settings.

 

includes/configure.php should be as follows:

 

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

define('HTTPS_SERVER', ''); // leave empty - you don't have a certificate

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

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

define('HTTPS_COOKIE_DOMAIN', ''); // leave empty

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', ''); // leave empty

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', ''); // leave empty

 

Vger

 

Im probably having something of a similar error. I can load images nicely in IE and Firefox. Viewing the admin panel works fine with Firefox, but gives me an error with IE. Any idea what setting Im screwing up?

 

Secondly, viewing uploaded images in the admin panel is non functional at the momemt. Its looking for the images in http://my.site/myAdminPanel/catalog/images/

when in fact they are all placed in http://my.site/catalog/images/ ... Any idea how to fix that ?

Link to comment
Share on other sites

Check that your catalog/admin/includes/configure.php file is correctly set up.  Many people don't realise at first that there are TWO configure.php files.

 

Vger

 

 

I did realize that after messing about with osCommerce for the first hour :P

Changing anything in there though, seems to make something else not work. If I change the urls so that pictures are shown correctly on the admin panel, I get the error message that the upload directory doesnt exist .. which Im assuming will cause images attempted uploaded to fail, thus disallowing both admin and user viewing the pictures.

 

As is now, uploaded images are stored fine, and they are displayed to the customer, but the admin cant see them. A bit annoying.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...