Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ahhh- Help!! -> Shows SSL but I dont have it


mijman2

Recommended Posts

Posted

Hi,

 

I went to my site around 2:30 and everything was fine.... Then I went to it again at 3:40 and all of the images are not being displayed...

I looked in the admin panel and it says"

You are protected by a unknown secure SSL connection."

 

-What does this mean? how can I get it to change back? - PLEASE HELP!!!

Posted

Looks like you have an error in your configure.php file. My guess is that there's a blank in the definition of HTTP_SERVER. Or it may be something else. Note that the URL for your images look like this: "http:///images/iPodXtrasBanner.jpg". Three slashes after HTTP and no domain name! Maybe the blank is in the define for the IMAGES folder. Oh, and it can't find your stylesheet either...

Posted

Whats this mean?

-How do I fix it?

-I did not edit my site at all between the first time i viewed it and the 2nd time i viewed it

Posted

Don't know - I can't see what you did. Post your configure.php from the catalog here (leave out the bottom part with the username and password.)

 

I see you're using frames - that may complicate things. I am not familiar with using osC and frames.

Posted

I'm on freepgs.com

-OSC ms2

 

Here is the config.php

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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://freepgs.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', 'freepgs.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/mijman2/catalog/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/mijman2/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/httpd/vhosts/freepgs.com/httpdocs/mijman2/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

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>'; ?>

Archived

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

×
×
  • Create New...