View Full Version : PHPBB Help needed
Halo Webmaster
10-29-2001, 05:34 PM
My PHPBB is not saving cookied information.
any clues?
Damian
10-29-2001, 05:37 PM
Do you have it configured right in config.php -- and are your cookies turned on in your browser?
W
Halo Webmaster
10-29-2001, 05:42 PM
Yes, this is a board wide issue.
Here is the code concerning the cookies....
/* -- Cookie settings (lastvisit, userid) -- */
// Most likely you can leave this be, however if you have problems
// logging into the forum set this to your domain name, without
// the http://
// For example, if your forum is at http://www.mysite.com/phpBB then
// set this value to
// $cookiedomain = "www.mysite.com";
$cookiedomain = "";
// It should be safe to leave this alone as well. But if you do change it
// make sure you don't set it to a variable already in use such as 'forum'.
$cookiename = "phpBB";
// It should be safe to leave these alone as well.
$cookiepath = $url_phpbb;
$cookiesecure = false;
/* -- Cookie settings (sessions) -- */
// This is the cookie name for the sessions cookie, you shouldn't have to change it
$sesscookiename = "phpBBsession";
// This is the number of seconds that a session lasts for, 3600 == 1 hour.
// The session will exprire if the user dosan't view a page on the forum within
// this amount of time.
$sesscookietime = 3600;
Damian
10-29-2001, 05:46 PM
Make sure that there aren't any other phpbb cookies conflicting with yours.
Also, set this variable: $cookiedomain = "";
W
Halo Webmaster
10-29-2001, 06:14 PM
Changed the code to this:
/* -- Cookie settings (lastvisit, userid) -- */
// Most likely you can leave this be, however if you have problems
// logging into the forum set this to your domain name, without
// the http://
// For example, if your forum is at http://www.mysite.com/phpBB then
// set this value to
// $cookiedomain = "www.mysite.com";
$cookiedomain = "www.10000watthalo.com";
// It should be safe to leave this alone as well. But if you do change it
// make sure you don't set it to a variable already in use such as 'forum'.
$cookiename = "phpBB";
// It should be safe to leave these alone as well.
$cookiepath = $url_phpbb;
$cookiesecure = false;
/* -- Cookie settings (sessions) -- */
// This is the cookie name for the sessions cookie, you shouldn't have to change it
$sesscookiename = "phpBBsession";
// This is the number of seconds that a session lasts for, 3600 == 1 hour.
// The session will exprire if the user dosan't view a page on the forum within
// this amount of time.
$sesscookietime = 3600;
Still no luck. Any other ideas?
EVula
11-27-2001, 01:59 PM
What isn't getting set? The only cookie-related problem I've had is my "show email" option getting turned off every time I change my preferences (even though its supposed to be "on" in my Profile).
Post in: www.phpbb.com 's support forums (the official MAKERS of phpBB)
OR
post in: www.phpbbhacks.com 's forums (the people who make HACKs to modify phpBB).
NovaBandOrg
12-02-2001, 08:42 PM
Yeah as I recall that was also resolved in a later build of phpBB.
vBulletin® v3.7.0, Copyright ©2000-2010, Jelsoft Enterprises Ltd.