kolakubes Posted December 16, 2004 Posted December 16, 2004 Hiya all >_< I'm quite new to this shopping cart thingy, problem I have is when I installed it with SSL , when i goto a checkout page i get the page not found error, I have created the key/certificate/CSR using my web hosting control panel , I have read thru a few articles but i still cannot find whats wrong, can anyone help? Heres my config file. define('HTTP_SERVER', 'http://www.mysite.org'); define('HTTPS_SERVER', 'https://www.mysite.org'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mysite.org'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.org'); 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/mysite/public_html/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', 'db1.mysite.org'); define('DB_SERVER_USERNAME', 'my_username'); define('DB_SERVER_PASSWORD', 'my_password'); define('DB_DATABASE', 'my_shop'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); And my Admin Config File define('HTTP_SERVER', 'http://www.mysite.org'); define('HTTP_CATALOG_SERVER', 'http://www.mysite.org'); define('HTTPS_CATALOG_SERVER', 'https://www.mysite.org'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/mysite/public_html/catalog/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/home/mysite/public_html/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/mysite/public_html/catalog/'); 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/'); And I can seems to find which file contains the admin settings? can anyone tell me where i can locate these settings taht i saw on another post? Session Directory /tmp Force Cookie Use True Check SSL Session ID True Check User Agent True Check IP Address False Prevent Spider Sessions True Recreate Session True I have just emailed my hosting company asking where I would find secure server as my package includes this, can I assume that Im already situated at 1? if so where and which file do I point this to? sorry, but they are known to take ages to reply. Any help would be appreciated
Daemonj Posted December 16, 2004 Posted December 16, 2004 Verify with your host that your site is setup so that when in SSL mode it still looks to the standard folder for files. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
kolakubes Posted December 16, 2004 Author Posted December 16, 2004 Verify with your host that your site is setup so that when in SSL mode it still looks to the standard folder for files. <{POST_SNAPBACK}> Thanks a mill for replying so quickly, i ll go hassle em now :thumbsup: me hosting company.
♥Vger Posted December 16, 2004 Posted December 16, 2004 Force Cookie Use True - make this false define('STORE_SESSIONS', 'mysql'); Vger
♥Vger Posted December 16, 2004 Posted December 16, 2004 I have created the key/certificate/CSR using my web hosting control panel Did you then buy and install an ssl cert? Vger
kolakubes Posted December 16, 2004 Author Posted December 16, 2004 Force Cookie Use True - make this false define('STORE_SESSIONS', 'mysql'); Vger <{POST_SNAPBACK}> Im still trying to find the file that contains these settings :blush:
kolakubes Posted December 16, 2004 Author Posted December 16, 2004 Did you then buy and install an ssl cert? Vger <{POST_SNAPBACK}> On my control panel from me hosting company, theres a section "SSL Manager", and it says "The SSL Manager will allow you to generate ssl certificates, signing requests, and keys. " So I created a key, Certificate Signing Request and Certificate, ( I have no Idea how it works). so from this I presume that I have actually created one. What I do not know is where my secure server is, I have seem post from others hoping to get a better Idea, as some have it pointing to somewhere else externally, or am I actually sitting on one? Any help would be appreciated.
kolakubes Posted December 18, 2004 Author Posted December 18, 2004 Im still having probs, but Im not sure now if its something else or with my SSL, My Webpage When I set "Force cookie used = False" , every time i check out there is nothing there in the cart, and I get the login page, after i filled in it just takes me back to the homepagea and then the cart contents shows up. When I set "Force cookie used = True" , every time i check out i get taken to the cookie usage warning page and nothing there in the cart either. On the address it tells me im in the https:// pages and the padlock shows up, I have been playing with this non stop over the last day and fast running out of ideas. can anyone show me the light ? me config file define('HTTP_SERVER', 'http://www.justpchelp.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://server6.dedicateduk.com/~justpche'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.justpchelp.com'); define('HTTPS_COOKIE_DOMAIN', 'www.justpchelp.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); 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/justpche/public_html/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', 'xxx.xxxxxxxx.xxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxxx); define('DB_SERVER_PASSWORD', 'xxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' me Admin Config file define('HTTP_SERVER', 'http://www.justpchelp.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.justpchelp.com'); define('HTTPS_CATALOG_SERVER', 'https://server6.dedicateduk.com/~justpche'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/justpche/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/justpche/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/justpche/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/'); // define our database connection define('DB_SERVER', 'xxx.xxxxx.xxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxx'); define('DB_DATABASE', 'xxxxxxxx'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Me Admin Settings Session Directory /tmp Force Cookie Use True Check SSL Session ID False Check User Agent False Check IP Address False Prevent Spider Sessions False Recreate Session True Can some tell me from My Webpage if the SSL is setup correctly or im assuming it to be working? Many thanks
TCwho Posted December 18, 2004 Posted December 18, 2004 catalog/includes/configure.php should be: define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog'); define('HTTPS_COOKIE_PATH', '/catalog'); try that...and also: set force cookie to false Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
kolakubes Posted December 18, 2004 Author Posted December 18, 2004 Thx a million Danilov Seems to work a treat now, havent got time to check it all out as i havent slept in days trying to get it to work, really appreciate all those who have contributed to this post.
TCwho Posted December 18, 2004 Posted December 18, 2004 Thx a million Danilov Seems to work a treat now, havent got time to check it all out as i havent slept in days trying to get it to work, really appreciate all those who have contributed to this post. <{POST_SNAPBACK}> no problem :) glad to help seems to be working fine...I can add to cart>>continue shopping>>>go to create account :thumbsup: Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
Recommended Posts
Archived
This topic is now archived and is closed to further replies.