Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   Problem With hash function (http://www.bvlist.com/showthread.php?t=12804)

Ruffneck 15th April 2024 09:00

Problem With hash function
 
hi everybody !

am upgrade to php 7.4.33 , right now i have error when am upload torrent

SQL Error: 1406 - Data too long for column 'info_hash' at row 1 Query: UPDATE torrents SET `info_hash`='34be6fc4708fa558efd1ced2df836808d8960 de2'

this is my function hash

public function hash_info () {
return isset( $this->info ) ?
sha1( self::encode( $this->info ) ) :
null;
}


p.s. binary change to varchar 40 right now is work ! pls del thread !


All times are GMT +2. The time now is 01:21.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.