mijman2 Posted May 17, 2004 Posted May 17, 2004 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!!!
stevel Posted May 17, 2004 Posted May 17, 2004 Ignore for now what it says in admin. Please give us a URL for your site so we can take a look. There's no generic answer to your question. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
mijman2 Posted May 17, 2004 Author Posted May 17, 2004 www.ipodxtras.com or freepgs.com/mijman2/catalog
stevel Posted May 17, 2004 Posted May 17, 2004 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... Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
mijman2 Posted May 17, 2004 Author Posted May 17, 2004 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
stevel Posted May 17, 2004 Posted May 17, 2004 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. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
mijman2 Posted May 17, 2004 Author Posted May 17, 2004 I only noticed it when the unknown ssl showed up... Ahh!!!
stevel Posted May 17, 2004 Posted May 17, 2004 Are you guys on the same host by any chance? Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
mijman2 Posted May 17, 2004 Author Posted May 17, 2004 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/');
escv Posted May 17, 2004 Posted May 17, 2004 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>'; ?>
stevel Posted May 17, 2004 Posted May 17, 2004 Oh, I see. You need HTTP_SERVER to include your "personal subfolder",like this: define('HTTP_SERVER'. 'http://freepgs.com/mijman2'); and take the /mijman2 out of the COOKIE_PATH and HTTP_CATALOG. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Recommended Posts
Archived
This topic is now archived and is closed to further replies.