Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Somehow my password got corrupted #38

Open
Dwedit opened this issue Mar 29, 2024 · 1 comment
Open

Somehow my password got corrupted #38

Dwedit opened this issue Mar 29, 2024 · 1 comment

Comments

@Dwedit
Copy link

Dwedit commented Mar 29, 2024

I have a copy of FluxBB that has been upgraded many many times, and it was originally Punbb.

I'm not sure how this happened, but somehow my password became incorrect. I had to go into the database and manually change the hash. (You take the Password, append the Salt from the config file, compute SHA1, write that hash as lowercase hexadecimal)

@MioVisman
Copy link
Owner

MioVisman commented Mar 30, 2024

If you moved from FLUXBB to FLUXBB_BY_VISMAN, then you need to check the settings in the /Include/config.php.
For the last revision, it looks something like this:

<?php

$db_type = ...;
$db_host = ...;
$db_name = ...;
$db_username = ...;
$db_password = ...;
$db_prefix = ...;
$p_connect = false;

$cookie_name = ...;
$cookie_domain = ...;
$cookie_path = ...;
$cookie_secure = ...;
$cookie_seed = ...;
$cookie_samesite = 'Lax'; // Strict, Lax or None

$salt1 = ''; // <-- Here the line is empty (zero length) for the database Punbb/Fluxbb

define('PUN', 1);

define('PUN_DEBUG', 1);
define('PUN_SHOW_QUERIES', 1);
define('PUN_MAX_POSTSIZE', 65535);
//define('FORUM_EOL', "\r\n"); // possible values can be PHP_EOL, "\r\n", "\n" or "\r"
//define('FORUM_UA_OFF', 1);
define('FORUM_AJAX_JQUERY', 'js/jquery-1.12.4.min.js');
//define('FORUM_SQLITE3_BUSY_TIMEOUT', 10000); // for SQLite
//define('FORUM_SQLITE3_WAL_ON', 1); // for SQLite

// Error display mode (this option for debugging, on the working server you can remove these lines)
error_reporting(E_ALL);
ini_set('display_errors', 1);
ini_set('log_errors', 1);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants