ogwinilo Posted January 12, 2011 Share Posted January 12, 2011 I have installed this contribution, it works perfectly, well almost. When moving away from 'My Account' back to 'Home', I become instantly logged off, requiring that I log on again if I want to continue with whatever I want to do. How can I solve this? Surprisingly, when I copy my store to another directory, I don't have this problem Thanks in advance for any help Felix Quote Link to comment Share on other sites More sharing options...
germ Posted January 13, 2011 Share Posted January 13, 2011 The site isn't making any cookie with the osCid in it so the cart get's dumped. Check the cookie setting in the config file. Try these: define('HTTP_COOKIE_DOMAIN', '.YOUR_DOMAIN.com'); define('HTTPS_COOKIE_DOMAIN', '.YOUR_DOMAIN.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); It also appears your define for HTTP_SERVER has a slash after it when it shouldn't. It probably says: define('HTTP_SERVER', 'http://YOUR_DOMAIN.com/'); Needs to be: define('HTTP_SERVER', 'http://YOUR_DOMAIN.com'); Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
ogwinilo Posted January 14, 2011 Author Share Posted January 14, 2011 Thanks for the response. I have tried this and looked at my account.php. Now I get this error message: Fatal error: Call to a member function add_current_page() on a non-object in /home/woiqqwab/public_html/yebocom.com/includes/application_top.php on line 348 Would appreciate your help with this Felix The site isn't making any cookie with the osCid in it so the cart get's dumped. Check the cookie setting in the config file. Try these: define('HTTP_COOKIE_DOMAIN', '.YOUR_DOMAIN.com'); define('HTTPS_COOKIE_DOMAIN', '.YOUR_DOMAIN.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); It also appears your define for HTTP_SERVER has a slash after it when it shouldn't. It probably says: define('HTTP_SERVER', 'http://YOUR_DOMAIN.com/'); Needs to be: define('HTTP_SERVER', 'http://YOUR_DOMAIN.com'); Quote Link to comment Share on other sites More sharing options...
ogwinilo Posted January 14, 2011 Author Share Posted January 14, 2011 (edited) Now I get this message: Fatal error: Call to undefined function _box() in /home/user/public_html/yebocom.com/includes/columns.php on line 23 How can I solve this? Thanks in advance Felix Edited January 14, 2011 by ogwinilo Quote Link to comment Share on other sites More sharing options...
germ Posted January 14, 2011 Share Posted January 14, 2011 Other than uploading the backup you made before you changed whatever it is you changed to cause the error, I really don't know. Neither the function nor the file it's missing from are part of "standard" osC, so they must be part of your template code (which I am completely unfamiliar with). Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
ogwinilo Posted January 15, 2011 Author Share Posted January 15, 2011 Thanks, decided to do just that, the contribution used doesnt seem to be supported here. The puzzling thing is that copying and pasting the site to another directory works fine. Other than uploading the backup you made before you changed whatever it is you changed to cause the error, I really don't know. Neither the function nor the file it's missing from are part of "standard" osC, so they must be part of your template code (which I am completely unfamiliar with). 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.