Log me on automatically each visit, don't work

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)
User avatar
darcie
Former Team Member
Posts: 5546
Joined: Thu Jul 27, 2006 9:52 am
Location: Davis, California
Name: Darcie Griffin

Re: Log me on automatically each visit, don't work

Post by darcie »

mr.v wrote:still nor work.
how to fix automatic login?
If you would like assistance, you'll have to be a bit more forthcoming on how we can help you. :) Can you please post your board location and cookie settings?
Not here very much, but I still appreciate you | Former Community Team
mr.v
Registered User
Posts: 10
Joined: Sun Dec 07, 2003 8:33 am
Location: bkk

Re: Log me on automatically each visit, don't work

Post by mr.v »

everything is default setting sir. :)
test on localhost address by my computer name
http://vcom/phpbb3

why phpbb2.x with default setting 'auto login' work? but phpbb3 not?

clean new install phpbb3 not upgrade
clean install sql
clean cookies browser

php 5.25
mysql 4.0.26(i hate mysql unicode that is not work with my language. i means mysql above 4.0.26)
cookies domain: vcom
cookies name: phpbb3_byqva
cookies path: /

Allow persistent logins: yes
Persistent login key expiration length (in days): 0
Session IP validation: a.b.c
Validate browser: yes
Validated X_FORWARDED_FOR header: no
Check IP against DNS Blackhole List: no
Check e-mail domain for valid MX record: yes
Password complexity: no requirements
Force password change: 0
Maximum number of login attempts: 3
Allow php in templates: no
Maximum time to submit forms: 7200
Tie forms to guest sessions: yes

Limit system load: 0
Session length: 3600
Limit sessions: 0
View online time span: 5
User avatar
darcie
Former Team Member
Posts: 5546
Joined: Thu Jul 27, 2006 9:52 am
Location: Davis, California
Name: Darcie Griffin

Re: Log me on automatically each visit, don't work

Post by darcie »

Page 3 of this topic http://www.phpbb.com/community/viewtopi ... 5#p3963095 has a fix for using something other than "localhost" to access on your computer. :)
Not here very much, but I still appreciate you | Former Community Team
mr.v
Registered User
Posts: 10
Joined: Sun Dec 07, 2003 8:33 am
Location: bkk

Re: Log me on automatically each visit, don't work

Post by mr.v »

why do i need to edit php file? isn't it the complete script?
in phpbb2 is no need to edit like this.
User avatar
darcie
Former Team Member
Posts: 5546
Joined: Thu Jul 27, 2006 9:52 am
Location: Davis, California
Name: Darcie Griffin

Re: Log me on automatically each visit, don't work

Post by darcie »

This is the complete script, otherwise it would not have been a final release. The two are just written differently. If you'd like to see the difference, compare both sections - includes/session.php in 3.0.x and includes/sessions.php in 2.0.x.
Not here very much, but I still appreciate you | Former Community Team
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey

Re: Log me on automatically each visit, don't work

Post by noth »

darcie your info from page 1 was a great help to me

just wanted to say thanks ;)
scion909
Registered User
Posts: 2
Joined: Sun Jun 08, 2008 10:24 pm

Re: Log me on automatically each visit, don't work

Post by scion909 »

Hello everybody! I'm glad I found this thread and I'm hoping that I can get some assistance here.
I uploaded phpBB3 to our server yesterday and now having the same problem like you guys. The server is also hosting a phpBB2 Forum and I hope it's not conflicting each other.

Here's the info of the board that's having the problem (phpBB3)

http://scinergyie.com/forum or http://scinergyie.org/forum (.com and.org will redirect you to the same site)
Cookie Domain: scinergyie.org
Cookie Name: phpbb3_2f4t8
Cookie Path: /
Cookie Secure: Disabled

Just for reference, the other board (phpBB2) which is not having a problem and hosted by the same server is
http://scinergyie.com/phpBB or http://scinergyie.org/phpBB

I'm hoping that you guys can help me fix this problem!! Thanks!!
User avatar
darcie
Former Team Member
Posts: 5546
Joined: Thu Jul 27, 2006 9:52 am
Location: Davis, California
Name: Darcie Griffin

Re: Log me on automatically each visit, don't work

Post by darcie »

For one, the absence of a leading dot is a problem when you use www to access the domain. For another, two addresses accessing one database requires a MOD. Lastly, I've seen some problems for those that choose not to use the board path. If you don't need the cookie for integration with the rest of your site, use /forum instead of /.

Cookie Domain: .scinergyie.org <will only make a cookie for the .org address
Cookie Name: phpbb3_2f4t9 < make a slight change here to force a new cookie
Cookie Path: /forum
Cookie Secure: Disabled

Also, the MOD for accessing from more than one URL: th23 Domain
Not here very much, but I still appreciate you | Former Community Team
scion909
Registered User
Posts: 2
Joined: Sun Jun 08, 2008 10:24 pm

Re: Log me on automatically each visit, don't work

Post by scion909 »

Thanks Darcie! I'm new to all of these, so my questiuon is where do i upload the MOD? to what folder or file?
thanks Again!
User avatar
RMcGirr83
Former Team Member
Posts: 22099
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Log me on automatically each visit, don't work

Post by RMcGirr83 »

Information on how to do that is in this topic.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
Dyfrin
Registered User
Posts: 26
Joined: Thu Jul 14, 2005 9:16 pm

Re: Log me on automatically each visit, don't work

Post by Dyfrin »

Sometimes, reinstalling just fixes things, good luck if you got issues
icewinged
Registered User
Posts: 2
Joined: Sat Jun 21, 2008 4:45 pm

Re: Log me on automatically each visit, don't work

Post by icewinged »

I've tried all the previous solutions, but none have work. Any ideas?
http://somagical.digital-wing.com/forum

Cookie Domain: somagical.digital-wing.com (tried .somagical.digital-wing.com too)
Cookie Name: phpbb3_oj51s
Cookie Path: /
Cookie Secure: Disabled

Thanks!
Rum@NoV
Registered User
Posts: 17
Joined: Sun Jan 08, 2006 9:23 pm

Re: Log me on automatically each visit, don't work

Post by Rum@NoV »

Hello,

Just been reading through the whole thread but i can't seem to find the solution here. Our host recently decideded to stop its business, so since the forum is only used by a few people, i've decided to host the forum on my own pc. I use no.ip.com to forward my link.

The forum is located on http://3xfclan.servegame.com/forum

My cookie settings are as followed:

Cookie domain: .3xfclan.servegame.com
Cookie name: phpbb_3xf
Cookie path: /forum
Cookie secure: disabled

Tried it in both ie and ff. Any help is appreciated :oops:
User avatar
RMcGirr83
Former Team Member
Posts: 22099
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Log me on automatically each visit, don't work

Post by RMcGirr83 »

Try setting both the domain and cookie names to
3xfclan.servegame.com
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
Rum@NoV
Registered User
Posts: 17
Joined: Sun Jan 08, 2006 9:23 pm

Re: Log me on automatically each visit, don't work

Post by Rum@NoV »

There's not enough space to name my cookie name like that, i can only name it "3xfclan.servegam". But that doesnt work either :(

Return to “[3.0.x] Support Forum”