Wordpro Posted July 3, 2005 Posted July 3, 2005 Hello, I have a very big problem! When I click on any link in my pages the layout changes: the right colum is mixed with the left colum, the footer informations are display incorrectly etc... but when i re-click on that link the layout is displayed correctly. If rere-click the layout is displayed incorrectly. I found a solution to this problem in the admin configuration: I changed this Force Cookie Use = false Check SSL Session ID = false Check User Agent = False Check IP Address = False Prevent Spider Sessions = false Recreate Session = false to Force Cookie Use = True Check SSL Session ID = True Check User Agent = False Check IP Address = False Prevent Spider Sessions = True Recreate Session = True Now the layout is displayed correctly and the strange urls (example: http://rockhound/portale/index.php?osCsid=861164cde4b95003532da4273e9fb64d) that I see before are gone. Now there is another problem... If I try to go to 'My account' or 'Checkout' the page displayed is cookie_usage.php and I can't login or register. My configure.php settings: ----------------------------------- define('HTTP_SERVER', 'http://rockhound'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'rockhound'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/portale/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/portale/'); 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', 'c:/program files/easyphp/www/portale/'); 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 empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'db_portale1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); ------------------------------------------ I use easyphp 1.6 and my osCommerce is 2.2 MS 2 Any ideas?
mi_jaiten Posted July 3, 2005 Posted July 3, 2005 Hello, I have a very big problem!When I click on any link in my pages the layout changes: the right colum is mixed with the left colum, the footer informations are display incorrectly etc... but when i re-click on that link the layout is displayed correctly. If rere-click the layout is displayed incorrectly. I found a solution to this problem in the admin configuration: I changed this Force Cookie Use = false Check SSL Session ID = false Check User Agent = False Check IP Address = False Prevent Spider Sessions = false Recreate Session = false to Force Cookie Use = True Check SSL Session ID = True Check User Agent = False Check IP Address = False Prevent Spider Sessions = True Recreate Session = True Now the layout is displayed correctly and the strange urls (example: http://rockhound/portale/index.php?osCsid=861164cde4b95003532da4273e9fb64d) that I see before are gone. Now there is another problem... If I try to go to 'My account' or 'Checkout' the page displayed is cookie_usage.php and I can't login or register. My configure.php settings: ----------------------------------- define('HTTP_SERVER', 'http://rockhound'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'rockhound'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/portale/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/portale/'); 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', 'c:/program files/easyphp/www/portale/'); 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 empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'db_portale1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); ------------------------------------------ I use easyphp 1.6 and my osCommerce is 2.2 MS 2 Any ideas? <{POST_SNAPBACK}> Mine is like this: Session Directory /tmp Force Cookie Use False Check SSL Session ID True Check User Agent False Check IP Address False Prevent Spider Sessions False Recreate Session False change these from define('HTTP_SERVER', 'http://rockhound'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'rockhound'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/portale/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/portale/'); define('DIR_WS_HTTPS_CATALOG', ''); to define('HTTP_SERVER', 'http://www.rockhound.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.rockhound.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/portale/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/portale/'); define('DIR_WS_HTTPS_CATALOG', ''); I think you'll find this one define('DIR_FS_CATALOG', 'c:/program files/easyphp/www/portale/'); is where your files are on your PC I think this should be the same as your Root path in your admin/includes/configure.php also check you have this set up correctly. Michelle
Wordpro Posted July 3, 2005 Author Posted July 3, 2005 define('HTTP_SERVER', 'http://www.rockhound.com'); define('HTTP_COOKIE_DOMAIN', 'www.rockhound.com'); This changes are wrong because my osCommerce is host in local with easyphp. Mine is like this: Session Directory /tmp Force Cookie Use False Check SSL Session ID True Check User Agent False Check IP Address False Prevent Spider Sessions False Recreate Session False I've made the changes but the problem still remain.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.