thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

I can not login in dashboard #158

Open Bucur opened 8 years ago

Bucur commented 8 years ago

I can not login in dashboard after I installed the site. I tried to user: alan@alan.com pass: password and goes. How do I log in?

creptor commented 8 years ago

To install the site you must create the database and everything, assuming you did that correctly, you can change the password and user manually in phpmyadmin... usually (http://localhost/phpmyadmin). Please check if you have correctly installed the database data. If you have any problems with this, feel free to post it, I'll do my best to help :D

creptor commented 8 years ago

REMEMBER that the script checks for the hashed password, so if you create a new user manually you need to find some way to get your password hashed, with the hash that the page uses (like SHA256) and then place your password.

If you didn't understand, just reply :3

Bucur commented 8 years ago

ok, I added a new user email, password and SHA1 password I set and all I can not login, what's wrong?

creptor commented 8 years ago

Ok, please post the login.php in http://pastebin.com/ and put a link here, so I can look at your code. The user and password would be nice too (a test user pls). If you can post here the database structure, i'll find even faster the issue.

Bucur commented 8 years ago

http://pastebin.com/YuW0QzMD

creptor commented 8 years ago

I think that the connection.php is called incorrectly... because the include for the files are <?php include('config/js.php'); ?> and for the connection is include('../config/connection.php');, so please check that. Also please add a error_reporting(1);, that shows errors in your php code... seems to be disabled by default

creptor commented 8 years ago

Check out the issue #159