muttsnuts Posted August 17, 2006 Share Posted August 17, 2006 Hi, I recently moved hosts and after a few problems my site is now up again. everything on my site works except I can't login to my dummy account, I keep getting re-directed to cookie_usage.php After reading the many hundreds of previous post and carrying out a plethora of suggestions I am now no nearer to solving this issue. Right the contents of my includes/configue.php file are: <?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://www.liquidq.co.uk'); // 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_liquidq.co.uk', 'www.liquidq.co.uk/'); define('HTTPS_COOKIE_liquidq.co.uk', ''); 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/*****/public_html/'); 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', '*****_*******'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', '*****_****'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> --------------------------------------------------------------------------------------------------------------------------- This is what I have set under admin/mystore/sessions session directory = public_html/tmp force cookie use = true check ssl session id = false check user agent = false check ip address = false prevent spider sessions= true recreate sessions = false --------------------------------------------------------------------------------------------------------------------------- I am not using or testing any kind of ssl --------------------------------------------------------------------------------------------------------------------------- Someone recommended editing .htaccess with the following <Ifmodule mod_php4.c> php_value session.use_trans_sid 0 php_value register_globals 1 php_value session.use_cookies 1 </IfModule> But that didn't work ---------------------------------------------------------------------------------------------------------------------------- I don't know if there is any revelance but imediately after the move I received a register_globals error, my host does not give access to php.ini so I had to create a php.ini to allow register_globals and then place this php.ini in my root directory which solved that problem. Again I don't know if this is relevant. ---------------------------------------------------------------------------------------------------------------------------- Everything worked perfectly before the move and I guess i'm losing orders right now as this is a live shop so please, please help. Link to comment Share on other sites More sharing options...
jhsands Posted August 17, 2006 Share Posted August 17, 2006 define('HTTP_COOKIE_DOMAIN', 'www.liquidq.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'www.liquidq.co.uk'); BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
muttsnuts Posted August 17, 2006 Author Share Posted August 17, 2006 define('HTTP_COOKIE_DOMAIN', 'www.liquidq.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'www.liquidq.co.uk'); Thank you so much for your help, I haven't a clue how that got changed as prior to moving servers I just did a backup, uploaded to the new server and made the relevant edits but I know that wasn't one of them, weird. But once again thank you it worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.