Can't login after fresh install - with solution (code 500)

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
skysoft
Posts: 1
Joined: Sun Jun 02, 2024 3:06 pm

Can't login after fresh install - with solution (code 500)

Post by skysoft » 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.

Post Reply