Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Haun tulos hakusanalle: file_hash

Tuloksien järjestys
...... (`id_folder`, `id_msg`, `filename`, `file_hash`, `fileext`, `size`, `width`, `height`, ` ......
#2
IPB / Re: [SMF Converter] IPB 1.3.x
heinäkuu 11, 2024, 10:20:14 AP tekijältä norrie
......  ID_THUMB ID_MSG ID_MEMBER AttachmentType Filename File_hash size downloads width height  I have no data in  ......
......  a.id_attach, a.id_folder, a.id_msg, a.filename, a.file_hash, IFNULL(a.size, 0) AS filesize, a.downloads, a. ............  a.id_attach, a.id_folder, a.id_msg, a.filename, a.file_hash, IFNULL(a.size, 0) AS filesize, a.downloads, a. ............ , a.id_folder, a.id_msg, a.filename, a.fileext, a.file_hash, IFNULL(a.size, 0) AS filesize, a.downloads, a. ............ ', '  SELECT a.id_folder, a.filename, a.file_hash, a.fileext, a.id_attach, a.attachment_type, a. ............   SELECT a.id_folder, a.filename, a.file_hash, a.fileext, a.id_attach, a.attachment_type, a. ............   SELECT a.id_folder, a.filename, a.file_hash, a.fileext, a.id_attach, a.attachment_type, a. ......
...... . The scrambled name consists of <id_attach>_<file_hash> where the hashvalue and attachment id can be  ............  in the database table smf_attachment, fields file_hash and id_attach.   The hashvalue seems to be  ............  180 entries in the DB with empty value in field file_hash. As a workaround we generated a hash value to  ............ () {  echo "select id_attach, filename, file_hash from smf_attachments where id_member != 0 AND  ............  smf_attachments where filename = '$FILENAME' AND file_hash = '' order by id_attach" | mysql --database= ............ }"  SQL="UPDATE smf_attachments SET file_hash='$NEW_HASH' WHERE id_attach = $ID"   ......
#5
SMF Coding Discussion / Query doesn't work
huhtikuu 11, 2021, 07:25:46 IP tekijältä Sir Osis of Liver
......  = ', $file ,'<br />';  $sql = "SELECT id_attach, file_hash FROM smf_attachments WHERE filename=$file"; $ ............  '<br> id: '. $row["id_attach"] .' hash: '. $row["file_hash"] .'<br>';  } } else {  echo "0 results"; }  ............  If I remove WHERE clause it outputs id_attach and file_hash, but seems to get stuck in infinite loop.  ......
#6
SMF 2.1.x Support / Member ID not being stored on attachment addition
lokakuu 13, 2020, 04:53:58 IP tekijältä Randem
...... ', 'id_msg' => 'int', 'filename' => 'string-255', 'file_hash' => 'string-40', 'fileext' => 'string-8',  ' ............ ], $attachmentOptions['name'], $attachmentOptions['file_hash'], $attachmentOptions['fileext'],  (int) $ ......
...... '];  return $path . '/' . $attachment_id . '_' . $file_hash . '.dat'; } I am trying a conversion from 2.0 to  ......
#8
SMF 2.0.x Support / A few image attachments not displayed
lokakuu 11, 2020, 10:05:11 AP tekijältä izotz
...... ":"South Africa 1923 ¼d.jpg", "fileext":"jpg", "file_hash":""Hash is not recorded in the database, probably  ......
......  error  Koodi [Valitse] Laajenna Unknown column 'a.file_hash' in 'field list' File: /opt/bitnami/apache2/ ......
#10
Fixed or Bogus Bugs / ManageAttachments forever loop?
tammikuu 01, 2019, 06:13:10 AP tekijältä jindroush
...... .id_attach, thumb.id_folder, thumb.filename, thumb.file_hash FROM XXX_attachments AS thumb  LEFT JOIN  ......
#11
SMF 2.1.x Support / Problem uploading attachments
elokuu 16, 2019, 04:40:13 IP tekijältä Dylert
...... (`id_folder`, `id_msg`, `filename`, `file_hash`, `fileext`, `size`, `width`, `height`, ` ......
...... , $attachment_id, $dir = null, $new = false, $file_hash = '') {  global $modSettings, $smcFunc;   // ...  ............ '];   return $path . '/' . $attachment_id . '_' . $file_hash;  } I did some debugging and found out that ! ......
#13
YaBB/YaBB SE / Re: [SMF Converter] YaBB SE 1.5.4
elokuu 06, 2019, 02:00:36 IP tekijältä trilogi
......  in 1.1 but now there is in 2.0. There is no file_hash in those entries because it was manual input ( ......
......  for table level lock SELECT id_folder, filename, file_hash, fileext, id_attach, attachment_type, mime_type,  ............  for table level lock SELECT id_folder, filename, file_hash, fileext, id_attach, attachment_type, mime_type,  ............  for table level lock SELECT id_folder, filename, file_hash, fileext, id_attach, attachment_type, mime_type,  ............  for table level lock SELECT id_folder, filename, file_hash, fileext, id_attach, attachment_type, mime_type,  ............  for table level lock SELECT id_folder, filename, file_hash, fileext, id_attach, attachment_type, mime_type,  ............  for table level lock SELECT id_folder, filename, file_hash, fileext, id_attach, attachment_type, mime_type,  ......
#15
SMF Coding Discussion / Apparent Premature Termination of session?
maaliskuu 09, 2016, 01:06:28 AP tekijältä Matthew K.
...... ;area=quiz_questions;sa=add;referer=mass_import;file_hash=ce61ad8bc6b32ddaf035173d464dcae0bae5120b; ......
#16
Français (French) / Transfert hébergeur, et plus d'avatars! :(
maaliskuu 21, 2014, 07:35:24 AP tekijältä aubrybybo
......  présent (avec les droits 777), et la valeur de file_hash de la table correspond bien avec le nom des  ......
#17
SMF 2.0.x Support / Attachments links dònt work more
marraskuu 05, 2014, 12:44:02 IP tekijältä musicus
......  : 0 filename: Adeonesis_-_Experiment_1.mp3 file_hash: ebce3caf2e7fda03944c7968caef63880bc9bb36 fileext: ......
...... , creadas con la versión 2.0.8 tienen el campo file_hash relleno con lo que aparece en el nombre de la  ............ ), además, en el foro antiguo tampoco aparece el file_hash en la BD y sí se ven. Las fotos están bien, pues  ......
#19
...... : the new, created with version 2.0.8 have file_hash field filling with what appears in the name of  ............ ), in addition, in Forum old does not appear the file_hash in the BD and I can see the photos there. The  ......
#20
phpBB / Some easy fixes to the phpBB 3 to SMF 2 converter....
heinäkuu 28, 2013, 10:04:58 AP tekijältä dougiefresh
......  DEFAULT '0',  `filename` tinytext NOT NULL,  `file_hash` varchar(40) NOT NULL DEFAULT '',  `fileext`  ............ ', 'png', 'bmp')))  $attachmentExtension = '';  $file_hash = getAttachmentFilename($row['filename'], $ ............ , true); $physical_filename = $id_attach . '_' . $file_hash;  if (strlen($physical_filename) > 255)  return;  ............ ),  'filename' => $row['filename'],  'file_hash' => $file_hash,  'id_pm' => $row['id_pm'],  ' ............ ', 'png', 'bmp')))  $attachmentExtension = '';  $file_hash = getAttachmentFilename($row['filename'], $ ............ , true); $physical_filename = $id_attach . '_' . $file_hash;  if (strlen($physical_filename) > 255)  return;  ............ ),  'filename' => $row['filename'],  'file_hash' => $file_hash,  'id_msg' => $row['id_msg'],  ' ......
Advertisement: