Pilly Posted July 12, 2006 Share Posted July 12, 2006 Heres my problem, On first visiting my test site here the menu is ok, after visiting a category on the menu defaults back to the original menu and the dhtml menu never returns. Im sure its something to do with cookies or sessions. configure.php define('HTTP_COOKIE_DOMAIN', '.xyz.com'); define('HTTP_COOKIE_PATH', '/directory/'); define('STORE_SESSIONS', 'mysql'); the catalog is in a directory off the root. Ive tried another 2 other menu contribs and its the same with them. Anyone with any ideas on whats going on as ive done so many searches on this subject its driving me mad? :( Quote Link to comment Share on other sites More sharing options...
Pilly Posted July 14, 2006 Author Share Posted July 14, 2006 this is now winding me up.... no idea whats causing it. :angry: Quote Link to comment Share on other sites More sharing options...
choosealogin Posted July 14, 2006 Share Posted July 14, 2006 See if you have caching turned ON. Your admin panel >> configuration >>cache The stock osC caching only works when there's no session id present. On the first page view, there is one...and on subsequent ones there is not (that's normal) ...so that might explain why the stock menu reappears on the second click. safani 1 Quote Link to comment Share on other sites More sharing options...
Pilly Posted July 14, 2006 Author Share Posted July 14, 2006 Cool.... Ive turned it off.. seems to have done the job. you my friend are a star! Ive spent hours searching the forums!! Quote Link to comment Share on other sites More sharing options...
choosealogin Posted July 14, 2006 Share Posted July 14, 2006 (edited) Cool, I'm glad it worked. If you want to be able to turn it back on later, you can just exclude the category box from caching by editing the includes/column_left.php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } just change all of that to just simply.... include(DIR_WS_BOXES . 'categories.php'); :) Edited July 14, 2006 by choosealogin 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.