Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images looking in https:// when they're at http://


Rob is Busy

Recommended Posts

recompiled apache/php - all better now.

You should go and give the folks at that other hosting company a hand.

 

:rolleyes:

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

  • 4 weeks later...

Are you building manual links in your files ?

 

OS Commerce uses a link function to build URLs. If you make an anchor tag manually (ex: <a href="thispage.php">) then you will have these problems.

 

All links should be built using the tep_href_link() function like so:

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.gif', SLOGAN) . '</a>'; ?>

 

If you don't use the link function then your links will default to SSL since it is the first option in the $request_type variable by default.

Link to comment
Share on other sites

Are you building manual links in your files ?

 

OS Commerce uses a link function to build URLs. If you make an anchor tag manually (ex: <a href="thispage.php">) then you will have these problems.

 

All links should be built using the tep_href_link() function like so:

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.gif', SLOGAN) . '</a>'; ?>

 

If you don't use the link function then your links will default to SSL since it is the first option in the $request_type variable by default.

:rolleyes:

 

Did you look at the site?

 

It's an absolutely stock demo osC install. I doubt he was tinkering with building links.

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

I'm having the same problem, I fixed it temporarily by switiching off SSL support on my server, but I would like to know how to set it up correctly so that it wouldn't screw up osCommerce. Can someone explain to me how to do it?

 

Thanx

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...