discomonkey Posted November 30, 2004 Share Posted November 30, 2004 I started having all these crazy problems with my cart and I'm considering starting from scratch, but I first wanna double check my configs, could someone with a working implementation of SSL post both their config files??? Link to comment Share on other sites More sharing options...
ozcsys Posted November 30, 2004 Share Posted November 30, 2004 I started having all these crazy problems with my cart and I'm considering starting from scratch, but I first wanna double check my configs, could someone with a working implementation of SSL post both their config files??? <{POST_SNAPBACK}> Everyones is going to be different depending on the server setup and whether or not you are using a shared ssl. The best thing to do is post a url and your configure.php file (minus the database info) if you are having a problem and we can take a look and maybe see what is incorrect. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
discomonkey Posted November 30, 2004 Author Share Posted November 30, 2004 alright http://www.martinadesigns.com/catalog My images won't show up because my thumbnailer is malfunctioning. If you click on em they show up fine however. I have additional images v1.11 installed as well, and if you browse the shawls and click on the ones that have additional images, you can see that I have a big problem there. Here are my configs: <?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', true); // 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/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // STS: ADD: Define Simple Template System files 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'); // STS: EOADD ?> <?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('HTTP_CATALOG_SERVER', 'http://www.martinadesigns.com/catalog'); define('HTTPS_CATALOG_SERVER', 'https://www.martinadesigns.com/catalog'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/neen/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/neen/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/neen/public_html/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2004 Share Posted November 30, 2004 in one of the configure.php files you have https://domainname.com the other you have https://www.domainname.com this is also echoed across (for lack of better terminology) for the oscid when switching from nonsecure to secure. Link to comment Share on other sites More sharing options...
discomonkey Posted November 30, 2004 Author Share Posted November 30, 2004 ok, fixed that. I also fixed my thumbnailer. My last problem are my pages with additional images module. (http://www.oscommerce.com/community/contributions,1032/) http://www.martinadesigns.com/catalog/prod...products_id=114 By comparing the sources of additional image products and ones that don't have them, it seems that the main difference occurs in product_info <?php $images_product = tep_db_query("SELECT additional_images_id, products_id, images_description, medium_images, popup_images FROM " . TABLE_ADDITIONAL_IMAGES . " WHERE products_id = '" . $_GET['products_id'] . "'"); if (!tep_db_num_rows($images_product)) { ?> <br> <?php } else { ?> <!-- additional_images //--> <table width="100%"> <tr> <td> ---> no more content after this **************** <?php $info_box_contents = array(); $row = 0; $col = 0; while ($new_products = tep_db_fetch_array($images_product)) { basically I think $images_product = tep_db_query("SELECT additional_images_id, products_id, images_description, medium_images, popup_images FROM " . TABLE_ADDITIONAL_IMAGES . " WHERE products_id = '" . $_GET['products_id'] . "'"); doesn't return anything, which is a problem. I guess there is no way anyone can really help me on this, I have to reinstall the module and if It doesnt' work just take it out altogether. Any good suggestions on additional image modules?? Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2004 Share Posted November 30, 2004 the module works, as i have installed it on 4 sites the last few weeks . . . just be patient, and follow the instructions thouroughly Link to comment Share on other sites More sharing options...
discomonkey Posted December 1, 2004 Author Share Posted December 1, 2004 I pin pointed my exact problem. in additional_images.php (which is in the modules folder): new imagesBox($info_box_contents); crashes. When I comment that line out, my page loads just fine, just without any additional images. $info_box_contents is a 2d array, and I checked all of its contents and they are being extracted from my DB just fine. I even scrubbed the %20's out of the filenames, but no dice. I tried searching for a match in my site for imagesBox(), but I couldn't find one. Do you know anything about imagesBox()? Link to comment Share on other sites More sharing options...
discomonkey Posted December 1, 2004 Author Share Posted December 1, 2004 Ok well, I'm an idiot. The reason why I couldn't find imagesBox() was it didn't exist. So I was calling a function that was not defined because I Overwrote boxes.php with another contribute and deleted step12 :thumbsup: Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 ahh, yes, better to use code compare software rather than overwriting . . . Link to comment Share on other sites More sharing options...
discomonkey Posted December 1, 2004 Author Share Posted December 1, 2004 any good suggestions for win32? Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 i use beyond compare, you can download a 30 day trial, works great Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.