Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't see pictures in explorer


bdyaniv

Recommended Posts

Hi,

Please respond quick if you know what the problem is.

www.kungfudvd.com

can't see any picture in explorer but yes in mozila

 

good people please help me

 

<BASE href="">

Treasurer MFC

Link to comment
Share on other sites

In catalog/includes/configure.php set these two lines exactly the same (to the http addess)

 

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

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

 

Your server is acting a little wonky, it's a common problem.

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

In catalog/includes/configure.php set these two lines exactly the same (to the http addess)

 

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

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

 

Your server is acting a little wonky, it's a common problem.

 

Thanks,

Actually some one else fixed it for me before I saw this message. I didn't look at this file you mentioned before, so basically you are saying that configure.php was changed to something else ? (http...) Thanks again

Whatever you do Be Goooood

Link to comment
Share on other sites

Thanks,

Actually some one else fixed it for me before I saw this message. I didn't look at this file you mentioned before, so basically you are saying that configure.php was changed to something else ? (http...) Thanks again

Depends on who fixed it. If it was the server techies they probably fixed it the right way.

 

This happens when your server is telling osC that an SSL connection has been established when there actually is none. It happens a lot, server techies seem to screw this up pretty often.

 

My little work around just makes the store use the http server even if the server is sending a bad message. They usually catch the problem sooner or later and always will if they set up dedicated ssl.

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

In case someone else stumbles across this thread take note that these lines in configure.php must be the same for http and https for the workaround to work.

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

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

lol, you rock, I messed with that file for 3 days trying to get my pictures to show up, for some reason it also took that long for me to get my registration code so that I could post....

 

Pictures work now :D

 

Thanks,

K6

 

By the way it looks like I'm switching to osCommerce from Cube Cart, Cube Cart had too many bugs that no one seemed to be able to resolve making it unusable to my customers.

Link to comment
Share on other sites

lol, you rock, I messed with that file for 3 days trying to get my pictures to show up, for some reason it also took that long for me to get my registration code so that I could post....

 

Pictures work now :D

 

Thanks,

K6

 

By the way it looks like I'm switching to osCommerce from Cube Cart, Cube Cart had too many bugs that no one seemed to be able to resolve making it unusable to my customers.

 

I'm happy you solved your image problem,

Actually because someone else fix it for me, I still don't know what the problem was.

I guess it was what AlanR said:

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

 

but I will be happy to get explanation of this subject, Thanks

Whatever you do Be Goooood

Link to comment
Share on other sites

I'm happy you solved your image problem,

Actually because someone else fix it for me, I still don't know what the problem was.

I guess it was what AlanR said:

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

 

but I will be happy to get explanation of this subject, Thanks

I didn't mean for anyone to take those blank lines literally.

 

They'd be

 

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

define('HTTPS_COOKIE_DOMAIN', 'www.sumdomain.com');

define('HTTP_COOKIE_PATH', 'catalog');

define('HTTPS_COOKIE_PATH', 'catalog');

define('DIR_WS_HTTP_CATALOG', 'catalog');

define('DIR_WS_HTTPS_CATALOG', 'catalog');

 

assuming you're using the catalog folder. If you're in the root directory the paths would be '/'

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

Archived

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

×
×
  • Create New...