KratosKnife icon indicating copy to clipboard operation
KratosKnife copied to clipboard

Panel installation problem

Open deeppinkflowers opened this issue 3 years ago • 3 comments

when I press Start installation button in install.php it says "Problem in executing the SQL query CREATE TABLE admin ( id int(11) UNSIGNED NOT NULL, username text NOT NULL, password text NOT NULL, email text NOT NULL, role text NOT NULL, s2fa varchar(10) NOT NULL, secret varchar(100) NOT NULL, sqenable varchar(10) NOT NULL, question text NOT NULL, answer text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;"

What did I do wrong? Please help me sir

deeppinkflowers avatar Dec 28 '20 22:12 deeppinkflowers

It means that you have put the right credentials of database and in config php

Read the instructions again

On Tue, 29 Dec, 2020, 3:38 am deeppinkflowers, [email protected] wrote:

when I press installation button in install.php it says "Problem in executing the SQL query CREATE TABLE admin ( id int(11) UNSIGNED NOT NULL, username text NOT NULL, password text NOT NULL, email text NOT NULL, role text NOT NULL, s2fa varchar(10) NOT NULL, secret varchar(100) NOT NULL, sqenable varchar(10) NOT NULL, question text NOT NULL, answer text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;"

What did I do wrong? Please help me sir

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PushpenderIndia/KratosKnife/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYIUYKQAL54GOA75H2HLSXD6WTANCNFSM4VMQ2FOQ .

PushpenderIndia avatar Dec 29 '20 08:12 PushpenderIndia

Thank you for reply Sir I have one more problem. When I try to access hosted website it show me this error "Notice: Trying to get property 's2fa' of non-object in /storage/ssd5/500/15786500/public_html/classes/Auth.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd5/500/15786500/public_html/classes/Auth.php:63) in /storage/ssd5/500/15786500/public_html/classes/Utils.php on line 33"

Is this mean authentication incorrect?

deeppinkflowers avatar Dec 29 '20 17:12 deeppinkflowers

hello! I tell you that this first sql error is because the database has already been installed and you are trying to install it again, and then you must delete the "install.php" file. And the second sql error is because you are trying to go to index.php without first logging in, you must first put login.php in the url and it will work perfectly

Skldaskla2a avatar May 24 '22 22:05 Skldaskla2a