2009-04-24, 02:11 PM
Hello
SMF: 1.1.8
MyBB: 1.4.5
Merger: 1.4 beta 3 and beta 4
I am trying the Merger on an SMF 1.1.8 database, moving the stuff to the recent MyBB 1.4.5.
It seems to work quite well besides minor stuff, but not a single attachment made it through the conversion process. I always end up seeing the posts with a virtual attachment, but nothing is shown, neither thumbnail nor picture.
Trying the rebuilt option in the Tools Menu yields an error message for every reported attachment in the database:
checking the mention uploads directory reveals that there are indeed no real files present, which concurs with the merger saying "no attachment found" during the conversion process.
the log files of the converter are inconclusive to me, maybe they make sense to one of you, so some quotes from there as well.
the upload directory is owned by the user running the apache server and adding new attachments to new posts/replies at the converted mybb forum works just fine. Although I noticed that the new attachment gets a subdirectory in uploads called "200904", but the converted seems to be in uploads directly. Database entries in the mybb_attachments table support that.
if you need any more data, please let me know. Would be nice if anybody can figure out whats the converter has against my attachments :-)
Thanks
SMF: 1.1.8
MyBB: 1.4.5
Merger: 1.4 beta 3 and beta 4
I am trying the Merger on an SMF 1.1.8 database, moving the stuff to the recent MyBB 1.4.5.
It seems to work quite well besides minor stuff, but not a single attachment made it through the conversion process. I always end up seeing the posts with a virtual attachment, but nothing is shown, neither thumbnail nor picture.
Trying the rebuilt option in the Tools Menu yields an error message for every reported attachment in the database:
Quote:Warning [2] getimagesize(/[path to my site]/uploads/post_0_1240580272.attach) [function.getimagesize]: failed to open stream: No such file or directory - Line: 29 - File: inc/functions_image.php PHP 5.1.2 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions_image.php 29 getimagesize
/admin/modules/tools/recount_rebuild.php 129 generate_thumbnail
/admin/modules/tools/recount_rebuild.php 250 acp_rebuild_attachment_thumbnails
/admin/index.php 380 require
checking the mention uploads directory reveals that there are indeed no real files present, which concurs with the merger saying "no attachment found" during the conversion process.
the log files of the converter are inconclusive to me, maybe they make sense to one of you, so some quotes from there as well.
Quote:array (
'import_aid' => '2',
'pid' => '',
'posthash' => '24264227a09c772f5862f31a456008f1',
'thumbnail' => '',
'uid' => '9',
'filename' => 'avatar_9.jpg',
'attachname' => 'post_9_1240580261.attach',
'filesize' => '13831',
'downloads' => '16288',
'visible' => '1',
)array (
'import_aid' => '91',
'pid' => '',
'posthash' => 'af7f02dd6a99d15de2e3a63e07b8a42c',
'thumbnail' => '',
'uid' => '13',
'filename' => 'avatar_19.gif',
'attachname' => 'post_13_1240580261.attach',
'filesize' => '4879',
'downloads' => '12419',
'visible' => '1',
)array (
'import_aid' => '686',
'pid' => '',
'posthash' => '29741cbaee1041fc405e91328f88f2ee',
'thumbnail' => '',
'uid' => '15',
'filename' => 'avatar_22.jpg',
'attachname' => 'post_15_1240580261.attach',
'filesize' => '28914',
'downloads' => '4719',
'visible' => '1',
)
the upload directory is owned by the user running the apache server and adding new attachments to new posts/replies at the converted mybb forum works just fine. Although I noticed that the new attachment gets a subdirectory in uploads called "200904", but the converted seems to be in uploads directly. Database entries in the mybb_attachments table support that.
Quote:e78c3ee6affae656a4cb707d8f5d8b99 0 Naturecrit 113.JPG 144190 post_0_1240580285.attach 1 0 1 post_0_1240580285_thumb.jpg_thumb
Edit Delete 711 48956 7586099cfce856ee03ba339ec4576353 1 Azgalor-Positions.jpg image/jpeg 113703 200904/post_1_1240581668_8bdaf8630e25f607b3084bc39... 1 1240581668 1 200904/post_1_1240581668_8bdaf8630e25f607b3084bc39...
if you need any more data, please let me know. Would be nice if anybody can figure out whats the converter has against my attachments :-)
Thanks