Can't login after fresh install - with solution (code 500)
Posted: Sun Feb 15, 2026 10:25 am
Hi all,
just wanted to install a fresh copy of the community edition (6.2.0-4), did the install, everything looked ok.
but on an attempt to login to eve i got no response (clicked on login, nothing) on investigation the browser got a html code 500, database error.
so i executed the database repair and got no change.
after further investigation i found an error in /opt/unetlab/includes/api_authentication.php
line 193 states : "} else if ($result['rows'] == 0) {"
i changed this to : } else if ($result['urows'] == 0) {
(notice the u in urows)
everything now works again.
don't know is anybody has the same, but if you do, this worked for me.
just wanted to install a fresh copy of the community edition (6.2.0-4), did the install, everything looked ok.
but on an attempt to login to eve i got no response (clicked on login, nothing) on investigation the browser got a html code 500, database error.
so i executed the database repair and got no change.
after further investigation i found an error in /opt/unetlab/includes/api_authentication.php
line 193 states : "} else if ($result['rows'] == 0) {"
i changed this to : } else if ($result['urows'] == 0) {
(notice the u in urows)
everything now works again.
don't know is anybody has the same, but if you do, this worked for me.