Can't log in as admin #217

Closed
opened 2021-05-17 01:54:41 +00:00 by ghost123321 · 0 comments

I've installed TinyIB many times in the past and it worked fine and never got this error or similar, tried to install another instance today and when I go to the [Manage] login panel there are 4 notices in the top that go as follows:

Notice: Undefined index: id in /var/www/html/inc/database/flatfile.php on line 59

Notice: Undefined index: username in /var/www/html/inc/database/flatfile.php on line 60

Notice: Undefined index: role in /var/www/html/inc/database/flatfile.php on line 62

Notice: Undefined index: lastactive in /var/www/html/inc/database/flatfile.php on line 63

And when I try to login as admin entering 'admin' as user and '1234' as password (which I set as the admin password in the settings.php file) I click "Log In" and I'm greeted with "Invalid username or password." and 5 notices at the top:

Notice: Undefined index: id in /var/www/html/inc/database/flatfile.php on line 59

Notice: Undefined index: username in /var/www/html/inc/database/flatfile.php on line 60

Notice: Undefined index: role in /var/www/html/inc/database/flatfile.php on line 62

Notice: Undefined index: lastactive in /var/www/html/inc/database/flatfile.php on line 63

Notice: Undefined index: password in /var/www/html/inc/functions.php on line 387

This is all over Cloudflare if that matters, with the cloudflare option se to 'true'.

I've installed TinyIB many times in the past and it worked fine and never got this error or similar, tried to install another instance today and when I go to the [Manage] login panel there are 4 notices in the top that go as follows: > Notice: Undefined index: id in /var/www/html/inc/database/flatfile.php on line 59 > > Notice: Undefined index: username in /var/www/html/inc/database/flatfile.php on line 60 > > Notice: Undefined index: role in /var/www/html/inc/database/flatfile.php on line 62 > > Notice: Undefined index: lastactive in /var/www/html/inc/database/flatfile.php on line 63 And when I try to login as admin entering 'admin' as user and '1234' as password (which I set as the admin password in the settings.php file) I click "Log In" and I'm greeted with "Invalid username or password." and 5 notices at the top: > Notice: Undefined index: id in /var/www/html/inc/database/flatfile.php on line 59 > > Notice: Undefined index: username in /var/www/html/inc/database/flatfile.php on line 60 > > Notice: Undefined index: role in /var/www/html/inc/database/flatfile.php on line 62 > > Notice: Undefined index: lastactive in /var/www/html/inc/database/flatfile.php on line 63 > > Notice: Undefined index: password in /var/www/html/inc/functions.php on line 387 This is all over Cloudflare if that matters, with the cloudflare option se to 'true'.
tslocum referenced this issue from a commit 2021-05-18 06:28:17 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/tinyib#217
No description provided.