AlanR Posted April 19, 2004 Posted April 19, 2004 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)
escv Posted May 17, 2004 Posted May 17, 2004 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.
AlanR Posted May 17, 2004 Posted May 17, 2004 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)
melveile Posted May 24, 2004 Posted May 24, 2004 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.