I changed the line in /lib/modules/defaut/auth.inc.php
if (ereg_replace('[a-zA-Z0-9_]*','',$_POST['registerlogin'])!='') {
per
if (preg_match('[a-zA-Z0-9]*','',$_POST['registerlogin'])!='') {
this time the user is put in database
https://imgur.com/j1ET8cE
But when this user wants to log in
A big error message that this
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_login' cannot be null' in /volume1/web/open/lib/modules/db/pdo_mysql.inc.php:182 Stack trace: #0 /volume1/web/open/lib/modules/db/pdo_mysql.inc.php(182): PDOStatement->execute() #1 /volume1/web/open/lib/main.inc.php(91): pdo_mysqlDB->insert('activitylog', Array) #2 /volume1/web/open/lib/user.inc.php(96): Application->log('security', 'authenticate', '', 'DENY', 'Login failed: f...') #3 /volume1/web/open/lib/modules/default/auth.inc.php(63): OpenUploadUser->authenticate() #4 /volume1/web/open/lib/main.inc.php(250): AuthModule->authenticate() #5 /volume1/web/open/www/index.php(72): Application->run('login', '2') #6 {main} thrown in /volume1/web/open/lib/modules/db/pdo_mysql.inc.php on line 182
I use the openupload-openupload-code-d1c5fc0eaa8d9b5bc514b6f20cc92139e0f9ba76
and openupload-openupload-code-c80a022b384dcb957505a31e65b69062168062d5
I'm not familiar whith the repository is some files more fresh/new files i can use ???
Now I can't go any further with my knowledge.
Thank you
Anonymous
The thing is that the login attempt is inserted in the logs (and it's a DENY too).
There is something which isn't initialized (the username I suppose)
I'm not really sure that preg_match has the same syntax as ereg_replace. What's the username you have registered?
I can't guarantee I will check this soon (I'm busy with work), but I'll try to check and correct the problem if I can reproduce it.