Menu

#36 1st login fail after perfect install

2.0
open
2020-01-26
2020-01-25
No

Environment is PHP 7.2 or 7.4 both have same problem...
Install run fully without problem...

First login, I enter administrator login and password... and get the following message in French:
"Erreurs trouvées! Erreur de session" seems located in includes/library.php.
or on second time...
"Erreurs trouvées! EXCEPTION CAUGHT! LINE 590 IN /......../includes/library.php"

During install, I've set all as default unless DB informations. I've checked DB... and seen the following... in loginips table seems login as well recorded:

login ipaddr loginfail ipclassb compt last_visite approve_string not_approve_string
Admin 2a01:cb00:xxx:xx N 2a01:xxxx: 1 1579978967

xxx : replacing string in current ticket by myself due to confidentiality

Many thanks, Patrick

Discussion

  • Patrick Toledano

    'loginips' cookies management is FRAGILE when user type a wrong password or user name or ..... when Internet connection is reset by provider !

    Is possible to have more simple way to manage SESSION ? This is usefull for some shared server/provider like IONOS/1And1

    To resolve this pb, I check 'loginips' table for a wrong login row (loginfail column set to 'Y'), then delete this row.
    If provider reset with a new dynamic address copy first part of new IPv6 address and paste them in this table.

    So, I dont know if correlated, but I change installation in English/standard, not in French...

    Many thanks

     
  • Patrick Toledano

    YES ! Logged IN...

    Enter some data in this tool such as new user (1).... thus logged off automaticaly!

    So, try to logged in.... EXCEPTION CAUGHT! LINE 590 IN /......../includes/library.php !!!

    See loginips table... a new line with IPv4 with different approve/not approve string

    So I have now two lines for the same computer and same user, one with Ipv6 and second one with IPv4... Login process cant check the right SESSION...

     
  • Patrick Toledano

    Have you another version where you dont use IP address ?

     
  • Patrick Toledano

    After 20 minutes.... WebTareas is OK again !!!!

    I've just add some trace in library code around lines 590-612 where SESS_REMOTE_ADDR is LOST

    May be not from WebTareas but from provider.... Some body can explain me ?

     
  • Patrick Toledano

    Logout current user dont close active session and NOT come back on main login URL.

     
  • Patrick Toledano

    When attemps multipe times with same login/password many ERRORS... and after some minutes work again normally with loginips fill with IPv4 with all columns filled.

    Provider switch between IPv4 and IPv6 each mean 15'.... How to disable that ?

     
  • Patrick Toledano

    SOLUTION !

    My provider and my local net config support both IPv4 and IPv6... One of my web service on shared server use ONLY IPv6 and some others ONLY IPv4, WebTareas can use both ... Thats better unless network switch between them randomly from 5' to 12'...

    Back ALL to IPv4 !

     

Log in to post a comment.