Can no longer login to phpMyFAQ

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
vteddie13
Posts: 2
Joined: Tue Nov 05, 2019 6:25 pm

Can no longer login to phpMyFAQ

Post by vteddie13 » Tue Nov 05, 2019 6:44 pm

I had installed, configured phpMyFAQ and it was running fine.
Now I can not login to it with any account including admin.
The version of phpMyFAQ is 2.9.13
The version of MariaDB is 5.5.64
The Version of php is 7.3.11
The Version of Linux is Centos 7 3.10.0-957.10.1.el7.x86_64

Thanks,
Ed

Thorsten
Posts: 14792
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Can no longer login to phpMyFAQ

Post by Thorsten » Sat Nov 09, 2019 5:57 pm

Hi,

did you change anything?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

vteddie13
Posts: 2
Joined: Tue Nov 05, 2019 6:25 pm

Re: Can no longer login to phpMyFAQ

Post by vteddie13 » Thu Nov 14, 2019 2:14 pm

I did not change anything.
Is there a way to reset the root or admin account in MariaDB?

Thanks,

Ed

Thorsten
Posts: 14792
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Can no longer login to phpMyFAQ

Post by Thorsten » Tue Nov 19, 2019 8:37 pm

Hi Ed,

you can use this script:

Code: Select all

<?php
$user = "admin";
$password = "password";
$salt = "788fa5f79f4a6409129932d3d1631d39";
$pass = hash('sha256', $password . $salt . $user);
echo $pass;
echo "\n";
You can fetch the salt from the table faqconfig.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply