phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Log in Problems - redirected to guest acct

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB SEO Premod
::  
Author Message
Drew



Joined: 24 Dec 2007
Posts: 22
Location: raleigh nc

Log in Problems  - redirected to guest acctPosted: Fri Sep 19, 2008 4:34 pm    Post subject: Log in Problems - redirected to guest acct

Log in Problems - redirect to guest - no portal software involved

After going live with your software on a forum the admin email account account started receiving messages like these.


Quote:
"Help!! It will not let me log in. it accepts my password, but then takes me to the board index, and I have to log in again."

"What happen? I was booted out and don't understand."

"I can log in and be shown as logged in but as soon as the page finishes loading I have to log in again ... but can't."

"Soooooo, Is there a problem with people getting on the forum"



The basic synopsis is that many, but not all, members of the forum are redirected to guest status when they try to login to their account.

We uninstalled Phpbb SEO and reinstalled a backup of the forum and the problem has gone away so we are confident that the issue is with phpbb_seo.

Getting members to clear cookies seemed to help, but training users on a large forum to a new behavior is difficult and not a solution.

We know from testing forum design against various browsers, that if you are logged on to a forum using your modification with one browser, you cannot log on to the forum with another browser from the same IP. Normally you would not think this is a problem. But when looking at "who is online" the same ip will show up several times. Just wondering if this could be related to the problem.

Is there a solution available to this problem?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

Log in Problems  - redirected to guest acctPosted: Sat Sep 20, 2008 11:48 am    Post subject: Re: Log in Problems - redirected to guest acct

Since you went from local to online, it's most likely a cookie / domain / cookie domain setting issue.
If phpBB is installed in -www.example.com/phpBB3/ you need to set the server name to :
Code:
www.example.com


Your cookie domain should be set to :
Code:
.example.com


with the dot ("."), and your script path to :

Code:
/phpBB3


Cookie path is less important, usually letting it to :
Code:
/

works for all cases.

Once this will be done, everything should work as expected.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Drew



Joined: 24 Dec 2007
Posts: 22
Location: raleigh nc

Log in Problems  - redirected to guest acctPosted: Sat Sep 20, 2008 4:40 pm    Post subject: Re: Log in Problems - redirected to guest acct

That was one of the first things we thought to check too, and also checked cache to be sure the settings were correct

cache\data_global.php

'cookie_domain' => '.example.com',
'cookie_name' => 'phpbb3_xxxxx',
'cookie_path' => '/',
'cookie_secure' => '0',


From what we can tell, people using IE7 had the least problems
People using the "log me on automatically" had the most problems


The possible combinations of browser types (IE6, IE7, IE8, FF2, FF3, O,) X (possible browser security settings) = makes this difficult


We are going to reset the security settings to None and try a sample run

Allow persistent logins: No
Session IP validation: None
Validate browser: No
Validate Referer: No
Tie forms to guest sessions: No

But we can't use those settings for a fully operational forum
Back to top
Drew



Joined: 24 Dec 2007
Posts: 22
Location: raleigh nc

Log in Problems  - redirected to guest acctPosted: Sat Sep 20, 2008 8:33 pm    Post subject: Re: Log in Problems - redirected to guest acct

Any issues with both of these being in data_global

'version' => '3.0.2',
'seo_premod_version' => '3.0.2',


-----------------------------------------------------

overall_header.html

line 37

Code:
var seo_static_pagination = '{SEO_SATIC_PAGE}';


shouldn't that be

Code:
var seo_static_pagination = '{SEO_STATIC_PAGE}';


------------------------------------------------------


If using en_us you may wish to mentioning copying over files from phpbb seo files from en folder as part of your installation instructions


------------------------------------------------------

but I doubt any of these would cause the log in problems
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

Log in Problems  - redirected to guest acctPosted: Sat Sep 27, 2008 7:44 am    Post subject: Re: Log in Problems - redirected to guest acct

Drew wrote:
Any issues with both of these being in data_global

'version' => '3.0.2',
'seo_premod_version' => '3.0.2',

No, the premod uses an extra version field in phpBB config, but this is only to make it possible one day for a separated update of the premod (without upgrading phpBB).


I don't see any difference between the two other lines of code you posted, but there should not be any issues with these.

Possible explanation, you changed something, like the cookie name or the phpBB domain recently, and user having checked the auto login option thus have a wrong cookie for that at first. If so, issues should disapear after cookies are cleared in the browser.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Drew



Joined: 24 Dec 2007
Posts: 22
Location: raleigh nc

Log in Problems  - redirected to guest acctPosted: Mon Sep 29, 2008 12:59 am    Post subject: Re: Log in Problems - redirected to guest acct

STATIC vs SATIC


We had the same thought on the cookie but a check of the backup of the data base ruled that out.

Anyway we are going to try it again maybe next weekend - other fires to put out for now.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

Log in Problems  - redirected to guest acctPosted: Sat Oct 04, 2008 8:26 am    Post subject: Re: Log in Problems - redirected to guest acct

Drew wrote:
STATIC vs SATIC

gawd Laughing

Anyway, it's not a bug, since the "proper" variable is filled in includes/functions.php :
Code:
         'SEO_SATIC_PAGE' => $phpbb_seo->seo_static['pagination'],


So you'd better leave this on as is.

This does not play any role in sessions and cookies by the way. Let's hope you'll have more luck when re trying, because I so far never experienced sessions issues of this kind when settings are proper.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB SEO Premod
Page 1 of 1

Navigation Similar Topics

Jump to: