![]() |
phpBB3 to VB4PL1 attachment importing issue Hi there, Why do I think that attachments cannot be imported at all? I am using ver 1.94 and the ImpExDatabase_400.php At first I was getting Attachment not imported fails for every single attachment there is in phpbb files folder. Then I saw "attach file 2" just before "Failed :: Attachment not imported" and I dig around the code to see where this comes from. Then first problem came to surface.. Code: echo "attach file " . intval($attachfile); switch (intval($attachfile)) . . . case '2': // file system NEW naming schema This switch never works and always goes to default: which should never happen. My system has .. php 5.2.11 but don't have time to search for that so I removed the whole switch() and replaced it with in if (intval($attachfile)==0) ... etc to bypass this issue.. and it worked.. BUT Now I am getting a mysql error which is very obvious and true.. filesize field does not exist in vb_attachment in vb4.0.0pl1 I stopped here and before I go further figuring out what needs to be done I wrote this post to clarify that impex 1.94 indeed lacks attachment imports to vb4. Is this the case? and if it is should I go back to vb3.8.4pl1 do the whole import from phpBB3 and then upgrade to vb4? I realy do not wish to do that to be totally honest. :( By the way impex really rocks! Everything else went smooth from step 1 to 9. |
| الساعة الآن 04:57 PM |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir