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.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
zoobie
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

<?php
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
$user->session_begin();
$auth->acl($user->data);
$user->setup();
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?
Thx
phpbb 3.0.2, Users Blog, phpbb gallery, Who Was Here, Anti-bot Question
User avatar
Oyabun1
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
Locked

Return to “[3.0.x] Support Forum”