Al Brookbanks Posted June 9, 2016 Share Posted June 9, 2016 Credit to @bsmither not me. I'll demote myself to tea boy. Infact it's 6pm so lets say "Beer Boy". Cheers! Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 9, 2016 Share Posted June 9, 2016 Quote "Manually set to:" $cookie_domain = '.sitename.co.uk'; ini_set('session.cookie_domain',$cookie_domain); I suggest restoring that code in session.class.php to its original: $cookie_domain = $GLOBALS['config']->get('config', 'cookie_domain'); if(!empty($cookie_domain) && strstr($GLOBALS['storeURL'],ltrim($cookie_domain,'.'))) { ini_set('session.cookie_domain',$cookie_domain); } I understand that at times it is necessary to override what CubeCart automatically determines what the most appropriate value should be. Also know that almost all $GLOBALS['config'] keys/values can be created and overridden in the /includes/global.inc.php file. For example, on a localhost development machine, I have: $glob['cookie_domain'] = '127.0.0.1'; among other necessary overrides. No doubt a contributing factor was the security setting of the web browser -- domain mismatch equals no cookie sent. Which is not a bad thing! I am still concerned about why the GUI instantiation got lost. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 9, 2016 Share Posted June 9, 2016 Looks like I was too quick to mark this as resolved. Will remove it for now. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 9, 2016 Share Posted June 9, 2016 If the OP says all is good, then that's it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.