ilosuna / phpsqlitecms

phpSQLiteCMS is a simple and lightweight web content management system based on PHP and SQLite.
phpsqlitecms.net
MIT License
138 stars 75 forks source link

Can't login as admin #30

Open rd18aac opened 9 years ago

rd18aac commented 9 years ago

I just installed this and im trying admin as the username and admin as the password and it says User unknown or password wrong.

I can't get in to /cms, where do I change the default user's username and/or password to my own?

Thanks in advance :-)

theAsgar commented 9 years ago

Overwrite the userdata.sqlite then should the login go again.

roxinos commented 9 years ago

Overwrite userdata.sqlite with what?

It just comes up with this in my editor:

dd

theAsgar commented 9 years ago

overwrite for example, with this https://github.com/ilosuna/phpsqlitecms/blob/master/cms/data/userdata.sqlite

use a SQLite editor, eg. http://sourceforge.net/projects/sqlitebrowser/

roxinos commented 9 years ago

Okay, so I downloaded the SQLite editor and now what part do I edit?

dd

PS: Sorry ive never done SQL before so im kind of a noob to this stuff

theAsgar commented 9 years ago

You can easily as admin admin login and change the password in the backend.

@see https://github.com/ilosuna/phpsqlitecms/issues/31#issuecomment-116333875