lost session

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Registered User
Posts: 297
Joined: Wed Dec 01, 2004 1:02 am

lost session

Post by zoobie »

I was adjusting the cookie/server/etc. settings and other things in the ACP when I noticed the session was not being picked up in a php webpage like it usually was using the code below.

Code: Select all

define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './phpbb3/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);// Start session management
if ($user->data['user_id'] == ANONYMOUS){
Now, it boots the logged-in user.
I think I goofed somewhere in the ACP. I made a new cookie and cleared the main cache but it still won't pickup the session anymore. Maybe the server settings?
phpbb 3.0.2, Users Blog, phpbb gallery, Who Was Here, Anti-bot Question
User avatar
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: lost session

Post by Oyabun1 »

Please fill out the Support Request Template Generator and post it back here to enable us to assist you better.

You should update your board as soon as possible, you're 8 version behind. There have been bug fixes, features added, and improvements in anti-spam measures. Also, we only offer full support to the current version.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Return to “[3.0.x] Support Forum”