server
server copied to clipboard
[BUG]: Decreasing "Max length of a hash" returns HTTP 500
Version Information
0.14.6
Hashcat
No response
Description
I'm trying to decrease the max hash length to a value that is certainly higher than any existing hash.
However, the server errors with HTTP 500.
Can you post what error message is shown in the log of the server (e.g. docker logs hashtopolis-backend) when you try to do this? There should be something like a stacktrace error or similar.
PHP Fatal error: Uncaught PDOException: There is no active transaction in /var/www/hashtopolis-backend/src/inc/Util.class.php:1357
Stack trace:
#0 /var/www/hashtopolis-backend/src/inc/Util.class.php(1357): PDO->commit()
#1 /var/www/hashtopolis-backend/src/inc/utils/ConfigUtils.class.php(88): Util::setMaxHashLength()
#2 /var/www/hashtopolis-backend/src/inc/handlers/ConfigHandler.class.php(13): ConfigUtils::updateConfig()
#3 /var/www/hashtopolis-backend/src/config.php(22): ConfigHandler->handle()
#4 {main}
thrown in /var/www/hashtopolis-backend/src/inc/Util.class.php on line 1357