jkz Posted June 16, 2009 Posted June 16, 2009 Houston, I have a problem: -- There should be running a ssl-secure-OsCommerce-webshop on https://www.herzglut.com -- There should be running a normal portfolio website on http://www.herzglut.com (It's a MySQL database driven Wordpress Installation.) Obviously I've made some mistakes configuring the OSCommerce "configure.php"-files. There are two things not working anymore: ((1)) ------------------- If I go into my webshop (Beta-version) on https://www.herzglut.com/ and put an article in the cart, view the cart and then go to "Checkout", the server is taking me to the wrong address www.herzglut.comhttp. ------> https://www.herzglut.com/shopping_cart.php?osCs TAKES ME TO: --> https://www.herzglut.comhttps//www.herzglut.../login.php?osCs BUT SHOULD NORMALLY TAKE ME TO: https://www.herzglut.com/login.php?osCs ------------------- ((2)) ------------------- The contents of my normal web-portfolio on the http://-side "http://www.herzglut.com" are no longer distributed even if they're all in the database correctly. The only thing that's working right now is the homepage http://herzglut.com/index.php. What's wrong here? I didn't change anything here, all the changes that could have caused this mistake are changes on the database/files/configuration of the OSCommerce store. ------------------- The content of the file (https://www.herzglut.com/) includes/configure.php: ------------------- // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'https://www.herzglut.com'); define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', 'https://www.herzglut.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); define('DIR_WS_ADMIN', 'admin/'); define('DIR_FS_ADMIN', 'admin/'); define('DIR_WS_CATALOG', ''); define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); 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', 'localhost'); define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'herzglut******'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); ?> ------------------- ------------------- The content of the file (https://www.herzglut.com/) admin/includes/configure.php: ------------------- // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'https://www.herzglut.com'); define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', 'https://www.herzglut.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); define('DIR_WS_ADMIN', 'admin/'); define('DIR_FS_ADMIN', 'admin/'); define('DIR_WS_CATALOG', ''); define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); 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', 'localhost'); define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'herzglut******'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); ?> ------------------- ANY HELP IS VERY MUCH APPRECIATED!
BryceJr Posted June 16, 2009 Posted June 16, 2009 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://www.herzglut.com'); define('HTTPS_SERVER', 'https://www.herzglut.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.www.herzglut.com'); define('HTTPS_COOKIE_DOMAIN', '.www.herzglut.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); 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_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'herzglut******'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); admin/includes/configure.php: ------------------- // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'https://www.herzglut.com'); define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', 'https://www.herzglut.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/herzglut.com/httpsdocs/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); 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', 'localhost'); define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'herzglut******'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql');
BryceJr Posted June 16, 2009 Posted June 16, 2009 // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '******'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'herzglut******'); define('USE_PCONNECT', 'true'); <--Are you certain about this? define('STORE_SESSIONS', 'mysql');
jkz Posted June 17, 2009 Author Posted June 17, 2009 Thanks very much. This didn't work for me, unfortunately. I got some new errors, but more important: the http://www.herzglut.com -side still isn't here. I'm getting a bit desperate. Reading through the forum I found some better here settings for the admin/configure.php ((31 ... Get the links and files to work properly in Admin when installing into a root directory?)); see below in red. Is there anything similar for the "configure.php"-file in the root? // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'https://www.herzglut.com/'); define('HTTP_CATALOG_SERVER', 'http://www.herzglut.com/'); define('HTTPS_CATALOG_SERVER', 'https://www.herzglut.com/'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); define('DIR_WS_ADMIN', 'admin/'); define('DIR_FS_ADMIN', '/home/httpd/vhosts/herzglut.com/httpsdocs/admin/'); define('DIR_WS_CATALOG', '../'); define('DIR_FS_CATALOG', '/home/httpd/vhosts/herzglut.com/httpsdocs/'); 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/');
jkz Posted June 17, 2009 Author Posted June 17, 2009 OK, I found out with try and error. The configuration for the configure.php in the root is: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', ''); define('HTTPS_SERVER', 'https://www.herzglut.com/'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', 'https://www.herzglut.com/'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_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/httpd/vhosts/herzglut.com/httpsdocs/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
jkz Posted June 17, 2009 Author Posted June 17, 2009 NO HEADING FOR THE "http://..." section. Man, oh man, this is harder than I thought...
jkz Posted June 17, 2009 Author Posted June 17, 2009 I wanted to say: NOW HEADING FOR THE... Man, my school english is poor... Wished it was pure :-)
BryceJr Posted June 17, 2009 Posted June 17, 2009 You need to replicate ALL the catalog files files in both httpdocs AND httpsdocs folder Something to consider... This >>one and >>another.
jkz Posted June 17, 2009 Author Posted June 17, 2009 Only wanting a shop on https://dadadada.com On http://dadadada.com should be something completely different (= NO shop). As the problem started (http:// database-files not showing up) , when I firstly had filled in the "http://..." within the configure.php file, I tried to take these infos out of configure.php. Now I'm trying to again put it back in (slowly everything one by one...) This should go fine with my hosting-provider as you can see on the homepages... It's 1) a database conflict or 2) a configure.php problem. Thanks very much for your time!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.