Hi,
I have a shared ssl and I have recently set the https in the admin/includes/congif.php and the includes/config.php
All the url are coming okay (which seems to b the major problem in other threads). But my issue is whenever I set the catlog to a secure webserver to true I get this page when I click on checkout or login:
<!-- function update_zone(theForm) { // if there is no zone_id field to update, or if it is hidden from display, then exit performing no updates if (!theForm || !theForm.elements["zone_id"]) return; if (theForm.zone_id.type == "hidden") return; // set initial values var SelectedCountry = theForm.zone_country_id.options[theForm.zone_country_id.selectedIndex].value; var SelectedZone = theForm.elements["zone_id"].value; // reset the array of pulldown options so it can be repopulated var NumState = theForm.zone_id.options.length; while(NumState > 0) { NumState = NumState - 1; theForm.zone_id.options[NumState] = null; } // build dynamic list of countries/zones for pulldown if (SelectedCountry == "1") { theForm.zone_id.options[0] = new Option("Please select ...", ""); theForm.zone_id.options[1] = new Option("Badakhshan", "1"); theForm.zone_id.options[2] = new Option("Badghis", "2"); theForm.zone_id.options[3] = new Option("Baghlan", "3"); theForm.zone_id.options[4] = new Option("Balkh", "4"); theForm.zone_id.options[5] = new Option("Bamian", "5"); theForm.zone_id.options[6] = new Option("Farah", "6"); theForm.zone_id.options[7] = new Option("Faryab", "7"); theForm.zone_id.options[8] = new Option("Ghazni", "8"); theForm.zone_id.options[9] = new Option("Ghowr", "9"); theForm.zone_id.options[10] = new Option("Helmand", "10"); theForm.zone_id.options[11] = new Option("Herat", "11"); theForm.zone_id.options[12] = new Option("Jowzjan", "12"); theForm.zone_id.options[13] = new Option("Kabol", "13"); theForm.zone_id.options[14] = new Option("Kandahar", "14"); theForm.zone_id.options[15] = new Option("Kapisa", "15"); theForm.zone_id.options[16] = new Option("Konar", "16"); theForm.zone_id.options[17] = new Option("Kondoz", "17"); theForm.zone_id.options[18] = new Option("Laghman", "18"); theForm.zone_id.options[19] = new Option("Lowgar", "19"); theForm.zone_id.options[20] = new Option("Nangarhar", "20"); theForm.zone_id.options[21] = new Option("Nimruz", "21"); theForm.zone_id.options[22] = new Option("Oruzgan", "22"); theForm.zone_id.options[23] = new Option("Paktia", "23"); theForm.zone_id.options[24] = new Option("Paktika", "24"); theForm.zone_id.options[25] = new Option("Parvan", "25"); theForm.zone_id.options[26] = new Option("Samangan", "26"); theForm.zone_id.options[27] = new Option("Sar-e Pol", "27"); theForm.zone_id.options[28] = new Option("Takhar", "28"); theForm.zone_id.options[29] = new Option("Vardak", "29"); theForm.zone_id.options[30] = new Option("Zabol", "30"); hideStateField(theForm); } else if (SelectedCountry == "2") { theForm.zone_id.options[0] = new Option("Please select ...", ""); theForm.zone_id.options[1] = new Option("Berat", "31"); theForm.zone_id.options[2] = new Option("Bulqize", "32"); theForm.zone_id.options[3] = new Option("Delvine", "33"); theForm.zone_id.options[4] = new Option("Devoll (Bilisht)", "34"); theForm.zone_id.options[5] = new Option("Diber (Peshkopi)", "35"); theForm.zone_id.options[6] = new Option("Durres", "36"); theForm.zone_id.options[7] = new Option("Elbasan", "37"); theForm.zone_id.options[8] = new Option("Fier", "38"); theForm.zone_id.options[9] = new Option("Gjirokaster", "39"); theForm.zone_id.options[10] = new Option("Gramsh", "40"); theForm.zone_id.options[11] = new Option("Has (Krume)", "41"); theForm.zone_id.options[12] = new Option("Kavaje", "42"); theForm.zone_id.options[13] = new Option("Kolonje (Erseke)", "43"); theForm.zone_id.options[14] = new Option("Korce", "44"); theForm.zone_id.options[15] = new Option("Kruje", "45"); theForm.zone_id.options[16] = new Option("Kucove", "46"); theForm.zone_id.options[17] = new Option("Kukes", "47"); theForm.zone_id.options[18] = new Option("Lac", "48"); theForm.zone_id.options[19] = new Option("Lezhe", "49"); theForm.zone_id.options[20] = new Option("Librazhd", "50"); theForm.zone_id.options[21] = new Option("Lushnje", "51"); theForm.zone_id.options[22] = new Option("Malesi e Madhe (Koplik)", "52"); theForm.zone_id.options[23] = new Option("Mallakaster (Ballsh)", "53"); theForm.zone_id.options[24] = new Option("Mat (Burrel)", "54"); theForm.zone_id.options[25] = new Option("Mirdite (Rreshen)", "55"); theForm.zone_id.options[26] = new Option("Peqin", "56"); theForm.zone_id.options[27] = new Option("Permet", "57"); theForm.zone_id.options[28] = new Option("Pogradec", "58"); theForm.zone_id.options[29] = new Option("Puke", "59"); theForm.zone_id.options[30] = new Option("Sarande", "60"); theForm.zone_id.options[31] = new Option("Shkoder", "61"); theForm.zone_id.options[32] = new Option("Skrapar (Corovode)", "62"); theForm.zone_id.options[33] = new Option("Tepelene", "63"); theForm.zone_id.options[34] = new Option("Tirane (Tirana)", "64"); theForm.zone_id.options[35] = new Option("Tropoje (Bajram Curri)", "65"); theForm.zone_id.options[36] = new Option("Vlore", "66"); hideStateField(theForm); } else if (SelectedCountry == "3") { theForm.zone_id.options[0] = new Option("Please select ...", ""); theForm.zone_id.options[1] = new Option("Adrar", "67"); theForm.zone_id.options[2] = new Option("Ain Defla", "68"); theForm.zone_id.options[3] = new Option("Ain Temouchent", "69"); theForm.zone_id.options[4] = new Option("Alger", "70"); theForm.zone_id.options[5] = new Option("Annaba", "71"); theForm.zone_id.options[6] = new Option("Batna", "72"); theForm.zone_id.options[7] = new Option("Bechar", "73"); theForm.zone_id.options[8] = new Option("Bejaia", "74"); theForm.zone_id.options[9] = new Option("Biskra", "75"); theForm.zone_id.options[10] = new Option("Blida", "76"); theForm.zone_id.options[11] = new Option("Bordj Bou Arreridj", "77"); theForm.zone_id.options[12] = new Option("Bouira", "78"); theForm.zone_id.options[13] = new Option("Boumerdes", "79"); theForm.zone_id.options[14] = new Option("Chlef", "80"); theForm.zone_id.options[15] = new Option("Constantine", "81"); theForm.zone_id.options[16] = new Option("Djelfa", "82"); theForm.zone_id.options[17] = n
This is only a portion of it - it just keeps going through every country. When I have the secure weberver set to false everything works fine - great! But I want to protect my customers information.
I have checked that the url for the secure webserver is correct as I use an image for paypal and it works fine.
my cofig file is such:
Please help as I don't know what to do!!Code:// Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com define('HTTP_SERVER', 'http://www.kravshop.co.uk'); define('HTTPS_SERVER', 'https://secure.hostmonster.com/~aspireho/kravshop'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); 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_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', 'forum/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/aspireho/public_html/kravshop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'database'); define('DIR_FS_SQL_CACHE', '/home/aspireho/public_html/kravshop/cache'); ?>![]()


Well it has been a while and still no help with this issue! This was my first time using this forum to actually post a question. I wish I had some help - oh well. Obvisously no one is willing. 

