brianj50 Posted July 12, 2003 Share Posted July 12, 2003 I am a dumb newbie and totally lost here. I installed oscommerce from the cpanel of my web provider and it seemed to work. I put a product into my stock and tried to purchase it. It went into my shopping cart but when I go to check out I get " The page cannot be displayed" This is what showsin the command bar. https://mdwdirect.com/mdwstore/checkout_shi...ce35f59d7acfa29 Can anyone tell me what I need to do to get this to work right. Thanks in advance brianj Link to comment Share on other sites More sharing options...
xxGeek Posted July 12, 2003 Share Posted July 12, 2003 i belive your ssl isn't set right :wink: The more you do, the more you learn Link to comment Share on other sites More sharing options...
brianj50 Posted July 12, 2003 Author Share Posted July 12, 2003 i belive your ssl isn't set right :wink: How do I check Link to comment Share on other sites More sharing options...
xxGeek Posted July 12, 2003 Share Posted July 12, 2003 you will need to make changes to your configre.php files in both admin and catalog sections Ps how did you install this? and what is your ssl path, from what it looks like you're on a shared ssl>> when i tried calling your page like such https://mdwdirect.com comes up not found when done without ssl it is fine if your on a shared ssl most likely your path will look something like this https://ssl.host.com/~account_name but this info you need to get from the host The more you do, the more you learn Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 Your configure.php file can be found in the /catalog/includes and /admin/includes folders. Link to comment Share on other sites More sharing options...
brianj50 Posted July 12, 2003 Author Share Posted July 12, 2003 I found out that the path is https://secure.l40dns.net/~mdwdire/ Can you tell me how to change it so it will work Link to comment Share on other sites More sharing options...
xxGeek Posted July 12, 2003 Share Posted July 12, 2003 could you tell me which version you're using if it the ms2 snap it is different than 2.2 snaps there are some variatoins in cookes once i know that i'll post the code you need to change but an idea would be to look for it in .../catalog/includes/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://mdwdirect.com/mdwstore'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.l40dns.net/~mdwdire/mdwstore'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? and the ..../catalog/admin/includes/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://mdwdirect.com/mdwstore'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_CATALOG_SERVER', 'https://secure.l40dns.net/~mdwdire/mdwstore'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module let me know if it helped :wink: :arrow: The more you do, the more you learn Link to comment Share on other sites More sharing options...
brianj50 Posted July 12, 2003 Author Share Posted July 12, 2003 does the ssl path https://secure.l40dns.net/~mdwdire/ go in here somewhere. <?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://mdwdirect.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mdwdirect.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/mdwstore/'); // absolute path required 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/home/mdwdire/public_html/mdwstore/'); define('DIR_FS_CATALOG', '/home/mdwdire/public_html/mdwstore/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'mdwdire_osc1'); define('DB_SERVER_PASSWORD', '{VIRvnsMGICX'); define('DB_DATABASE', 'mdwdire_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
xxGeek Posted July 12, 2003 Share Posted July 12, 2003 i fordot to mention that this code ^-^-^-^ should match the one you have as i put in your server specs (i think :) let me know if it helps :wink: The more you do, the more you learn Link to comment Share on other sites More sharing options...
brianj50 Posted July 12, 2003 Author Share Posted July 12, 2003 It is version 2.2 MS1 Link to comment Share on other sites More sharing options...
xxGeek Posted July 12, 2003 Share Posted July 12, 2003 tes it does notice the changes your line define('HTTPS_SERVER', 'https://mdwdirect.com'); should be define('HTTPS_SERVER', 'https://secure.l40dns.net/~mdwdire' ); [/code] The more you do, the more you learn Link to comment Share on other sites More sharing options...
xxGeek Posted July 12, 2003 Share Posted July 12, 2003 and on a personal not never post these lines again // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'mdwdire_osc1'); define('DB_SERVER_PASSWORD', '{VIRvnsMGICX'); define('DB_DATABASE', 'mdwdire_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' those contain sensetive information that protect your store and overall security of your database and could be very dangerous when relased to the public so i sugest you change the DB username and password if you have problems doing that please, pm me or email me, i'll walk you through it :!: The more you do, the more you learn Link to comment Share on other sites More sharing options...
badjuju Posted July 13, 2003 Share Posted July 13, 2003 I hope you change all your passwords quickly. Everyone now knows what they are. does the ssl path https://secure.l40dns.net/~mdwdire/ go in here somewhere. // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'mdwdire_osc1'); define('DB_SERVER_PASSWORD', '{VIRvnsMGICX'); define('DB_DATABASE', 'mdwdire_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
brianj50 Posted July 13, 2003 Author Share Posted July 13, 2003 Yes everything is changed, thanks for your help Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.