Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! - Images Not displaying


discomonkey

Recommended Posts

hey guys, my beautiful cart is busted right now because all of the images won't display. They are all broken (http://www.martinadesigns.com/catalog/) I have STS, header tag controller, additional images, info pages, and the thumbnail modules installed. I just finished additional images, and everything was working fine, but when I came back and checked the site again, everything was broken.

 

Apparently the images have a src with https, which I do not have enabled. I think there might be a problem with either the tep() function thats called for images or I somehow messed it up by enabling ssl or some other option.... I just have no idea. Can anyone see how something like this could happen??

 

-Chris

Link to comment
Share on other sites

my configure looks like this:

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 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://www.martinadesigns.com'); // eg, http://localhost - should not be empty for productive servers

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

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

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

define('HTTPS_COOKIE_DOMAIN', 'martinadesigns.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/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/neen/public_html/martinadesigns/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', '####'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '####');

define('DB_SERVER_PASSWORD', '####');

define('DB_DATABASE', '####');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

// STS ADDITIONS

define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');

define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

?>

 

the .thumb is part of the autothumbnailer addon, so that should be fine. the root of the problem is the https thing I'm sure I just do'nt know why its doing that since I have SSL turned off!

Link to comment
Share on other sites

First thing is - now that you have posted your User Name and Password on a public forum - you had better change them pronto!

 

You have declared ssl as false, but then included pathways for https, as in

 

'https://martinadesigns.com' //leave this blank, just the two apostrophies

 

define('HTTPS_COOKIE_DOMAIN', 'martinadesigns.com'); //leave this blank as well

 

define('HTTPS_COOKIE_PATH', '/catalog/'); // same here

 

define('DIR_WS_HTTPS_CATALOG', '/catalog/'); // same here

 

I have no idea if this is causing your problem, but it won't hurt (and may help) by declaring them correctly.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...