Phpnuke, Cookies Etc

liunx

Guest
hello all,<br /><br />I have just finished up perfecting my site(well almost) and I have found one last problem.<br />My site uses PHPnuke which was installed thru my cPanel. I visit my forums and have noticed that topics that have been read are still marked as unread. If I click the "mark all topics as read" link, they still show up as unread. This obviously poses a problem as I cant tell what is new and what is old. I have tried going into the forums (phpbb built into phpnuke) configuration and removing any reference too cookie paths and names. After each attempt I have cleared my cookies, quit my browser and revisited the site and the problem still persist. The reason for doing this is because PhpNuke sets its own cookie when someone logs in and then with the default cookie being set in the forum config it sets a similar cookie. <br /><br />I have looked on the PHPBB sites and found a few fixes, but these seem to be for the stand alone versions of PhPBB. Can anyone give me any insight as to what to do to fix this or explain to me what a typical cookie path would look like? I have tried almost everything I can think of and am totally lost on how to fix this.<!--content-->
A "typical" cookie path would be "/", which would make the cookie valid for your entire web site ("/" specifies the root directory of your web site).<br /><br />Make sure your browser is set to accept cookies from your site.<br /><br />Make sure that you log into phpBB using the same domain as what's configured in phpBB. Don't use a link to 'www.my-TCH-domain.com' to log in if phpBB is configured to use 'my-TCH-domain.com', as these are different domains as far as cookies are concerned.<br /><br />If you have any redirects set up on your site, they will cause any cookies that your browser is sending to be discarded. For example, if you log into 'www.my-TCH-domain.com', which redirects to 'my-TCH-domain.com', or you have a redirect from 'http://my-TCH-domain.com' to 'http://my-TCH-domain.com/phpBB/, the cookies sent by your browser would get lost in the redirect.<br /><br />Hope this helps...<!--content-->
Go to your PHP Nuke Admin Panel > Click on Fourms > Left side scroll down till U see General Admin > Click on Configuration > Mid way down look for Cookie settings - set them this way:<br /><br />Cookie Domian = <!-- w --><a class="postlink" href="http://www.yoursite.com">www.yoursite.com</a><!-- w --> <br /><br />Cookie Name = phpbb2mysql<br /><br />Cookie Path = /<br /><br />Cookie Secure = Disable<br /><br />Session Lengths = 3600<br /><br />Hit Submit on the bottom of the page... <br /><br />Good luck and let me know if all is ok..<!--content-->
Got it. . .<br />Thank you all for the help <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/clapping.gif" style="vertical-align:middle" emoid=":clapping:" border="0" alt="clapping.gif" /><!--content-->
 
Back
Top