To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

Wersje 1.9 i starsze - [probl] logowanie w subdomenie

Nostry - 13-01-2005, 23:10
Temat postu: [probl] logowanie w subdomenie
Problem następujący- mam na 1 serku i 1 bazie 2 fora, z czego jedno jest w subdomenie. Problem jest tego rodzaju, że na to drugie NIEKTÓRZY usrezy nie mogę się zalogować- wyświetlana jest strona o błądzie (brak pliku)
Obchodze to człąciowo poprzez ustawienie strony głównej jako strony błądu, ale nie u wszystkich to pomaga.

Czy to może był spowodowane nieprawidłowymi coockies?

A, na innym domowym serwerze, bez domeny, problem był ten sam

They - 13-01-2005, 23:14

najlepiej by było 2 bazy na 2 fora, a cookies oczywięcie tak jeśli masz drugi forum w folderze.
Nostry - 14-01-2005, 16:39

Niestety, mam tylko 1 bazą do dyspozycji.

Oto, co mi jeden z userów podesła?, po uporaniu się z problemem we własnym zakresie, może przyda się innym:

I (or my users) cannot stay logged in to the forum!
If you (or your users) are, after attempting a login, being returned to the
index (or other page) without appearing to be logged in the most likely
problem is incorrect cookie settings. phpBB 2 uses cookies to store a
session id and a small amount of user data. For this data to be stored
correctly the cookie domain, path and secure settings must be correct. You
can check this in Admin->General Configuration->Cookie settings. Typically
the cookie domain can be left blank and the cookie path set to / (a single
forward slash). Do not set the cookie as being secure unless your board is
running over a secure sockets layer connection, ie. https://

If you still have problems try setting the cookie domain to your full domain
name, eg. www.mysystem.tld, www.something.mydomain.tld. You must ensure the
domain name contains at least two dots or browsers will be unlikely to
recognise the cookie, eg. .mydomain.com, mydomain.com. Do not add http:// or
anything else to the domain name!

My users are complaining about being logged out too quickly!
You can increase the default length of sessions (ie. how long before a users
session is considered 'dead') in Admin->General->Configuration->Cookie
Settings->Session Length. Set it to whatever value your users feel
comfortable with, remember that security issues may affect your decision
(ie. having too long a session may allow non-users to abuse your board
should a user forget to logout or otherwise leave a current session on a
public workstation).



Powered by phpBB modified by Przemo © 2003 phpBB Group