Code: Select all
# Table: 'phpbb_sessions'
DROP TABLE IF EXISTS `phpbb_sessions`;
CREATE TABLE phpbb_sessions (
session_id char(32) DEFAULT '' NOT NULL,
session_user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
session_forum_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
session_last_visit int(11) UNSIGNED DEFAULT '0' NOT NULL,
session_start int(11) UNSIGNED DEFAULT '0' NOT NULL,
session_time int(11) UNSIGNED DEFAULT '0' NOT NULL,
session_ip varchar(40) DEFAULT '' NOT NULL,
session_browser varchar(150) DEFAULT '' NOT NULL,
session_forwarded_for varchar(255) DEFAULT '' NOT NULL,
session_page varchar(255) DEFAULT '' NOT NULL,
session_viewonline tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
session_autologin tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
session_admin tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (session_id),
KEY session_time (session_time),
KEY session_user_id (session_user_id),
KEY session_fid (session_forum_id)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
# Table: 'phpbb_sessions_keys'
DROP TABLE IF EXISTS `phpbb_sessions_keys`;
CREATE TABLE phpbb_sessions_keys (
key_id char(32) DEFAULT '' NOT NULL,
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
last_ip varchar(40) DEFAULT '' NOT NULL,
last_login int(11) UNSIGNED DEFAULT '0' NOT NULL,
PRIMARY KEY (key_id, user_id),
KEY last_login (last_login)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
Fixing incorrect cookie settingslylew wrote:How does one update the cookie domain?
You shouldn't use windows notepad to create PHP files but rather a strict text editor like Notepad++.lylew wrote:I created the file in Notepad..
How did you re-create the account?lylew wrote:Came across the need for the Anonymous account, re-created it and all was well for about two hours.
The first attempt was simply copying mine and renaming it. The I pretty quickly thought better of it and found a code script on this site to re-create it.Noxwizard wrote:Your cookies are working, but logged out users are showing as partially logged in.
How did you re-create the account?lylew wrote:Came across the need for the Anonymous account, re-created it and all was well for about two hours.
I don't know. That is what is suggested a couple of posts above.Lumpy Burgertushie wrote:what is a "partially logged in user"?
that is not possible, you are either logged in or you are not.
robert