Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
Thread Tools
  #1  
Old 15th April 2024, 09:00
Ruffneck Ruffneck is offline
Senior Member
 
Join Date: Feb 2008
Posts: 71
Default 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 !

Last edited by Ruffneck; 15th April 2024 at 14:10.
Reply With Quote
Reply

Tags
function , hash , problem


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 19:55. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.