Image display error when convert Kunena 1.7 to SMF 2.0

Started by ciaovnn, March 14, 2012, 11:05:36 AM

Previous topic - Next topic

ciaovnn

Converting...
Converting members... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... Successful.
Converting topic notifications... Successful.
Converting moderators... Successful.
Clearing unused tables... Successful.
Converting smileys... Successful.
Converting attachments...
Warning: copy(/tmp/phplnwJMK) [function.copy]: failed to open stream: No such file or directory in ......../convert.php(1254) : eval()'d code on line 8
Warning: copy(/tmp/phplnwJMK) [function.copy]: failed to open stream: No such file or directory in ......../convert.php(1254) : eval()'d code on line 8

Warning: copy(/tmp/phplnwJMK) [function.copy]: failed to open stream: No such file or directory in ......../convert.php(1254) : eval()'d code on line 8
Warning: copy(/tmp/phplnwJMK) [function.copy]: failed to open stream: No such file or directory in ......../convert.php(1254) : eval()'d code on line 8
Successful.
Converting avatars... Successful.
Recalculating forum statistics... Successful.

/////////////////////////////////////////////////////////
please help me ! :-\
I get the same result when convert. when the article is displayed images are not displayed and instead I get the result:

[attachment = 876] image12.JPG [/ attachment]

ciaovnn

I was very difficult to convert 1.7 to 2.0 Kunena.
the data almost complete, but the picture is not visible in the article.
I am headache about this problem, please help me
:-[ :-[ :-[

ciaovnn

I think there is something wrong in this sql file, causing the error and copy.
but I have not found a solution to overcome  :-[ :-[ :-[

---* {$to_prefix}attachments
---{
$no_add = true;
$file_hash = getAttachmentFilename(basename($row['folder']), $id_attach, null, true);
$physical_filename = $id_attach . '_' . $file_hash;

if (strlen($physical_filename) > 255)
   return;
if (copy($row['folder'], $attachmentUploadDir . '/' . $physical_filename))
{
   @touch($attachmentUploadDir . '/' . $physical_filename, filemtime($row['folder']));
   $rows[] = array(
      'id_attach' => $id_attach,
      'size' => filesize($attachmentUploadDir . '/' . $physical_filename),
      'filename' => basename($row['folder']),
      'file_hash' => $file_hash,
      'id_msg' => $row['id_msg'],
      'downloads' => 0,
   );

   $id_attach++;
}
---}
SELECT mesid AS id_msg, folder
FROM {$from_prefix}kunena_attachments;
---*

ciaovnn

hi all.
after my friend installed Aeva-Media then it runs all video.
but the picture is not running, I would need to find an installation package

Advertisement: