Software: phpBB
Version: 2.0.19 and up
This is the official support topic for phpBB converter. Use this topic to ask for support for this converter. I merged all the changes that were floating around. Lets use this topic to get a final working version.
Changelog
! Convert smileys. (phpbb2_to_smf.sql)
! When converting attachments cast width and height as a string. (phpbb2_to_smf.sql)
! Merged all the small changes floating around into one file. (phpbb2_to_smf.sql)
! When converting attachments set the width and height for images (phpbb2_to_smf.sql)
! Bug in signature conversion. (phpbb2_to_smf.sql)
convert.php
Use this convert.php (http://www.simplemachines.org/community/index.php?topic=140741.0) with the .sql file attached in this topic.
The attachment in this post is the convert.php so is the .sql file somewhere else?
Silly me. Fixed that. Correct attachment is up now.
thanks , worked like a charm! :)
The attachments were transferred OK. :)
One small bug though...the Stickies were transferred but the Announcements were not transferred. So all the Announcements are missing in SMF. I don't really mind because I can re-write them, but you might want to check the code and see if you can find something obvious that wrong.
Every thing worked fine for me except for the custom titles being pulled over as member groups and 'phpbb' being pre-fixed to all member groups names.
The phpBB prefix for the membergroups is a converter setting. Not sure why it's done like that. I'll check and see what's going on.
I run a phpBB2 2.0.21 forum with UTF-8 charset and utf8-general collation database. On the forum there are posts both in greek and english. I used the converter which worked flawlesly but the greek posts are not displayed correctly anymore. I used the utf-8 support in the smf setup, I tried the html->utf-8 from the admin panel but no progress. When I post a new greek topic in the forum the characters are displayed correctly (obviously the forum is UTF-8 compatible). Does the converter support UTF-8? Any working solution or idea? Thnx in advance.
P.S. Same problem: http://www.simplemachines.org/community/index.php?topic=133813.0 (http://www.simplemachines.org/community/index.php?topic=133813.0) I followed your advise. Didn't work.
Madru I'll see what I can do about the UTF-8 stuff. I thought converting the database before hand would help but I guess not.
Thnx for your efforts. I really appreciate
Ok try this convert.php out. http://www.simplemachines.org/community/index.php?topic=140917.msg914511#msg914511
madru try the new file.
Quote from: stuie on January 14, 2007, 06:40:43 AM
One small bug though...the Stickies were transferred but the Announcements were not transferred. So all the Announcements are missing in SMF.
I
think that there are no "announcements" in
core SMF. In my conversion I also lost all announcements, but I never saw an option to create them.
There is a "topic announcement" but what is does is to send a mail to the selected membergourps, with that topic "announced".
Margarett is correct. There is no global announcement feature in SMF. There is mod for though.
Just a note to anyone who has category hierarchy (subforums) mod by ptirhiik for phpbb installed.
This converter works fine .. but if anyone is in any additional groups (apart from Registered Users), when the forum converts these user; privileges will be a bit askew and they may not be part of the 'Regular Users' Group.
There is probably an easier way to fix this then what I did which was to set everyones primary group ( apart from admins ) to regular users , and just used the additional groups to give them access to the restricted forums.
I tried the converter from http://www.simplemachines.org/download/?converters but it had several issues.
-First character of signature missing
This seems to be solved by. I will try the converter from the first post.
-Individual ban controls from phpbb being imported as individual bans (instead of ban triggers)
It would be good if the ban controls could be imported by type with each entry being a new ban trigger under that type..
For example:
Ban Name: Banned Emails
Triggers
-*@spammer.com
-*@badsite.net
-*@xxx.org
Ban Name: Banned IP
Triggers
-111.222.333.4*
-111.222.567.*
-111.222.111.*
-111.222.444.7*
And so on..
I wonder how this works with the current converter.
-Announcements
I dont really need to convert announcements as announcements..but perhaps it can be stickied instead ?
You need to use the converter here not on that page. I haven't committed these changes to CVS.
Any progress on the UTF-8 compatibility?
Cheers
Caused the error:
Duplicate entry '663' for key 1
whats wrong?
Quote from: JayBachatero on January 26, 2007, 11:00:47 AM
You need to use the converter here not on that page. I haven't committed these changes to CVS.
Tried it and it works :-)
Havnt checked how the ban controls were imported yet..
I did add 2 things to the SQL,
-add ordering to the smilies when imported (so it will be in the same order as it was in phpbb.
-convert announcements as sticky topics
Well I haven't looked at the ban control stuff.
In regards to the other changes I'll look into adding that to the converter as well.
Continued from a post made in another forum:
Quote from: JayBachatero on January 26, 2007, 09:14:49 PM
What aka is trying to say, is that you need to add the SMF database user to the phpBB database. If your host doesn't allow you to do that what you can do is reinstall SMF in the same database as phpBB.
Done exactly how ya said and works like a charm.. My host wouldnt allow me to change priv etc.. So I just copied over the config file from phpbb into the same directory as smf and edited setting for same DB..
I must say the conversion is very good I have prob one issue... Some post have [/img] or [/list] showing in a post.. is there a way of getting these posts to show up the same in the options somewhere..
Also I have noticed I am missing 15 members from the conversion?
Can give me an example of a post that has a [ /img] or [ /list] tag messed up?
lol I cant now.. Every post I look at there isnt an issue if I find one I will let ya know.. I did notice that any Symbol like: £ will turn out like this now: £
Sorry to be a pain :(
What I think is going on with the img and list tags is that they are being used in the wrong order. Like a block level tag inside an inline tag.
test
test
[/color] Something like that.
Quote from: Neoszion on January 28, 2007, 05:51:59 PM
Also I have noticed I am missing 15 members from the conversion?
Missing members? Are they members of a specific type? Banned, not active, etc...
i havnt checked if all members have been converted over...perhaps i need to check too
Quote from: etdwh on January 29, 2007, 01:03:50 AM
Missing members? Are they members of a specific type? Banned, not active, etc...
i havnt checked if all members have been converted over...perhaps i need to check too
I think you are right they are banned or inactive members..
Quote from: JayBachatero on January 28, 2007, 06:49:05 PM
What I think is going on with the img and list tags is that they are being used in the wrong order. Like a block level tag inside an inline tag.
test
test
[/color] Something like that.
Does it matter in SMF which way round you use it? or can you not say put some text in a list and change the font?
does anyone have one for pnphpbb the postnuke version of phpbb?
Thanks
Neoszion in SMF it matters the order in which you put the tags since SMF is xhtml strict.
Jay, I just wanted to say "thank you" for the work you've done here. :)
Hi All, I'm getting the following error when try to convert from phpbb 2.0.22
Converting topics... Unsuccessful!
This query:
INSERT INTO `glen`.smf_topics
(ID_TOPIC, isSticky, ID_FIRST_MSG, ID_LAST_MSG, ID_MEMBER_STARTED, ID_MEMBER_UPDATED, ID_BOARD, ID_POLL, locked, numReplies, numViews)
VALUES ('597', '0', '5127', '5223', '29', '8', '1', '23', '0', '13', '813'),
('598', '0', '5186', '5420', '2', '2', '5', '0', '0', '2', '47'),
.....
('692', '0', '6058', '6101', '4', '6', '1', '0', '0', '3', '334'),
.......
('705', '0', '6058', '6101', '4', '6', '1', '0', '0', '3', '28'),
......
Caused the error:
Duplicate entry '6101-1' for key 2
You have duplicate entries in one (or more) of your phpBB tables:
http://www.simplemachines.org/community/index.php?topic=107868.0
Apparently, people are having problems with viewing their profiles and PM's, as well as others. Furthermore, they're having problems editing their profiles, replying, posting, and PM'img.
Are they getting any errors?
Isn't that related to permissions?
Create yourself a test user (non-admin) and see if you can reproduce those problems...
I'm not sure.
Almost everyone is saying they have the same problems.
They can't post or reply to all forums, esp. subforums. They can't view PM's or profiles any longer. Nor edit their profiles.
I've created a non-admin account, and it's the same effect e.e
Permissions problem, just that.
Go to admin and fix as needed.
I've been up and down permissions, I'm not sure where to go anymore e.e
(http://img293.imageshack.us/img293/9514/ehax1.th.gif) (http://img293.imageshack.us/my.php?image=ehax1.gif)
I was logged on?
This is not permissions error...
I will leave for today, please PM me a test account (no admin) and I will try to have a look.
Thank you ^-^
Haiyu did you by any chance drop any of the indexes in the members table? Run this query in phpMyAdmin.
SHOW KEYS
FROM smf_members;
What does it return?
Quick question: If a phpBB2 (2.0.22) system had over 1,500 smilies, and was converted over, how would they be handled by SMF 1.1.1?
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
smf_members 0 PRIMARY 1 ID_MEMBER A 1109 NULL NULL BTREE
smf_members 1 memberName 1 memberName A 1109 30 NULL BTREE
smf_members 1 dateRegistered 1 dateRegistered A 1109 NULL NULL BTREE
smf_members 1 ID_GROUP 1 ID_GROUP A 3 NULL NULL BTREE
smf_members 1 birthdate 1 birthdate A 0 NULL NULL BTREE
smf_members 1 posts 1 posts A 69 NULL NULL BTREE
smf_members 1 lastLogin 1 lastLogin A 554 NULL NULL BTREE
smf_members 1 lngfile 1 lngfile A 0 30 NULL BTREE
smf_members 1 ID_POST_GROUP 1 ID_POST_GROUP A 1 NULL NULL BTREE
This is what I get.. I'm not sure if I dropped anything.I don't think I did?
Quote from: Bernie on January 31, 2007, 07:43:07 PM
Quick question: If a phpBB2 (2.0.22) system had over 1,500 smilies, and was converted over, how would they be handled by SMF 1.1.1?
To tell you the truth I don't even know. I think they will probably be transfered as hidden.
Quote from: Haiyu on January 31, 2007, 09:56:51 PM
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
smf_members 0 PRIMARY 1 ID_MEMBER A 1109 NULL NULL BTREE
smf_members 1 memberName 1 memberName A 1109 30 NULL BTREE
smf_members 1 dateRegistered 1 dateRegistered A 1109 NULL NULL BTREE
smf_members 1 ID_GROUP 1 ID_GROUP A 3 NULL NULL BTREE
smf_members 1 birthdate 1 birthdate A 0 NULL NULL BTREE
smf_members 1 posts 1 posts A 69 NULL NULL BTREE
smf_members 1 lastLogin 1 lastLogin A 554 NULL NULL BTREE
smf_members 1 lngfile 1 lngfile A 0 30 NULL BTREE
smf_members 1 ID_POST_GROUP 1 ID_POST_GROUP A 1 NULL NULL BTREE
This is what I get.. I'm not sure if I dropped anything.I don't think I did?
Can you PM me a test admin and a tes regular account?
Quote from: JayBachatero on January 31, 2007, 10:33:44 PM
Quote from: Bernie on January 31, 2007, 07:43:07 PM
Quick question: If a phpBB2 (2.0.22) system had over 1,500 smilies, and was converted over, how would they be handled by SMF 1.1.1?
To tell you the truth I don't even know. I think they will probably be transfered as hidden.
I'll let you know how it works out. :)
Ok it seems like it won't hide them or anything. Give me a few mins to look into it.
Ok give this a try. SInge phpBB doesn't have a column to show if a smiley is hidden i made it that it will show the first 25 smileys and add the rest of the smileys to the popup.
! Add smileys with an id higher than 25 to the smileys popup. (phpbb2_to_smf.sql)
I'll give it a try and let you know what happens.
At a later date I'll be doing a mod to put them back in categories, as they were on the phpBB2 system. Have to get them into the system first though. ;)
Well I don't really know how phpBB does this. I should look more into it and see if I can make the converter use the categories to it's advantage.
Quote from: JayBachatero on January 31, 2007, 11:52:28 PM
Well I don't really know how phpBB does this. I should look more into it and see if I can make the converter use the categories to it's advantage.
It's a mod, not standard for phpBB2, so it would only be of very limited use. I would imagine you'd prefer to keep your converter for a "plain vanilla" install of phpBB?
A similar mod for SMF would probably be a good idea, which is why I intend to create one, once I'm more familiar with the software. I've made a number of my own mods for phpBB2 in the past, but I have nil experience with SMF yet.
Well we support the attachments mod in the converter. Then again that mod is one of the most popular mods fr phpBB. I guess it all depends on how much people request the mod.
That would be great to see more mods for SMF :).
Quote from: JayBachatero on February 01, 2007, 12:34:28 AM
Well we support the attachments mod in the converter. Then again that mod is one of the most popular mods fr phpBB. I guess it all depends on how much people request the mod.
That would be great to see more mods for SMF :).
Looks like we only have partial success Jay...
Converting smileys... Successful.
Converting censored words... Successful.
Converting reserved names... Successful.
Converting banned users... Successful.
Converting settings... Successful.
Converting attachment mod (if installed)...
Parse error: parse error in /home/******/*****.com/html/forums/convert.php(668) : eval()'d code on line 63
Error in convert script phpbb2_to_smf.sql on line 1039!
Successful.
Recalculating forum statistics... Successful.
It seems to have balked at the attachments. I've had problems with them in the past (forum was hacked 18 months ago) and I suspect there may be a couple of attachments that are missing.
What was the next step in the script?
Uh-oh... Just checked the forum and none of the smilies went to the popup. All 1,537 of 'em are in the top section. LOL Sure makes for a crowded screen when posting!
Yes, I know, you've got to be asking, "What the heck does he need all those smilies for?"
Long story, let's just say I have some very strange people on my system, and that there would be a revolution if I got rid of very many of them.
*Suggestion* Make the script put all the smilies in the popup, and then I can just move the ones I want to the menu.
BTW Jay, I just want to thank you again for the help you give
all the visitors here, not just me.
Ok I had a typo for the attachments stuff thus the error.
Yea I already asked myself that question :P. Why the heck does he has so many of them :P. I just use ~3 :P :) and ;)
Also I changed the smileys stuff around to see if the query would run now.
Also thanks for the comment. Just trying to help ;).
Quote from: JayBachatero on February 01, 2007, 09:43:12 AM
Also thanks for the comment. Just trying to help ;).
And doing a great job of it. I admire your consistently cheerful and helpful demeanor on here. It's not an easy job, and you're pulling it off with style.
Jay, a question, and a couple of suggestions for improving your converter...
Question:
Should anything, in particular, be done before running the new script? (ie: delete the smilies, etc.)
Suggestions:
- On importing the ban list(s) from phpBB make the IP address, email address, etc. the actual name of the ban, rather than "migrated_ban_1006" or whatever. Makes it difficult to know what each one is, or find one in particular to modify. (I have 144 pages of them now.) Yes, I realize you can browse by trigger, but the 'Notes' section already says it's migrated and the default listing shows them by name.
- Give an option to combine all of a particular type of ban (IP, email, etc.) into a single ban, with multiple triggers, or as individual bans.
- When importing smileys, put them into a new set named "imported".
Quote from: Bernie on February 01, 2007, 01:11:19 PM
Quote from: JayBachatero on February 01, 2007, 09:43:12 AM
Also thanks for the comment. Just trying to help ;).
And doing a great job of it. I admire your consistently cheerful and helpful demeanor on here. It's not an easy job, and you're pulling it off with style.
Thanks for the kind words Bernie. :)
Quote from: Bernie on February 01, 2007, 02:54:37 PM
Question:
Should anything, in particular, be done before running the new script? (ie: delete the smilies, etc.)
No need to. If anything needs to be done the converter will do it for you.
Quote from: Bernie on February 01, 2007, 02:54:37 PM
Suggestions:
- On importing the ban list(s) from phpBB make the IP address, email address, etc. the actual name of the ban, rather than "migrated_ban_1006" or whatever. Makes it difficult to know what each one is, or find one in particular to modify. (I have 144 pages of them now.) Yes, I realize you can browse by trigger, but the 'Notes' section already says it's migrated and the default listing shows them by name.
- Give an option to combine all of a particular type of ban (IP, email, etc.) into a single ban, with multiple triggers, or as individual bans.
- When importing smileys, put them into a new set named "imported".
To be honest I would have to look into how the banning works in SMF. Never really had to work with it so never looked into how it works. It shouldn't be to hard to do.
The smileys are kept in the original dir that they wre in phpBB. They are just copied over. So I'm not sure about moving them to 1 separate dir.
Quote from: JayBachatero on February 01, 2007, 10:32:45 PM
Quote from: Bernie on February 01, 2007, 02:54:37 PM
Suggestions:
- On importing the ban list(s) from phpBB make the IP address, email address, etc. the actual name of the ban, rather than "migrated_ban_1006" or whatever. Makes it difficult to know what each one is, or find one in particular to modify. (I have 144 pages of them now.) Yes, I realize you can browse by trigger, but the 'Notes' section already says it's migrated and the default listing shows them by name.
- Give an option to combine all of a particular type of ban (IP, email, etc.) into a single ban, with multiple triggers, or as individual bans.
- When importing smileys, put them into a new set named "imported".
To be honest I would have to look into how the banning works in SMF. Never really had to work with it so never looked into how it works. It shouldn't be to hard to do.
The smileys are kept in the original dir that they wre in phpBB. They are just copied over. So I'm not sure about moving them to 1 separate dir.
Ah, that's good to know. I had not really looked at where and how the smilies that were imported were being stored yet. If I understand you correctly then they are still in the directory that phpBB stored them in, so deleting the phpBB directories after the conversion would lose all those graphics files. I'll have to create a new directory for them, and change the path in SMF.
Being a high rated site (Google) ours had significant problems with spammers and spammer bots. The cure, for us, was in banning certain IP addresses, or ranges of IP addresses, as well as dozens of email domains. Thus, 144 pages of bans that were imported.
BTW, the converter is not working well with the attachments. I'm getting a lot of errors about missing files (possible, as I noted earlier) and bombing out with an SQL error.
Unsuccessful!
This query:
INSERT INTO `smf`.smf_attachments
(ID_ATTACH, ID_MSG, filename, size, downloads, width, height)
VALUES
(295, 96271, SUBSTRING('Advancing under smoke cover.jpg', 1, 255), 300707, 0, 800, 600),
(296, 12701, SUBSTRING('the_tennis_court.zip', 1, 255), 141255, 12, , ),
(297, 96267, SUBSTRING('Image1.jpg', 1, 255), 34291, 427, 456, 298),
(298, 96259, SUBSTRING('VAZ2105.JPG', 1, 255), 19143, 177, 350, 214),
(299, 96267, SUBSTRING('Image2..jpg', 1, 255), 38631, 427, 574, 366),
(300, 96267, SUBSTRING('Image3.jpg', 1, 255), 60379, 7, 529, 407),
(301, 96336, SUBSTRING('T5.JPG', 1, 255), 184267, 7, 800, 600),
(302, 96211, SUBSTRING('HPIM0387.JPG', 1, 255), 40566, 44, 773, 576),
(303, 96211, SUBSTRING('HPIM0385.JPG', 1, 255), 48839, 44, 773, 576),
(304, 96211, SUBSTRING('HPIM0381.JPG', 1, 255), 25813, 8, 576, 773),
(305, 96355, SUBSTRING('Italian Inf gun.png', 1, 255), 447245, 3, 474, 276),
(306, 96375, SUBSTRING('RKHGBFI01.jpg', 1, 255), 38411, 169, 250, 355),
(307, 96359, SUBSTRING('UO0002.JPG', 1, 255), 200849, 10, 800, 600),
(308, 96361, SUBSTRING('T6.JPG', 1, 255), 184330, 7, 800, 600),
(309, 96375, SUBSTRING('RKHGBRG05.jpg', 1, 255), 20384, 169, 200, 230),
(310, 100734, SUBSTRING('T-10-ECent-Trying-to-hold-o.jpg', 1, 255), 164022, 5, 668, 537),
(311, 96426, SUBSTRING('t7.JPG', 1, 255), 188191, 6, 800, 600),
(312, 96433, SUBSTRING('German Advance Soviet Delay July 1942.doc', 1, 255), 68608, 15, , ),
(313, 96438, SUBSTRING('PBM form.doc', 1, 255), 31232, 7, , ),
(314, 96448, SUBSTRING('Bersaglieri_motociclisti_sotto_lArco_dei_Fileni.jpg', 1, 255), 59172, 0, 605, 963),
(315, 96448, SUBSTRING('Bersaglieri_moto_Lybia.jpg', 1, 255), 114760, 1, 1046, 790),
(316, 2713, SUBSTRING('commando_camp.zip', 1, 255), 322800, 92, , ),
(317, 96271, SUBSTRING('Enemy veihicles neutralized.jpg', 1, 255), 282005, 1, 800, 600),
(318, 96211, SUBSTRING('HPIM0393.JPG', 1, 255), 45519, 9, 576, 773),
(319, 96211, SUBSTRING('HPIM0392.JPG', 1, 255), 54953, 0, 576, 773),
(320, 96271, SUBSTRING('Sturmpionners crossed the river.jpg', 1, 255), 301583, 0, 800, 600),
(321, 100734, SUBSTRING('T-10 N-Barely Holding On.jpg', 1, 255), 428822, 3, 668, 540),
(322, 97596, SUBSTRING('map_winner.gif', 1, 255), 5493, 130, 125, 125),
(323, 96211, SUBSTRING('HPIM0377.JPG', 1, 255), 64170, 1, 576, 773),
(324, 96211, SUBSTRING('HPIM0376.JPG', 1, 255), 75947, 6, 773, 576),
(325, 96266, SUBSTRING('neighbors_rig.jpg', 1, 255), 73812, 2, 490, 421),
(326, 96266, SUBSTRING('New_panel2.jpg', 1, 255), 49507, 42, 441, 683),
(327, 96256, SUBSTRING('t3.JPG', 1, 255), 182537, 7, 800, 600),
(328, 96266, SUBSTRING('New_Panel1.jpg', 1, 255), 85606, 0, 790, 672),
(329, 96260, SUBSTRING('t19.JPG', 1, 255), 167303, 2, 800, 600),
(330, 96367, SUBSTRING('cannone_65-17.jpg', 1, 255), 9962, 91, 300, 125),
(331, 95716, SUBSTRING('view1.jpg', 1, 255), 184521, 20, 666, 538),
(332, 96242, SUBSTRING('Lancia 3Ro_2.jpg', 1, 255), 291784, 12, 740, 413),
(333, 96242, SUBSTRING('Lancia 3RO.jpg', 1, 255), 256708, 11, 914, 336),
(334, 96242, SUBSTRING('Lancia 3RO_3.jpg', 1, 255), 289601, 11, 1176, 295),
(335, 96240, SUBSTRING('T17M.JPG', 1, 255), 184918, 0, 800, 600),
(336, 96130, SUBSTRING('Open pit2.jpg', 1, 255), 44834, 93, 600, 464),
(337, 95886, SUBSTRING('JACKSON_T-SHIRT_EDITED.jpg', 1, 255), 46869, 162, 480, 640),
(338, 95889, SUBSTRING('Russian Arty plots.JPG', 1, 255), 149946, 9, 800, 600),
(339, 95651, SUBSTRING('200_278.zip', 1, 255), 779183, 27, , ),
(340, 96227, SUBSTRING('Turn2.JPG', 1, 255), 167715, 6, 800, 600),
(341, 96211, SUBSTRING('HPIM0391.JPG', 1, 255), 53452, 1, 773, 576),
(342, 96211, SUBSTRING('HPIM0396.JPG', 1, 255), 50249, 1, 576, 773),
(343, 96211, SUBSTRING('HPIM0404.JPG', 1, 255), 53833, 2, 773, 576),
(344, 96171, SUBSTRING('SJT11-Armor.jpg', 1, 255), 274525, 2, 800, 600),
(345, 96171, SUBSTRING('SJT11-Almost.jpg', 1, 255), 267476, 2, 800, 600),
(346, 96171, SUBSTRING('SJT11-Surrounded.jpg', 1, 255), 272743, 5, 800, 600),
(347, 96149, SUBSTRING('414-418 Art 113 Complete Series ENHANCED.zip', 1, 255), 171579, 117, , ),
(348, 96137, SUBSTRING('elec_layout.jpg', 1, 255), 46032, 59, 511, 264),
(349, 96130, SUBSTRING('R689.jpg', 1, 255), 48765, 93, 511, 300),
(350, 96130, SUBSTRING('Large Dutch 8c_1.jpg', 1, 255), 18931, 93, 400, 300),
(351, 96130, SUBSTRING('Large gun.jpg', 1, 255), 18090, 93, 500, 333),
(352, 15771, SUBSTRING('SealionCh1Campaign.zip', 1, 255), 345848, 83, , ),
(353, 96130, SUBSTRING('Open pit.jpg', 1, 255), 27981, 93, 500, 345),
(354, 96130, SUBSTRING('Med size105mm_R671.jpg', 1, 255), 81253, 1, 800, 600),
(355, 95652, SUBSTRING('200_261enh.zip', 1, 255), 661358, 35, , ),
(356, 14548, SUBSTRING('Scen406.zip', 1, 255), 50091, 36, , ),
(357, 96130, SUBSTRING('S169 Large.jpg', 1, 255), 49416, 93, 559, 300);
Caused the error:
You have an error in your SQL syntax near ' ),
(297, 96267, SUBSTRING('Image1.jpg', 1, 255), 34291, 427, 456, 298),
' at line 6
Here is the fixed version. Fixed it yesterday but forgot to post it.
Ummm, Jay? You did post it. And I used it. That's what this output is from.
:D
No it was after I posted that one. This is another version.
Quote from: JayBachatero on February 02, 2007, 01:46:46 AM
No it was after I posted that one. This is another version.
Just tried it... 100% success. No errors reported.
I'll go look and see how it did in what it imported and post you a report later.
I am trying to use this converter and not having much luck. When I enter the settings that I think are right, this is the error I get:
Unable to find the settings for phpBB2. Please double check the path and try again.
Am I suppossed to be pointing this form to the live db? I made a backup of the db and uploaded it to my new forum directory and tried to input that path, but I am getting the same error.
You need to make it point to the correct phpBB directory.
I would like to convert my phpBB forum to SMF, but I'm also using a portal on it, will that be a problem, or will it just remove it?
also a readme file would be nice with the download with instructions on what to do. I have no clue how to do this or even how to start :-\ .
Will it totally delete all the phpbb files and replace them with smf?
Will it remove all tables and rows from the DB that are not used in SMF?
Sorry about the questions, but the idea of doing this terrifies me, I'm afraid something will go wrong I'm going to lose all or parts of the content in my forum thats been up and active for over 2 years(yes even with making a backup) lol
Any help with this would be GREATLY appreciated :)
Thanks
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
heh yeah I JUST found that and came back to edit my post lol
one thing it didn't mention is, after its converted what do I do with the old forum files? can I delete them and the phpbb DB tables?
And if my phpBB forum is at mydomain.com and I install SMF in mydomain.com/smf and convert will I still have to use that path to the new smf forum? or will it be accessable with mydomain.com?
You can delete your old forum and database.
After you install smf to the smf dir you can then move it to the root dir and use repair_settings.php to fix the paths.
What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)
Great! thanks! I'm starting to feel alot better about this now :D
You'll feel even better after you convert :P.
oh yes, I know I will. I already have a separate smf forum running(Altered Universe link in my siggy), thats what made me decide to want to convert my phpbb forum ;)
Quote from: Bernie on February 02, 2007, 02:38:27 AM
Quote from: JayBachatero on February 02, 2007, 01:46:46 AM
No it was after I posted that one. This is another version.
Just tried it... 100% success. No errors reported.
I'll go look and see how it did in what it imported and post you a report later.
Jay, I had to reinstall the forum, and the DB, because of something I screwed up. Anyway, even with the new sql it's still putting all the smilies in the post window, and none in the popup. I'll do a regular sql query to reset the hidden code for all of them to "2", then move the few I want displayed in the post window up there. (I'm also quite willing to test any changes to the script, since the new forum isn't live yet)
That should hold me over until I can write a mod that will categorize them and put them in tabbed popup windows.
Again, you've been a huge help here and I thank you sincerely.
Bernie can you please go to phpMyAdmin and tell me me the highest number of ID_SMILEY in the smileys table?
Ok try this file. I change the order in which things were done. Hope it works this time.
Quote from: JayBachatero on February 04, 2007, 01:56:07 AM
Bernie can you please go to phpMyAdmin and tell me me the highest number of ID_SMILEY in the smileys table?
Ok try this file. I change the order in which things were done. Hope it works this time.
1442 Jay. Should be higher than that, but I think I had a few duplicates.
Just try the file that I posted.
Quote from: JayBachatero on February 04, 2007, 02:04:57 AM
Just try the file that I posted.
I'll give it a try as soon as my search index finishes. Might be a couple of hours.
WOW, that went great! no errors at all. I'm still checking the forum for anything missing but looks good so far :D
One thing I noticed is that the post count titles didn't go over well...all of the title have phpbb infront of them lol
for example, one title was 'Warlord' and instead it says 'phpbb Warlord' LOL All of the membergroup names also have phpbb in front of them.
Also some of the [ url ] and [ img ] tags in sigs are messed up adn (this is the strange part) there are some posts that say they from guest(deleted or banned members?) in some threads that aren't even in the old forum! LOL
Actually the tag thing I think has more to do with the very first character in all the sigs being missing...
got an example of the messed up tags?
Quote from: Bernie on February 04, 2007, 02:16:53 AM
Quote from: JayBachatero on February 04, 2007, 02:04:57 AM
Just try the file that I posted.
I'll give it a try as soon as my search index finishes. Might be a couple of hours.
5th time was the charm Jay. All the smilies are now in correct locations.
I believe what SRaven is talking about is that the converter prepends "phpbb" onto the name of any member group or rank that it carries over. It would probably be better to just bring the groups and ranks over under their original names, and only make a change in case of conflict.
One of the problems faced by anyone trying to convert over is that there's a ton of setup work to do, particularly with permissions and membergroups. That alone can take a day or more. If you've closed down your previous system, all well and good. But, if you're keeping phpBB "live" while you work on the new system, then you have the problem of importing any new posts/members without undoing all the changes you just made.
It might work better, for those kinds of situations, to have the converter pause for confirmation between tasks, giving the option to skip tasks. In the above example, you could skip all tasks except the copying over of topics and posts, and not have to worry that you'll have to do everything all over again.
Added ordering to smilies and converting between post and popup smilies.
SELECT code AS code, smile_url AS filename, emoticon AS description, smilies_id AS smileyOrder, IF(smilies_id > 25, 2, 0) AS hidden
FROM {$from_prefix}smilies
ORDER BY smilies_id;
Works great now :)
Only problem is multiple smilies codes sharing the same icon.
;) and ;-)
= ;)
The same image shows up twice in the post form/popup.
If there was a way to hide the first one, and set everything else to hidden..right now i have to do that manually :(
As for the duplicate entries when converting posts, try putting your forum in maintenance mode or offline before you start the conversion.
Quote from: Bernie on February 04, 2007, 01:52:29 AM
That should hold me over until I can write a mod that will categorize them and put them in tabbed popup windows.
Sounds like a great mod in the making :D
Makes sense for forums with lots of smilies
@Bernie: I'm not sure what's the reason to adding phpbb as a prefix for membergroups. I would have to get Grudge to answer that one.
I regards to having the converter pause/resume/skip I've been wanting to do this for a while now but I just don't have the time to work too much on the converter besides fixing it and making sure it's working correctly.
etdwh I don't get what you mean about the ;-) and ;). They are supposed to show the same image.
Quote from: JayBachatero on February 04, 2007, 08:56:17 AM
got an example of the messed up tags?
its actually not really a case of messed up tags.. where the problem is, is that the first character in the sigs have dissappeared. so, if you have an img or url in your sig it now looks like:
Quote
url=http://blah blah]blah blah[/url] or
img][/img]
and if its text, the first letter is missing.
Umm I set it correctly on the convert file. Open the file. There is a line like this "$row['signature'] = substr($row['signature'], 0, 65534);". Does the line match or is there a 1 after $row['signature']?
Quote from: JayBachatero on February 04, 2007, 11:32:25 PM
etdwh I don't get what you mean about the ;-) and ;). They are supposed to show the same image.
In phpbb (not sure how), its possible to have several codes for the same image.
So..;-) :wink: and '; )' [<--i added a extra space] will show ;) . But, only one code is shown in the popup/post forum.
So users only see '; )' is the post form. But if they manually enter :wink: or ;-)..its still shows the image ;)
In SMF, i need to set the smiley for ;-) and :wink: to hidden for the same effect
I hope you get what i mean.
Yes I had to to that myself... Set the "duplicates" to hidden does the trick ;)
It can be done with the converter but I think its best if left for the admin to do. That way they can select what they want hidden and what they want to be shown.
Yes I agree with you. For instance the ;) has 3 codes:
;)
;-)
:wink:
And the first one is :wink:
. Well, I like the ;)
much more, so I changed it my way ;)
Quote from: JayBachatero on February 05, 2007, 02:06:07 AM
Umm I set it correctly on the convert file. Open the file. There is a line like this "$row['signature'] = substr($row['signature'], 0, 65534);". Does the line match or is there a 1 after $row['signature']?
Found that line in the sql file, not the convert file(convert.php)...
and this is what it says in the file I have:
$row['signature'] = substr($row['signature'], 1, 65534);
So yes, there was a 1
So redownload the .sql file.
Quote from: margarett on February 05, 2007, 09:51:43 AM
Yes I agree with you. For instance the ;) has 3 codes:
;)
;-)
:wink:
And the first one is :wink:
. Well, I like the ;)
much more, so I changed it my way ;)
I agree, thats why i have created a seperate SQL script to setup the smilies once the conversion is complete. ;)
There is about 200+ smilies in my forum now, so manually editing it ONCE should be enough :D
So far so good. I have been doing all the conversions as a test at home with no problems. Hopefully the live conversion goes well :-\
Quote from: etdwh on February 05, 2007, 10:44:02 PM
Quote from: margarett on February 05, 2007, 09:51:43 AM
Yes I agree with you. For instance the ;) has 3 codes:
;)
;-)
:wink:
And the first one is :wink:
. Well, I like the ;)
much more, so I changed it my way ;)
I agree, thats why i have created a seperate SQL script to setup the smilies once the conversion is complete. ;)
There is about 200+ smilies in my forum now, so manually editing it ONCE should be enough :D
So far so good. I have been doing all the conversions as a test at home with no problems. Hopefully the live conversion goes well :-\
What does your script do?
Quote from: Bernie on February 05, 2007, 11:06:36 PM
Quote from: etdwh on February 05, 2007, 10:44:02 PM
Quote from: margarett on February 05, 2007, 09:51:43 AM
Well, I like the ;)
much more, so I changed it my way ;)
I agree, thats why i have created a seperate SQL script to setup the smilies once the conversion is complete. ;)
There is about 200+ smilies in my forum now, so manually editing it ONCE should be enough :D
What does your script do?
Its just a collection of SQL statements to empty the smilies table and insert everything the way i like. Basically, i just setup the smilies the way i like once, then export the smilies table to a SQL script.
Once I have converted the forum, i just use phpMyAdmin to run the SQL script. No need to setup the smilies again.
Quote from: etdwh on February 06, 2007, 12:49:27 AM
Quote from: Bernie on February 05, 2007, 11:06:36 PM
Quote from: etdwh on February 05, 2007, 10:44:02 PM
Quote from: margarett on February 05, 2007, 09:51:43 AM
Well, I like the ;)
much more, so I changed it my way ;)
I agree, thats why i have created a seperate SQL script to setup the smilies once the conversion is complete. ;)
There is about 200+ smilies in my forum now, so manually editing it ONCE should be enough :D
What does your script do?
Its just a collection of SQL statements to empty the smilies table and insert everything the way i like. Basically, i just setup the smilies the way i like once, then export the smilies table to a SQL script.
Once I have converted the forum, i just use phpMyAdmin to run the SQL script. No need to setup the smilies again.
Ah, okay, that's an improvement upon the way Jay handles them in his converter script, for your setup at least.
Mine is a little more complex since I've got over 7 times the number you have and they're categorized. I really need to write that mod for SMF, but I've been too busy.
I have done it in another way... As I made several conversions to get used to SMF, one of those times I set up all the smileys the way I want. Then I saved the table "smf_smileys" and the smileys folder. When it was "final" I overwritten the smilies table with the "complete" one, and also the smileys folder. There is no connection (indexes or whatever) to other tables, so you can just "paste" a previous table ;)
OK,
I am in the process of installing SMF to start converting. However, I keep getting this message.
The installer was unable to access the "smf" database. With some hosts, you have to create the database in your administration panel before SMF can use it. Some also add prefixes - like your username - to your database names.
I tried making a database in Mysql, but it keeps getting this error message. I know I sound stupid, but this is my first with php.
Please help me.
I am new to this stuffs.
What values should I insert in highlighted by red .
Give me some examples.
(http://img213.imageshack.us/img213/6647/helpwo2.jpg)
Quote from: Brunol on February 17, 2007, 02:14:32 AM
OK,
I am in the process of installing SMF to start converting. However, I keep getting this message.
The installer was unable to access the "smf" database. With some hosts, you have to create the database in your administration panel before SMF can use it. Some also add prefixes - like your username - to your database names.
I tried making a database in Mysql, but it keeps getting this error message. I know I sound stupid, but this is my first with php.
Hi I am also new to this stuff.
Have you installed your SMF in your server?
Does it work properly ?
If so you can start converting your forum.
Did you guys install SMF before converting? You need to have SMF up and running before converting.
last night i ran the converter using the version available on the download page which i also downloaded last night. from the look of things, i shouldn't have run that version.
my users are experiencing all the problems i've seen mentioned in this thread:
phpbb added to their ranking
unable to access profiles, make posts, etc
permissions to hidden sections removed
I've not seen anything in the thread about whether or not those problems are resolved by using the new converter. Can I assume that they have been, or is this an unresolved issue? If a new converter will fix it, then I can easily remove the old DB and start from scratch.
Hi
I am not sure where to put this files convert.php and phpbb2_to_smf
my phpbb is located here http://www.koddinn.com/spjall
and my smf bord here http://www.koddinn.com/spjallid
and before i install this, i have have to have clean smf board, no posts in it ?
Quote from: tsp_derek on February 22, 2007, 01:04:53 PM
last night i ran the converter using the version available on the download page which i also downloaded last night. from the look of things, i shouldn't have run that version.
my users are experiencing all the problems i've seen mentioned in this thread:
phpbb added to their ranking
unable to access profiles, make posts, etc
permissions to hidden sections removed
I've not seen anything in the thread about whether or not those problems are resolved by using the new converter. Can I assume that they have been, or is this an unresolved issue? If a new converter will fix it, then I can easily remove the old DB and start from scratch.
You need to use the converter form this topic. Not the one from the download page.
Quote from: Hafdís on February 24, 2007, 04:31:24 AM
Hi
I am not sure where to put this files convert.php and phpbb2_to_smf
my phpbb is located here http://www.koddinn.com/spjall
and my smf bord here http://www.koddinn.com/spjallid
and before i install this, i have have to have clean smf board, no posts in it ?
Put those files in the spjallid folder. The converter will erase ALL posts members and other data prior to the conversion.
thx, worked fine
hi friends,
i used this converter to convert from phpbb2 to smf,
and it worked but there is a problem,
my forum is a turkish forum and while converting from phpbb, the converter couldnt convert turkish characters correctly,
my forums db's language set is latin5,
and i added
mysql_query("SET NAMES 'latin5'");
mysql_query("SET CHARACTER SET latin5");
these lines into convert.php
but still i couldnt solve problem,
also i tried tu use
mysql_query("SET NAMES 'utf8'");
but i couldnt solve this problem,
in phpbb2 's db, turkish characters stored correctly, but in smf's tables, turkish characters decomposed,
also when i used the turkish language file for smf forum, smf shows all turkish characters wrong, but if use turkish utf8 language pack, smf shows some turkish charecters wrong and shows some of them corectly,
What can i do now?
anyone can help me?
What charset are the SMF tables in? For phpBB tables?
my db's charset is latin5, so phpbb tables charset is latin5,
Quote from: JayBachatero on February 28, 2007, 10:00:18 AM
What charset are the SMF tables in? For phpBB tables?
phpbb s tables charset is latin5, but i noticed that smf tables charset is latin1, so i deleted smf tables and then created with latin5 charset,
then i tried to convert with orijinal convert.php but the same problem still exist,
then i added these lines to convert.php
mysql_query("SET NAMES 'latin5'");
mysql_query("SET character_set_connection = 'latin5'");
mysql_query("SET character_set_client = 'latin5'");
mysql_query("SET character_set_results = 'latin5'");
and then i converted succesfully..
thanx a lot :)
i should add that, i am using turkish utf 8 language pack,
in normal turkish language pack, it doesnt work :)
Thanks that helps a lot. Maybe I can get something going on for UTF-8 support.
Is the file in the first post always updated with the latest version?
Yes. Use that file.
any idea about this error message?
Converting members... Unsuccessful!
This query:
INSERT INTO `undergro_smf`.smf_attachments
(ID_MSG, ID_MEMBER, filename, attachmentType)
VALUES (0, 2, SUBSTRING('avatar_2.gif', 1, 255), 0);
Caused the error:
Unknown column 'attachmentType' in 'field list'
it also deleted my admin user. dont worry about it i will just do a fresh clean smf install and try the convertor again
Are you using the converter in this topic?
i already try all files you have here to convert PHPBB to SMF :'( now he do all ok untill... attachments_desc... he convert every thing ok, except attachments_desc, he dont put the attachements in my new forum :'(... so i delet phpbb_attachments_desc from sql, run the convert and he gives every thing ok...
QuoteConverting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting moderators... Successful.
Converting avatar gallery images... Successful.
Converting smileys... Successful.
Converting censored words... Successful.
Converting reserved names... Successful.
Converting settings... Successful.
Converting attachment mod (if installed)... Unsuccessful!
in attachment mod he asck for
QuoteSELECT
a.post_id AS ID_MSG, ad.real_filename AS filename, ad.physical_filename AS encrypted,
ad.download_count AS downloads, ad.filesize AS size
FROM (`microluso`.phpbb_attachments AS a, `microluso`.phpbb_attachments_desc AS ad)
WHERE a.post_id != 0
AND ad.attach_id = a.attach_id
LIMIT 0, 100;
In my PHPBB attachment mod i have
QuoteDROP TABLE IF EXISTS phpbb_attachments_desc;
CREATE TABLE phpbb_attachments_desc(
attach_id mediumint(8) unsigned NOT NULL auto_increment,
physical_filename varchar(255) NOT NULL,
real_filename varchar(255) NOT NULL,
download_count mediumint(8) unsigned NOT NULL,
comment varchar(255),
extension varchar(100),
mimetype varchar(100),
filesize int(20) NOT NULL,
filetime int(11) NOT NULL,
thumbnail tinyint(1) NOT NULL,
MD5hash varchar(32) NOT NULL,
PRIMARY KEY (attach_id),
KEY filetime (filetime),
KEY physical_filename (physical_filename),
KEY filesize (filesize)
);
and many more like this samples
QuoteINSERT INTO phpbb_attachments_desc (attach_id, physical_filename, real_filename, download_count, comment, extension, mimetype, filesize, filetime, thumbnail, MD5hash) VALUES('2', 'dadosoctal_210.rar', 'DadosOctal.rar', '30', '', 'rar', 'application/octet-stream', '18909', '1166515435', '0', '');
INSERT INTO phpbb_attachments_desc (attach_id, physical_filename, real_filename, download_count, comment, extension, mimetype, filesize, filetime, thumbnail, MD5hash) VALUES('3', 'gsp_607.rar', 'GSP.rar', '22', '', 'rar', 'application/octet-stream', '554923', '1166515583', '0', '');
INSERT INTO phpbb_attachments_desc (attach_id, physical_filename, real_filename, download_count, comment, extension, mimetype, filesize, filetime, thumbnail, MD5hash) VALUES('4', 'octavariumkadaverium_139.rar', 'OctavariumKadaverium.rar', '28', '', 'rar', 'application/octet-stream', '180418', '1166515716', '0', '');
I put them into my SQL aomost all files i try give
QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
But whit this one
Quotephpbb2_to_smf.sql
http://www.simplemachines.org/community/index.php?topic=142124.msg937310#msg937310
and
convert.php
http://www.simplemachines.org/community/index.php?topic=140917.msg914511#msg914511
he give me this erro
QuoteConverting attachment mod (if installed)...
Parse error: syntax error, unexpected T_VARIABLE in /www/sites/1/M/I/microluso.com/site/Forum/convert.php(682) : eval()'d code on line 63
Error in convert script phpbb2_to_smf.sql on line 961!
Help please
:-*
(Sorry for bad english and the long post, i think this was the best way to explain wath is hapening)
How well does this converter work? Does it convert it to a fully functional SMF board, with all the bells and whistles? What about a heavily modded phpBB board, will it convert it with no problems? Can I back up and restore the phpBB board if there are errors with the conversion? I ask because I have ran a phpBB board for years and just recently changed to a SMF board. Some members are having problems registering. I thought if I could convert the phpBB board, I'd give that a try to see how it turns out, but restore it if there are problems.
So far the converter works pretty well. Your phpBB data will stay in tact so you can go back to phpBB. I don't see that happening though :P.
Thanks. Do the convert and sql files go into the root directory of the phpBB forum and ran from there?
No they go in SMF's root dir.
Thanks.
ok, call me stupid - but how the heck do i do this??
I'm trying to convert from phpbb to SMF.
I've installed SMF and it's running fine.
I put the convert.php file in the SMF forum directory.
1s box: I entered the SMF forum
2nd box: I entered the phpbb forum
I keep getting this error.
Unable to find the settings for Oxygen 1.1. Please double check the path and try again.
Quote from: furagz on March 08, 2007, 04:08:11 AM
ok, call me stupid - but how the heck do i do this??
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Quote from: alsunna on March 08, 2007, 11:59:08 AM
I'm trying to convert from phpbb to SMF.
I've installed SMF and it's running fine.
I put the convert.php file in the SMF forum directory.
1s box: I entered the SMF forum
2nd box: I entered the phpbb forum
I keep getting this error.
Unable to find the settings for Oxygen 1.1. Please double check the path and try again.
You seem to have downloaded the wrong files. Download the phpbb2_to_smf.sql file from this topic.
True, the download file had the wrong file in it, pls correct for future issues.
The conversion went very smooth but got one error:
Fatal error: Call to undefined function: copy_dir() in /home/content/k/e/h/kehl1/html/sayf2/forum/convert.php(665) : eval()'d code on line 20
And I'm not able to log into the forum. It moved all topics, but did not move any of the member lists.
Download the Convert.php (http://www.simplemachines.org/community/index.php?topic=140741) from here.
Ok I downloaded the attached convert.php file and I did not get that error, but I get this:
Converting board access... Unsuccessful!
INSERT INTO `alsunna_org`.smf_forumboard_permissions
(ID_GROUP, ID_BOARD, permission)
VALUES
(2, 1, 'post_new'),
(2, 1, 'mark_notify'),
(2, 1, 'mark_any_notify'),
(2, 1, 'post_reply_any'),
(2, 1, 'modify_own'),
(2, 1, 'make_sticky'),
(2, 1, 'announce_topic'),
(2, 1, 'remove_own'),
(2, 1, 'delete_own'),
(2, 1, 'poll_vote'),
(2, 1, 'poll_view'),
(2, 1, 'poll_post'),
(2, 1, 'poll_add_own'),
(3, 1, 'post_new'),
(3, 1, 'mark_notify'),
(3, 1, 'mark_any_notify'),
(3, 1, 'post_reply_any'),
(3, 1, 'modify_own'),
(3, 1, 'make_sticky'),
(3, 1, 'announce_topic'),
(3, 1, 'remove_own'),
(3, 1, 'delete_own'),
(3, 1, 'poll_vote'),
(3, 1, 'poll_view'),
(3, 1, 'poll_post'),
(3, 1, 'poll_add_own');
Caused the error:
Duplicate entry '2-1-post_new' for key 1
Caused the error:
Duplicate entry '2-1-post_new' for key 1
The categories are up, I can access but it shows 1 member only:
Forum Stats
1 Posts in 1 Topics by 1 Members. Latest Member: admin
Did you start the conversion from scratch?
Thanks Jay -I figured it out, now I just have to figure out why none of the avatars came over!!! I'm working on that one as we speak!!!
Yes.
I'm convert this forum www.alsunna.org/f to this www.alsunna.org/forum
Now if I click on memberlist, I'll see the members. But not in the Forum Stats I get the wrong infol
Forum Stats
1 Posts in 1 Topics by 1 Members. Latest Member: admin
Quote from: Fu-Ragz.com on March 08, 2007, 01:15:54 PM
Thanks Jay -I figured it out, now I just have to figure out why none of the avatars came over!!! I'm working on that one as we speak!!!
Are youusing the latest files? I though I fixed the avatar problem.
Quote from: alsunna on March 08, 2007, 01:16:42 PM
Yes.
I'm convert this forum www.alsunna.org/f to this www.alsunna.org/forum
Now if I click on memberlist, I'll see the members. But not in the Forum Stats I get the wrong infol
Forum Stats
1 Posts in 1 Topics by 1 Members. Latest Member: admin
Seems like it didn't finish converting. Send me ftp info and I'll see whats wrong.
I can't get away from this error:
QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '~^`[^`]+`.\d~' at line 1
I'm running
Mac OS X Server 10.4.8
PHP 5.0.4
MySQL 4.1.15
I'm using the latest convert.php and phpbb2_to_smf.sql from this thread.
Any ideas?
Hi Jay - everything's working perfectly, but still can't figure out why the avatars didn't come over. I have tried everything that I can think of (haha, not much, i'm not too good at this) and it's not working. Any ideas would be GREATLY appreciated :)
Thanks much - Wen
Quote from: Boredflak on March 08, 2007, 05:35:51 PM
I can't get away from this error:
QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '~^`[^`]+`.\d~' at line 1
I'm running
Mac OS X Server 10.4.8
PHP 5.0.4
MySQL 4.1.15
I'm using the latest convert.php and phpbb2_to_smf.sql from this thread.
Any ideas?
You need to give smf access to the phpBB database.
Quote from: Fu-Ragz.com on March 08, 2007, 08:43:09 PM
Hi Jay - everything's working perfectly, but still can't figure out why the avatars didn't come over. I have tried everything that I can think of (haha, not much, i'm not too good at this) and it's not working. Any ideas would be GREATLY appreciated :)
Thanks much - Wen
I'll look into it when I get a chance.
Quote from: JayBachatero on March 08, 2007, 10:40:49 PM
Quote from: Boredflak on March 08, 2007, 05:35:51 PM
I can't get away from this error:
QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '~^`[^`]+`.\d~' at line 1
I'm running
Mac OS X Server 10.4.8
PHP 5.0.4
MySQL 4.1.15
I'm using the latest convert.php and phpbb2_to_smf.sql from this thread.
Any ideas?
You need to give smf access to the phpBB database.
Sorry. Forgot to mention that. The smf MySQL user has full privileges for the phpBB database. In fact I even gave it the same privileges as the MySQL root user to no avail.
I should also mention that I'm running phpBB 2.0.22
I've triple checked my "Path to SMF" and "Path to phpBB2" and each of those fields has "This may be the right path." below them.
Thanks for your help Jay!
Quote from: etdwh on January 28, 2007, 12:30:21 AM
Quote from: JayBachatero on January 26, 2007, 11:00:47 AM
You need to use the converter here not on that page. I haven't committed these changes to CVS.
Tried it and it works :-)
Havnt checked how the ban controls were imported yet..
I did add 2 things to the SQL,
-add ordering to the smilies when imported (so it will be in the same order as it was in phpbb.
-convert announcements as sticky topics
Hi folks.
I am wondering if you can share the code and how you added the two fixes that you mentioned?
thanks,
nada
Quote from: JayBachatero on February 01, 2007, 09:42:42 AM
Ok I had a typo for the attachments stuff thus the error.
Yea I already asked myself that question :P. Why the heck does he has so many of them :P. I just use ~3 :P :) and ;)
Also I changed the smileys stuff around to see if the query would run now.
Hi Jay,
Thanks for your help on the converter. Just so I understand, when you post a fixed sql file within this thread, should I ignore it, if I already got the one that is posted on Page One of this thread?
I am a lil confused here, thanks
nada
Quote from: Bernie on February 02, 2007, 02:38:27 AM
Quote from: JayBachatero on February 02, 2007, 01:46:46 AM
No it was after I posted that one. This is another version.
Just tried it... 100% success. No errors reported.
I'll go look and see how it did in what it imported and post you a report later.
Hi,
Will you let us know in here when your board goes online with SMF, as I would love to see it!
nada
Quote from: JayBachatero on February 04, 2007, 01:37:55 AM
You can delete your old forum and database.
After you install smf to the smf dir you can then move it to the root dir and use repair_settings.php to fix the paths.
What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)
I just dl that, and I think it should be zipped up with all the converters.
nada
Quote from: JayBachatero on February 04, 2007, 02:04:57 AM
Just try the file that I posted.
this is a little unrelated, but, when I reply with quote here, and hit POST, the screen that I am returned to, is BLANK. I have to copy the url of this thread into my browser address window in order to come right back.
if it helps, I just registered today as a new user. maybe my cookies are messed up... awww this probaby needs to go to the webmaster!
nada
Quote from: SRaven on February 05, 2007, 07:39:37 PM
Quote from: JayBachatero on February 05, 2007, 02:06:07 AM
Umm I set it correctly on the convert file. Open the file. There is a line like this "$row['signature'] = substr($row['signature'], 0, 65534);". Does the line match or is there a 1 after $row['signature']?
Found that line in the sql file, not the convert file(convert.php)...
and this is what it says in the file I have:
$row['signature'] = substr($row['signature'], 1, 65534);
So yes, there was a 1
I just checked mine also, the one with the 1 is the sql file in the zip file on the page with the list of converters.
nada
Quote from: etdwh on February 05, 2007, 10:44:02 PM
Quote from: margarett on February 05, 2007, 09:51:43 AM
Yes I agree with you. For instance the ;) has 3 codes:
;)
;-)
:wink:
And the first one is :wink:
. Well, I like the ;)
much more, so I changed it my way ;)
I agree, thats why i have created a seperate SQL script to setup the smilies once the conversion is complete. ;)
There is about 200+ smilies in my forum now, so manually editing it ONCE should be enough :D
So far so good. I have been doing all the conversions as a test at home with no problems. Hopefully the live conversion goes well :-\
hi,
can you share that script?
nada
btw,
I found where the phpBB Newbie is, after conversion. It is in the ranking names, so you can just modify it after you convert.
no biggie
nada
Quote from: ladynada on March 09, 2007, 05:57:56 PM
Quote from: Bernie on February 02, 2007, 02:38:27 AM
Quote from: JayBachatero on February 02, 2007, 01:46:46 AM
No it was after I posted that one. This is another version.
Just tried it... 100% success. No errors reported.
I'll go look and see how it did in what it imported and post you a report later.
Hi,
Will you let us know in here when your board goes online with SMF, as I would love to see it!
nada
I'll be happy to Ladynada, but it won't be for awhile yet. I just took on another project with a higher priority, so getting switched to SMF is on the back burner for the moment.
Also, since it's a WWII history and wargaming board I'm not sure just how interesting you'd find it. Great community though, a genuine "virtual band of brothers".
(Where else are you going to find a group that will pay the round-trip airfare for a student from Finland to join us for a tour of Gettysburg?)
Quote from: ladynada on March 09, 2007, 05:57:56 PM
Hi,
Will you let us know in here when your board goes online with SMF, as I would love to see it!
nada
Quote from: Bernie on February 02, 2007, 02:38:27 AM
I'll be happy to Ladynada, but it won't be for awhile yet. I just took on another project with a higher priority, so getting switched to SMF is on the back burner for the moment.
Also, since it's a WWII history and wargaming board I'm not sure just how interesting you'd find it. Great community though, a genuine "virtual band of brothers".
(Where else are you going to find a group that will pay the round-trip airfare for a student from Finland to join us for a tour of Gettysburg?)
Hi,
Okay. You can come see mine now.
http://heartdaughter.com/overcomers/
:)
Hi Jay,
I have a report on the converter for phpbb to smf. The avatars folders from phpbb are imported but you put them under the gallery folder, and I think they should go under the avatars folder, just like the actors one is. I am moving mine there, and they show as being available that way.
thanks,
nada
Quote from: ladynada on March 10, 2007, 08:33:54 AM
Hi Jay,
I have a report on the converter for phpbb to smf. The avatars folders from phpbb are imported but you put them under the gallery folder, and I think they should go under the avatars folder, just like the actors one is. I am moving mine there, and they show as being available that way.
thanks,
nada
No they should be in the attachments directory.
Quote from: JayBachatero on March 10, 2007, 11:48:37 PM
Quote from: ladynada on March 10, 2007, 08:33:54 AM
Hi Jay,
I have a report on the converter for phpbb to smf. The avatars folders from phpbb are imported but you put them under the gallery folder, and I think they should go under the avatars folder, just like the actors one is. I am moving mine there, and they show as being available that way.
thanks,
nada
No they should be in the attachments directory.
Heya Jay,
Well, as long as you keep them in their directories it is easy to move them to where SMF will see them. but yea, in the attachment directory would be perfect, because I had a little fiasco with my SMF creating htaccess file in the attachment directory and I think I am overworked on the bbs because all my folder strings in the config were hosed up. Finally got it all fixed.
thanks Dude!
nada
(http://heartdaughter.com/overcomers/avatars/fish/fish4.gif)
I mean that's where they are supposed to be stored. avatar_ID_OF_MEMBER.ext.
Quote from: JayBachatero on March 11, 2007, 02:15:31 PM
I mean that's where they are supposed to be stored. avatar_ID_OF_MEMBER.ext.
yes my cute penguin looking person, they are in the folder I specified in the config, and are filenames like avatar_8.jpg. It is working fine.
nada
(http://heartdaughter.com/overcomers/avatars/fish/fish4.gif)
you like my fishie?
Well, completed our forum migrations last weekend.
Its was a success :D
There was one issue though...
In some cases, special members != regular members.
For example.
I set some boards to allow access for regular members. Meaning all registered members can access
However, some of our paid members (special group) complained they could not see those boards.
So i had to set the permission for all membergroups.
Im still investigating this, could be normal feature or just something wrong during conversion.
But in the end, its good to ditch phpbb and switch to SMF. Im loving it :D
Quote from: etdwh on March 12, 2007, 05:05:03 AM
Well, completed our forum migrations last weekend.
Its was a success :D
There was one issue though...
In some cases, special members != regular members.
For example.
I set some boards to allow access for regular members. Meaning all registered members can access
However, some of our paid members (special group) complained they could not see those boards.
So i had to set the permission for all membergroups.
Im still investigating this, could be normal feature or just something wrong during conversion.
But in the end, its good to ditch phpbb and switch to SMF. Im loving it :D
congrats!
Yes, I spent some time today on the membergroups and permissions. Something to take note of, is that to get more control and understand what you are doing, it is better to set permissions by boards, and set the one in question to LOCAL - that way you can set the permissions for that board separately from global permissions.
I hope that made sense.
also be careful with the set access to changing membergroups --- ie probably do not give that power to anyone until you are comfortable with using SMF and understand what it does.
also be careful of the manage database and config option, do not check that for anyone but yourself - again - unless you know for sure what it means for your board.
hope that helps, I was all in that today for hours
I love SMF it is very very well done, and I am impressed and blessed already!
nada
Quote from: ladynada on March 11, 2007, 06:48:13 PM
Quote from: JayBachatero on March 11, 2007, 02:15:31 PM
I mean that's where they are supposed to be stored. avatar_ID_OF_MEMBER.ext.
yes my cute penguin looking person, they are in the folder I specified in the config, and are filenames like avatar_8.jpg. It is working fine.
nada
(http://heartdaughter.com/overcomers/avatars/fish/fish4.gif)
you like my fishie?
I'll look into the avatar problem.
Yea I like your fishie :P.
@etdwh - Permissions are not fully converter in most cases.
I provide web hosting for some of my clients and I recently installed SMF for one of them instead of phpBB2, primarily to get a good look at it. So far, I'm impressed and I'm considering converting a long time phpBB2 board over to SMF.
My question is........How well does the conversion work. If it's a lot of work, I might not have the time right now. On the plus side, this board is very vanilla in terms of very few if any modifications or hacks being installed. Based on that, are my chances pretty good for a smooth transition?
Quote from: Gonad The Barbarian on March 12, 2007, 06:51:47 PM
I provide web hosting for some of my clients and I recently installed SMF for one of them instead of phpBB2, primarily to get a good look at it. So far, I'm impressed and I'm considering converting a long time phpBB2 board over to SMF.
My question is........How well does the conversion work. If it's a lot of work, I might not have the time right now. On the plus side, this board is very vanilla in terms of very few if any modifications or hacks being installed. Based on that, are my chances pretty good for a smooth transition?
Although my PHPBB only had a whopping FIVE users, the conversion was easy and accurate. I also did it about three times, because I practiced on my local computer a couple of times first.
I love SMF, it is very powerful and intuitive and reminds me, fondly, of my BBS days. I was a SysOp for years.
Nada
Well, this forum has a lot more users than that, but it shouldn't matter. I was a SysOp for quite a few years myself and my BBS (PCBoard) was the Southeastern U.S. mail hub for the City-2-City network.
Quote from: Gonad The Barbarian on March 13, 2007, 09:52:45 AM
Well, this forum has a lot more users than that, but it shouldn't matter. I was a SysOp for quite a few years myself and my BBS (PCBoard) was the Southeastern U.S. mail hub for the City-2-City network.
Hey Gonad! Good to see another BBS'r on here. I ran a few for several years in the 80's, and I'm in the BBS Documentary movie done two years ago.
My current phpBB2 system has about 2,100 members with well over 100k posts, about 3m hits per month and is very heavily modified yet, with a bit of help from Marvelous Jay we were able to do the conversion very smoothly. Things to watch out for are permissions on specific boards, member groups, and banned IP's. Many things get prefaced with "phpBB" and that can cause problems. I've not brought our SMF system fully online yet, and I still have some work to do on it. If your system is comparable to mine then plan on spending 12-16 hours getting it working. (Ranks and groups properly configured, bans fixed, important mods installed, boards and permissions properly set)
I'd suggest doing a couple of trial runs first (the conversion does not change or modify your phpBB info and files in any way whatsoever) and they try some test logins at different membership levels to make sure the permissions are correct.
Quote from: Bernie on March 13, 2007, 01:28:39 PM
Hey Gonad! Good to see another BBS'r on here. I ran a few for several years in the 80's, and I'm in the BBS Documentary movie done two years ago.
My current phpBB2 system has about 2,100 members with well over 100k posts, about 3m hits per month and is very heavily modified yet, with a bit of help from Marvelous Jay we were able to do the conversion very smoothly. Things to watch out for are permissions on specific boards, member groups, and banned IP's. Many things get prefaced with "phpBB" and that can cause problems. I've not brought our SMF system fully online yet, and I still have some work to do on it. If your system is comparable to mine then plan on spending 12-16 hours getting it working. (Ranks and groups properly configured, bans fixed, important mods installed, boards and permissions properly set)
I'd suggest doing a couple of trial runs first (the conversion does not change or modify your phpBB info and files in any way whatsoever) and they try some test logins at different membership levels to make sure the permissions are correct.
Thanks for the tips. I'll keep that in mind if I make the jump. The board that I'm thinking of converting has 300+ members and it's a "guild" board for an online game.
I ran my BBS back in the 80's also. I think I pulled it down in the mid-1990's (95 or 96) if I remember right. My board was listed in several books about the subject, etc. It was known as "PC Solutions of Cleveland". What was yours?
Quote from: Gonad The Barbarian on March 13, 2007, 03:31:42 PM
Quote from: Bernie on March 13, 2007, 01:28:39 PM
Hey Gonad! Good to see another BBS'r on here. I ran a few for several years in the 80's, and I'm in the BBS Documentary movie done two years ago.
My current phpBB2 system has about 2,100 members with well over 100k posts, about 3m hits per month and is very heavily modified yet, with a bit of help from Marvelous Jay we were able to do the conversion very smoothly. Things to watch out for are permissions on specific boards, member groups, and banned IP's. Many things get prefaced with "phpBB" and that can cause problems. I've not brought our SMF system fully online yet, and I still have some work to do on it. If your system is comparable to mine then plan on spending 12-16 hours getting it working. (Ranks and groups properly configured, bans fixed, important mods installed, boards and permissions properly set)
I'd suggest doing a couple of trial runs first (the conversion does not change or modify your phpBB info and files in any way whatsoever) and they try some test logins at different membership levels to make sure the permissions are correct.
Thanks for the tips. I'll keep that in mind if I make the jump. The board that I'm thinking of converting has 300+ members and it's a "guild" board for an online game.
I ran my BBS back in the 80's also. I think I pulled it down in the mid-1990's (95 or 96) if I remember right. My board was listed in several books about the subject, etc. It was known as "PC Solutions of Cleveland". What was yours?
Ahoy! Magazine. :)
Also (after I left the magazine):
The Underground
Underground Empire (Undy II)
and Brooklyn After Dark (BAD)
We were based in NYC (obviously), on FIDO, and ran Renegade.
Give me a shout if you run into problems with SMF and I'll try to help you out.
Quote from: Gonad The Barbarian on March 13, 2007, 09:52:45 AM
Well, this forum has a lot more users than that, but it shouldn't matter. I was a SysOp for quite a few years myself and my BBS (PCBoard) was the Southeastern U.S. mail hub for the City-2-City network.
I hear you! I loved those boards. I used to be a member of PC-OHIO.
oh those were the days..
nada
Quote from: ladynada on March 12, 2007, 06:45:16 AM
Quote from: etdwh on March 12, 2007, 05:05:03 AM
There was one issue though...
In some cases, special members != regular members.
Yes, I spent some time today on the membergroups and permissions. Something to take note of, is that to get more control and understand what you are doing, it is better to set permissions by boards, and set the one in question to LOCAL - that way you can set the permissions for that board separately from global permissions.
I hope that made sense.
also be careful with the set access to changing membergroups --- ie probably do not give that power to anyone until you are comfortable with using SMF and understand what it does.
also be careful of the manage database and config option, do not check that for anyone but yourself - again - unless you know for sure what it means for your board.
Thanks ladynada.
I looked further into the issue. Seems to affect all converted users, but not new users.
Somehow i didnt notice this when testing at home. Adding 0 to the users additionalGroups in the database helps.
But anyway, i just enable the permissions for each membergroup, and that makes sense too :-)
Quote from: Bernie on March 13, 2007, 01:28:39 PM
My current phpBB2 system has about 2,100 members with well over 100k posts, about 3m hits per month and is very heavily modified yet, with a bit of help from Marvelous Jay we were able to do the conversion very smoothly. Things to watch out for are permissions on specific boards, member groups, and banned IP's. Many things get prefaced with "phpBB" and that can cause problems. I've not brought our SMF system fully online yet, and I still have some work to do on it. If your system is comparable to mine then plan on spending 12-16 hours getting it working. (Ranks and groups properly configured, bans fixed, important mods installed, boards and permissions properly set)
I'd suggest doing a couple of trial runs first (the conversion does not change or modify your phpBB info and files in any way whatsoever) and they try some test logins at different membership levels to make sure the permissions are correct.
I sorta figured out why the groups are prefix with phpbb_.
This is so when you redo the conversion for any reason, it will be able to delete the groups correctly.
If not, you will get duplicate groups. So i made a change in the SQL file
/******************************************************************************/
--- Converting ranks...
/******************************************************************************/
DELETE FROM {$to_prefix}membergroups WHERE ID_GROUP NOT IN (1,2,3);
This will keep the admin, global mod and another group...can't remember ATM :P
If I run the conversion and then spend some time getting all the permissions and user groups right, for let's say a couple of hours.........and I think I'm ready to go live, there is probably no way to import just the message base again, right?
I mean, if I do this to get all the posts that were made on phpBB2 during the configuration of SMF, the conversion would dork up all my work to reconfigure everything.
I guess there is simply no way to attempt to get all posts pulled over, unless I take down the phpBB2 board and leave it down during the re-config, right?
Quote from: Gonad The Barbarian on March 14, 2007, 05:33:13 AM
If I run the conversion and then spend some time getting all the permissions and user groups right, for let's say a couple of hours.........and I think I'm ready to go live, there is probably no way to import just the message base again, right?
I mean, if I do this to get all the posts that were made on phpBB2 during the configuration of SMF, the conversion would dork up all my work to reconfigure everything.
I guess there is simply no way to attempt to get all posts pulled over, unless I take down the phpBB2 board and leave it down during the re-config, right?
Right. That's one of the main reasons I've not gone live with my version yet. We average a few hundred posts a day, and have a very complex permissions system. To do a proper conversion, and not lose anything, I'll have to put my forums offline for 24-48 hours, and I'm not ready to do that yet.
We do plan to upgrade our server in the next few months, as we're running out of storage and bandwidth (with 300 gigs you'd think that was impossible but...) so I'll probably do the full switchover during that process.
Any idea's on this
Quote
phpBB2 to SMF Converter
Converting...
Converting topics... Unsuccessful!
This query:
INSERT INTO `matrix_smf`.smf_topics
(ID_TOPIC, isSticky, ID_FIRST_MSG, ID_LAST_MSG, ID_MEMBER_STARTED, ID_MEMBER_UPDATED, ID_BOARD, ID_POLL, locked, numReplies, numViews)
VALUES ('614', '0', '4786', '4814', '271', '271', '2', '', '0', '5', '172'),
('616', '0', '4791', '4791', '27', '27', '2', '', '0', '0', '70'),
('617', '0', '4796', '6363', '39', '39', '2', '', '0', '16', '797'),
('621', '0', '4821', '4831', '272', '39', '2', '', '0', '1', '296'),
('622', '0', '4822', '4832', '233', '5', '3', '', '0', '7', '527'),
('623', '0', '4824', '4824', '34', '34', '3', '', '0', '0', '305'),
('624', '0', '4828', '4828', '192', '192', '2', '', '0', '0', '203'),
('625', '0', '4833', '4907', '196', '3', '1', '', '0', '25', '1094'),
('627', '0', '4844', '4844', '213', '213', '2', '', '0', '0', '145'),
('628', '0', '4854', '4902', '8', '39', '1', '', '0', '6', '330'),
('629', '0', '4857', '4906', '244', '60', '3', '', '0', '4', '267'),
('630', '0', '4868', '14564', '277', '277', '2', '', '0', '13', '502'),
('631', '0', '4871', '5017', '235', '233', '1', '', '0', '41', '1705'),
('632', '0', '4879', '4879', '132', '132', '2', '', '0', '0', '83'),
('633', '0', '4883', '4883', '276', '276', '2', '', '0', '0', '79'),
('634', '0', '4892', '4896', '260', '5', '2', '', '0', '1', '62'),
('635', '0', '4905', '4905', '244', '244', '1', '', '0', '0', '203'),
('636', '0', '4911', '4991', '233', '233', '3', '', '0', '7', '361'),
('637', '0', '4912', '4920', '50', '14', '2', '', '0', '3', '86'),
('638', '0', '4922', '4922', '259', '259', '2', '', '0', '0', '68'),
('639', '0', '4935', '4935', '271', '271', '2', '', '0', '0', '76'),
('640', '0', '4936', '4996', '279', '279', '2', '', '0', '2', '137'),
('641', '0', '4949', '5027', '17', '17', '1', '', '0', '6', '355'),
('642', '0', '4954', '4954', '206', '206', '2', '', '0', '0', '55'),
('643', '0', '4955', '4971', '4', '22', '1', '', '0', '1', '299'),
('644', '0', '4959', '5026', '160', '3', '3', '', '0', '10', '601'),
('647', '0', '4976', '37726', '50', '50', '5', '', '0', '21', '2479'),
('648', '0', '4992', '4992', '9', '9', '2', '', '0', '0', '64'),
('649', '0', '5001', '5037', '60', '281', '2', '', '0', '2', '107'),
('650', '0', '5018', '21536', '280', '4', '2', '', '0', '6', '311'),
('653', '0', '5024', '5024', '9', '9', '2', '', '0', '0', '79'),
('654', '0', '5030', '5030', '60', '60', '2', '', '0', '0', '79'),
('655', '0', '5032', '5737', '3', '285', '4', '', '0', '12', '574'),
('656', '0', '5040', '5052', '196', '3', '1', '', '0', '2', '237'),
('658', '0', '5058', '5060', '14', '14', '1', '', '0', '1', '201'),
('659', '0', '5076', '5111', '11', '15', '1', '', '0', '9', '887'),
('660', '0', '5089', '5110', '8', '11', '1', '', '0', '4', '319'),
('661', '0', '5112', '5217', '239', '160', '1', '', '0', '7', '587'),
('662', '0', '5117', '5117', '268', '268', '2', '', '0', '0', '70'),
('663', '0', '5119', '5123', '4', '14', '1', '', '0', '3', '462'),
('665', '0', '5125', '5357', '5', '239', '1', '', '0', '6', '441'),
('666', '0', '5131', '5131', '17', '17', '2', '', '0', '0', '97'),
('667', '0', '5133', '5133', '231', '231', '2', '', '0', '0', '161'),
('668', '0', '5134', '5134', '19', '19', '2', '', '0', '0', '119'),
('669', '0', '5135', '5802', '60', '60', '2', '', '0', '1', '115'),
('670', '0', '5138', '5151', '50', '50', '1', '', '0', '4', '273'),
('671', '0', '5146', '5213', '268', '260', '2', '', '0', '6', '300'),
('672', '0', '5147', '5179', '235', '235', '3', '', '0', '8', '381'),
('673', '0', '5159', '5159', '259', '259', '2', '', '0', '0', '110'),
('674', '0', '5160', '5324', '233', '233', '3', '', '0', '5', '221'),
('675', '0', '5161', '5161', '187', '187', '2', '', '0', '0', '165'),
('676', '0', '5169', '8441', '259', '259', '2', '', '0', '4', '258'),
('677', '0', '5170', '37752', '2', '2', '2', '', '0', '2', '1573'),
('678', '0', '5178', '5308', '235', '235', '2', '', '0', '9', '167'),
('679', '0', '5182', '5185', '235', '66', '3', '', '0', '3', '147'),
('680', '0', '5189', '5760', '3', '50', '1', '', '0', '43', '1642'),
('681', '0', '5194', '5226', '11', '66', '1', '', '0', '7', '511'),
('682', '0', '5203', '10435', '7', '360', '5', '', '0', '16', '2292'),
('683', '0', '5218', '5272', '160', '268', '1', '', '0', '14', '994'),
('684', '0', '5222', '5222', '268', '268', '2', '', '0', '0', '66'),
('685', '0', '5234', '5234', '259', '259', '2', '', '0', '0', '78'),
('686', '0', '5235', '5292', '14', '17', '1', '', '0', '10', '569'),
('687', '0', '5246', '5326', '14', '14', '2', '', '0', '8', '247'),
('688', '0', '5249', '5406', '271', '244', '2', '', '0', '3', '151'),
('689', '0', '5251', '5452', '244', '289', '1', '', '0', '16', '759'),
('690', '0', '5271', '5276', '228', '5', '2', '', '0', '3', '188'),
('691', '0', '5288', '5291', '165', '32', '1', '', '0', '2', '245'),
('692', '0', '5297', '5297', '5', '5', '2', '', '0', '0', '102'),
('693', '0', '5300', '5347', '235', '235', '3', '', '0', '10', '463'),
('694', '0', '5307', '5310', '231', '60', '2', '', '0', '1', '84'),
('695', '0', '5311', '5340', '285', '285', '2', '', '0', '10', '190'),
('696', '0', '5312', '5312', '235', '235', '2', '', '0', '0', '99'),
('697', '0', '5316', '5341', '285', '285', '2', '', '0', '2', '89'),
('698', '0', '5321', '5321', '132', '132', '2', '', '0', '0', '82'),
('699', '0', '5327', '5409', '285', '5', '3', '', '0', '4', '169'),
('700', '0', '5333', '5356', '160', '282', '3', '', '0', '4', '263'),
('701', '0', '5349', '5396', '285', '285', '3', '', '0', '9', '366'),
('702', '0', '5353', '5432', '233', '233', '3', '', '0', '3', '129'),
('703', '0', '5358', '5706', '286', '286', '2', '', '0', '6', '282'),
('704', '0', '5370', '5683', '287', '233', '1', '', '0', '16', '807'),
('705', '0', '5390', '5680', '192', '192', '3', '', '0', '7', '236'),
('706', '0', '5397', '5591', '288', '196', '6', '', '0', '23', '1725'),
('707', '0', '5408', '5537', '211', '165', '3', '', '0', '9', '472'),
('708', '0', '5412', '5436', '186', '186', '2', '', '0', '3', '180'),
('709', '0', '5426', '5428', '34', '34', '2', '', '0', '2', '86'),
('710', '0', '5433', '5485', '285', '285', '3', '', '0', '3', '172'),
('711', '0', '5443', '5443', '165', '165', '2', '', '0', '0', '207'),
('712', '0', '5444', '5529', '235', '235', '3', '', '0', '8', '313'),
('713', '0', '5450', '5558', '211', '50', '3', '', '0', '2', '222'),
('714', '0', '5451', '5761', '268', '22', '1', '', '0', '6', '505'),
('715', '0', '5453', '5548', '289', '244', '6', '', '0', '4', '580'),
('716', '0', '5461', '5461', '235', '235', '2', '', '0', '0', '70'),
('717', '0', '5463', '5567', '289', '235', '3', '', '0', '24', '1257'),
('718', '0', '5468', '5714', '289', '160', '1', '', '0', '13', '738'),
('719', '0', '5487', '5532', '289', '288', '1', '', '0', '3', '239'),
('720', '0', '5493', '5538', '289', '60', '3', '', '0', '2', '136'),
('721', '0', '5494', '5863', '289', '289', '1', '', '0', '33', '1641'),
('722', '0', '5496', '6366', '208', '196', '6', '', '0', '29', '1291'),
('724', '0', '5559', '5605', '285', '9', '3', '', '0', '4', '253'),
('725', '0', '5574', '6178', '15', '15', '2', '', '0', '24', '1410'),
('726', '0', '5576', '5606', '244', '244', '3', '', '0', '4', '216'),
('727', '0', '5586', '5608', '282', '14', '2', '', '0', '1', '106'),
('728', '0', '5603', '5617', '39', '39', '1', '', '0', '5', '357'),
('729', '0', '5607', '5630', '233', '233', '14', '', '0', '2', '276'),
('730', '0', '5619', '5624', '259', '18', '2', '', '0', '1', '104'),
('731', '0', '5620', '5620', '34', '34', '3', '', '0', '0', '94'),
('732', '0', '5621', '6687', '285', '288', '3', '', '0', '4', '262'),
('733', '0', '5625', '5629', '50', '285', '2', '', '0', '4', '136'),
('734', '0', '5633', '5670', '15', '15', '2', '', '0', '1', '116'),
('735', '0', '5634', '5634', '285', '285', '2', '', '0', '0', '50'),
('736', '0', '5635', '5663', '285', '5', '3', '', '0', '2', '139'),
('737', '0', '5636', '7350', '235', '235', '1', '', '0', '11', '463'),
('738', '0', '5638', '5676', '233', '233', '3', '', '0', '7', '330'),
('739', '0', '5641', '5654', '278', '11', '1', '', '0', '7', '387'),
('740', '0', '5660', '5668', '192', '192', '2', '', '0', '2', '72'),
('741', '0', '5677', '5705', '233', '233', '3', '', '0', '5', '206'),
('742', '0', '5684', '5709', '290', '11', '6', '', '0', '4', '422'),
('743', '0', '5685', '5788', '290', '290', '2', '', '0', '3', '136'),
('744', '0', '5690', '5799', '32', '32', '1', '', '0', '13', '598'),
('745', '0', '5701', '5701', '186', '186', '2', '', '0', '0', '69'),
('746', '0', '5708', '5708', '235', '235', '3', '', '0', '0', '93'),
('747', '0', '5712', '17057', '259', '259', '2', '', '0', '3', '170'),
('748', '0', '5715', '6263', '15', '15', '2', '', '0', '8', '351'),
('749', '0', '5716', '5743', '15', '15', '2', '', '0', '1', '95'),
('750', '0', '5718', '5718', '244', '244', '2', '', '0', '0', '69'),
('751', '0', '5720', '5723', '8', '39', '1', '', '0', '2', '240'),
('752', '0', '5727', '5727', '216', '216', '2', '', '0', '0', '64'),
('753', '0', '5736', '5772', '208', '278', '8', '', '0', '6', '632'),
('754', '0', '5741', '5764', '244', '244', '3', '', '0', '2', '106'),
('755', '0', '5742', '6765', '235', '304', '4', '', '0', '6', '325'),
('756', '0', '5745', '5956', '235', '235', '3', '', '0', '14', '574'),
('758', '0', '5751', '5763', '211', '9', '13', '', '0', '1', '224'),
('759', '0', '5766', '6211', '15', '285', '2', '', '0', '4', '212'),
('760', '0', '5770', '5770', '290', '290', '2', '', '0', '0', '108'),
('762', '0', '5775', '5986', '17', '15', '4', '', '0', '11', '605'),
('764', '0', '5787', '6166', '60', '60', '2', '', '0', '1', '146'),
('765', '0', '5792', '5792', '259', '259', '2', '', '0', '0', '109'),
('766', '0', '5796', '5836', '244', '14', '3', '', '0', '11', '240'),
('767', '0', '5797', '5797', '231', '231', '2', '', '0', '0', '72'),
('768', '0', '5806', '5892', '14', '5', '2', '', '0', '12', '620'),
('769', '0', '5808', '6322', '295', '295', '2', '', '0', '5', '213'),
('770', '0', '5809', '5955', '295', '295', '6', '', '0', '33', '1833'),
('771', '0', '5821', '5821', '285', '285', '3', '', '0', '0', '88'),
('772', '0', '5829', '5829', '295', '295', '2', '', '0', '0', '81'),
('774', '0', '5846', '6014', '66', '66', '2', '', '0', '3', '156'),
('775', '0', '5847', '6002', '248', '196', '3', '', '0', '5', '395'),
('777', '0', '5853', '5871', '289', '235', '2', '', '0', '7', '244'),
('778', '0', '5872', '5888', '208', '208', '3', '', '0', '5', '210'),
('779', '0', '5876', '5885', '285', '15', '2', '', '0', '1', '71'),
('780', '0', '5878', '6769', '235', '14', '3', '', '0', '9', '472'),
('781', '0', '5882', '5884', '39', '15', '2', '', '0', '1', '79'),
('782', '0', '5883', '5883', '291', '291', '3', '', '0', '0', '123'),
('783', '0', '5886', '5887', '239', '5', '3', '', '0', '1', '124'),
('784', '0', '5890', '5890', '165', '165', '2', '', '0', '0', '95'),
('785', '0', '5893', '5936', '285', '285', '2', '', '0', '4', '144'),
('786', '0', '5895', '5907', '295', '235', '2', '', '0', '5', '156'),
('787', '0', '5897', '6350', '287', '304', '1', '', '0', '6', '399'),
('788', '0', '5899', '6599', '259', '259', '2', '', '0', '4', '278'),
('789', '0', '5901', '24118', '244', '22', '5', '', '0', '5', '708'),
('790', '0', '5918', '6037', '9', '66', '2', '', '0', '4', '224'),
('791', '0', '5924', '5954', '298', '3', '6', '', '0', '10', '569'),
('792', '0', '5934', '5998', '3', '9', '4', '', '0', '3', '298'),
('793', '0', '5949', '5957', '9', '44', '2', '', '0', '1', '103'),
('794', '0', '5961', '5962', '299', '244', '2', '', '0', '1', '87'),
('795', '0', '5969', '7263', '3', '42', '1', '', '0', '31', '1155'),
('796', '0', '5974', '5991', '132', '132', '1', '', '0', '2', '207'),
('797', '0', '5978', '6021', '3', '9', '3', '', '0', '4', '257'),
('798', '0', '5980', '6017', '295', '295', '2', '', '0', '2', '84'),
('799', '0', '5981', '6039', '285', '285', '2', '', '0', '3', '176'),
('800', '0', '5988', '6139', '244', '244', '3', '', '0', '5', '358'),
('801', '0', '6001', '6001', '132', '132', '2', '', '0', '0', '38'),
('802', '0', '6004', '6049', '285', '285', '3', '', '0', '16', '574'),
('803', '0', '6005', '6040', '233', '233', '3', '', '0', '2', '187'),
('804', '0', '6025', '6029', '285', '5', '2', '', '0', '1', '47'),
('805', '0', '6035', '6035', '165', '165', '2', '', '0', '0', '64'),
('806', '0', '6042', '6418', '302', '3', '18', '', '1', '136', '6088'),
('808', '0', '6050', '6050', '15', '15', '2', '', '0', '0', '66'),
('809', '0', '6076', '6487', '3', '224', '1', '', '0', '67', '2751'),
('810', '0', '6077', '6157', '3', '3', '1', '', '0', '6', '364'),
('811', '0', '6096', '6096', '285', '285', '2', '', '0', '0', '44'),
('812', '0', '6098', '6098', '285', '285', '2', '', '0', '0', '45'),
('813', '0', '6117', '6146', '307', '307', '3', '', '0', '4', '218'),
('815', '0', '6132', '6140', '303', '244', '3', '', '0', '2', '220'),
('816', '0', '6160', '6181', '285', '285', '3', '', '0', '4', '163'),
('817', '0', '6163', '6163', '259', '259', '2', '', '0', '0', '54'),
('818', '0', '6168', '6182', '285', '285', '3', '', '0', '2', '146'),
('819', '0', '6172', '6480', '196', '50', '1', '', '0', '10', '586'),
('820', '0', '6185', '10469', '244', '289', '5', '', '0', '13', '1913'),
('821', '0', '6206', '7539', '208', '50', '8', '', '0', '11', '676'),
('822', '0', '6212', '6257', '285', '14', '2', '', '0', '3', '109'),
('823', '0', '6216', '6344', '17', '11', '4', '', '0', '15', '1123'),
('824', '0', '6220', '6362', '310', '39', '6', '', '0', '15', '973'),
('825', '0', '6224', '6696', '15', '15', '2', '', '0', '16', '441'),
('826', '0', '6228', '6323', '311', '196', '6', '', '0', '10', '1241'),
('827', '0', '6237', '6248', '312', '312', '2', '', '0', '3', '340'),
('828', '0', '6261', '6311', '233', '233', '3', '', '0', '4', '153'),
('829', '0', '6302', '6334', '60', '60', '2', '', '0', '1', '85'),
('830', '0', '6304', '6304', '268', '268', '2', '', '0', '0', '136'),
('831', '0', '6330', '6330', '7', '7', '1', '', '0', '0', '120'),
('832', '0', '6339', '6493', '285', '285', '13', '', '0', '7', '450'),
('833', '0', '6356', '6675', '285', '285', '1', '', '0', '42', '2382'),
('834', '0', '6375', '6546', '276', '244', '3', '', '0', '5', '218'),
('835', '0', '6376', '6376', '231', '231', '2', '', '0', '0', '99'),
('836', '0', '6380', '6422', '318', '311', '1', '', '0', '2', '231'),
('837', '0', '6381', '6382', '160', '66', '3', '', '0', '1', '144'),
('838', '0', '6384', '6389', '295', '295', '2', '', '0', '2', '87'),
('839', '0', '6407', '6411', '7', '7', '3', '', '0', '2', '117'),
('840', '0', '6419', '6419', '32', '32', '13', '', '0', '0', '214'),
('841', '0', '6426', '6426', '55', '55', '1', '', '0', '0', '156'),
('842', '0', '6428', '6823', '3', '244', '1', '', '0', '66', '3477'),
('843', '0', '6446', '6479', '268', '66', '2', '', '0', '1', '79'),
('844', '0', '6451', '6718', '3', '285', '2', '', '0', '3', '91'),
('845', '0', '6459', '6475', '196', '5', '2', '', '0', '1', '82'),
('846', '0', '6464', '6492', '235', '285', '3', '', '0', '1', '106'),
('849', '0', '6473', '6740', '282', '282', '2', '', '0', '7', '215'),
('851', '0', '6482', '14179', '249', '318', '1', '', '0', '7', '525'),
('852', '0', '6483', '6672', '50', '224', '1', '', '0', '4', '413'),
('853', '0', '6491', '6544', '3', '244', '1', '', '0', '15', '770'),
('854', '0', '6500', '7788', '289', '3', '2', '', '0', '2', '126'),
('855', '0', '6503', '14142', '208', '208', '3', '', '0', '22', '814'),
('856', '0', '6506', '6507', '285', '295', '1', '', '0', '1', '195'),
('857', '0', '6513', '6513', '285', '285', '2', '', '0', '0', '51'),
('858', '0', '6514', '6692', '310', '310', '2', '', '0', '3', '157'),
('859', '0', '6517', '6525', '276', '66', '3', '', '0', '3', '194'),
('860', '0', '6532', '6564', '39', '268', '2', '', '0', '7', '176'),
('861', '0', '6548', '6553', '278', '285', '3', '', '0', '2', '159'),
('862', '0', '6551', '6561', '285', '285', '2', '', '0', '3', '79'),
('863', '0', '6557', '6571', '295', '295', '2', '', '0', '2', '92'),
('864', '0', '6560', '37831', '285', '248', '13', '', '0', '10', '566'),
('865', '0', '6584', '6584', '5', '5', '2', '', '0', '0', '81'),
('866', '0', '6595', '6628', '285', '268', '3', '', '0', '9', '304'),
('867', '0', '6602', '6602', '276', '276', '2', '', '0', '0', '73'),
('868', '0', '6603', '6603', '60', '60', '2', '', '0', '0', '59'),
('869', '0', '6604', '6607', '295', '295', '2', '', '0', '2', '77'),
('870', '0', '6608', '6863', '66', '66', '2', '', '0', '3', '141'),
('873', '0', '6627', '6695', '295', '15', '2', '', '0', '5', '147'),
('874', '0', '6629', '7025', '295', '41', '2', '', '0', '1', '87'),
('875', '0', '6640', '6686', '285', '3', '1', '', '0', '6', '569'),
('877', '0', '6650', '6650', '285', '285', '2', '', '0', '0', '69'),
('878', '0', '6653', '7118', '60', '3', '2', '', '0', '6', '237'),
('879', '0', '6673', '6673', '233', '233', '3', '', '0', '0', '101'),
('880', '0', '6674', '6701', '233', '295', '3', '', '0', '4', '227'),
('882', '0', '6685', '10970', '288', '288', '2', '', '0', '3', '240'),
('883', '0', '6690', '7478', '18', '34', '2', '', '0', '1', '91'),
('884', '0', '6693', '7151', '321', '321', '6', '', '0', '23', '1081'),
('885', '0', '6694', '13326', '285', '285', '2', '', '0', '10', '545'),
('887', '0', '6723', '6953', '322', '322', '6', '', '0', '23', '907'),
('888', '0', '6724', '6808', '60', '50', '2', '', '0', '3', '98'),
('889', '0', '6727', '7039', '196', '3', '8', '', '0', '27', '1988'),
('890', '0', '6728', '6889', '323', '323', '2', '', '0', '37', '1169'),
('891', '0', '6746', '6746', '324', '324', '2', '', '0', '0', '75'),
('892', '0', '6751', '6839', '295', '235', '2', '', '0', '8', '211'),
('894', '0', '6777', '8052', '8', '289', '1', '', '0', '82', '2874'),
('895', '0', '6790', '6790', '208', '208', '2', '', '0', '0', '59'),
('896', '0', '6791', '6791', '276', '276', '2', '', '0', '0', '73'),
('897', '0', '6826', '6926', '39', '244', '3', '', '0', '4', '230'),
('899', '0', '6829', '7040', '39', '3', '1', '', '0', '18', '1269'),
('900', '0', '6843', '15328', '7', '366', '2', '', '0', '9', '317'),
('903', '0', '6848', '6949', '276', '244', '3', '', '0', '11', '429'),
('904', '0', '6852', '6857', '60', '60', '2', '', '0', '1', '90'),
('905', '0', '6855', '8117', '39', '18', '12', '', '0', '8', '867'),
('906', '0', '6891', '6918', '325', '9', '2', '', '0', '1', '97'),
('907', '0', '6892', '6904', '295', '132', '2', '', '0', '6', '175'),
('908', '0', '6898', '7348', '322', '15', '1', '', '0', '17', '641'),
('909', '0', '6907', '6973', '132', '132', '2', '', '0', '5', '128'),
('910', '0', '6911', '6915', '319', '319', '3', '', '0', '2', '193'),
('911', '0', '6914', '6914', '304', '304', '2', '', '0', '0', '64'),
('912', '0', '6920', '6920', '285', '285', '2', '', '0', '0', '52'),
('913', '0', '6933', '6933', '326', '326', '2', '', '0', '0', '60'),
('915', '0', '6941', '6941', '288', '288', '2', '', '0', '0', '67'),
('916', '0', '6965', '6993', '295', '244', '2', '', '0', '2', '132'),
('917', '0', '6976', '10470', '22', '289', '1', '', '0', '24', '1522'),
('918', '0', '6985', '7052', '55', '132', '1', '', '0', '8', '562'),
('919', '0', '6986', '6986', '132', '132', '13', '', '0', '0', '225'),
('920', '0', '6994', '7344', '17', '66', '8', '', '0', '29', '1859'),
('921', '0', '6996', '7282', '192', '192', '6', '', '0', '10', '533'),
('922', '0', '7004', '7249', '235', '244', '3', '', '0', '17', '683'),
('923', '0', '7015', '7352', '239', '304', '2', '', '0', '5', '134'),
('924', '0', '7024', '7369', '244', '132', '2', '', '0', '6', '163'),
('925', '0', '7026', '7047', '291', '15', '2', '', '0', '1', '52'),
('927', '0', '7044', '8107', '327', '346', '1', '', '0', '14', '672'),
('928', '0', '7053', '11077', '132', '260', '1', '', '0', '113', '5405'),
('929', '0', '7059', '7198', '288', '11', '4', '', '0', '8', '316'),
('930', '0', '7065', '7065', '9', '9', '2', '', '0', '0', '54'),
('931', '0', '7072', '7196', '329', '11', '6', '', '0', '9', '483'),
('932', '0', '7073', '7143', '235', '235', '3', '', '0', '7', '285'),
('933', '0', '7090', '8099', '15', '15', '5', '', '0', '6', '557'),
('935', '0', '7104', '7238', '3', '27', '3', '', '0', '8', '331'),
('936', '0', '7109', '7152', '330', '330', '2', '', '0', '4', '106'),
('937', '0', '7114', '7529', '330', '3', '6', '', '0', '49', '2071'),
('938', '0', '7145', '7289', '329', '329', '1', '', '0', '9', '334'),
('939', '0', '7156', '7214', '329', '50', '1', '', '0', '8', '363'),
('940', '0', '7166', '7169', '276', '7', '2', '', '0', '1', '63'),
('941', '0', '7172', '7541', '34', '34', '2', '', '0', '2', '165'),
('942', '0', '7175', '9468', '244', '260', '2', '', '0', '3', '130'),
('943', '0', '7224', '7382', '323', '132', '6', '', '0', '14', '945'),
('944', '0', '7231', '7248', '244', '34', '2', '', '0', '1', '52'),
('945', '0', '7240', '7259', '3', '132', '4', '', '0', '3', '174'),
('946', '0', '7244', '7296', '307', '307', '3', '', '0', '12', '364'),
('947', '0', '7265', '7359', '233', '132', '3', '', '0', '4', '197'),
('948', '0', '7273', '7411', '326', '15', '4', '', '0', '12', '453'),
('949', '0', '7283', '7356', '330', '330', '2', '', '0', '5', '134'),
('950', '0', '7288', '7532', '18', '18', '1', '', '0', '13', '399'),
('951', '0', '7299', '8553', '307', '307', '3', '', '0', '12', '489'),
('953', '0', '7353', '7353', '208', '208', '13', '', '0', '0', '212'),
('954', '0', '7362', '7368', '295', '132', '2', '', '1', '1', '117'),
('955', '0', '7365', '7375', '288', '235', '1', '', '0', '6', '245'),
('956', '0', '7376', '7457', '304', '304', '3', '', '0', '6', '225'),
('957', '0', '7380', '8504', '323', '289', '2', '', '0', '12', '355'),
('959', '0', '7385', '7504', '323', '233', '3', '', '0', '9', '248'),
('960', '0', '7386', '7609', '334', '11', '6', '', '0', '10', '586'),
('961', '0', '7387', '7431', '323', '260', '1', '', '0', '3', '172'),
('962', '0', '7406', '8154', '319', '347', '6', '', '0', '11', '499'),
('964', '0', '7424', '7466', '295', '295', '2', '', '0', '2', '117'),
('965', '0', '7427', '7551', '323', '260', '3', '', '0', '12', '351'),
('966', '0', '7435', '7435', '69', '69', '2', '', '0', '0', '94'),
('967', '0', '7439', '7463', '330', '5', '3', '', '0', '6', '220'),
('968', '0', '7462', '7636', '3', '321', '4', '', '0', '7', '299'),
('969', '0', '7472', '7477', '285', '34', '3', '', '0', '2', '138'),
('971', '0', '7480', '7487', '276', '14', '3', '', '0', '1', '79'),
('972', '0', '7481', '7913', '233', '311', '3', '', '0', '8', '301'),
('973', '0', '7485', '7594', '323', '9', '3', '', '0', '5', '223'),
('975', '0', '7489', '7669', '235', '8', '3', '', '0', '13', '440'),
('976', '0', '7493', '7905', '330', '4', '3', '', '0', '9', '479'),
('977', '0', '7512', '7536', '329', '304', '1', '', '0', '2', '170'),
('978', '0', '7530', '7589', '3', '3', '1', '', '0', '6', '320'),
('979', '0', '7542', '7542', '132', '132', '2', '', '0', '0', '67'),
('981', '0', '7549', '7693', '14', '14', '2', '', '0', '3', '96'),
('982', '0', '7556', '7604', '27', '323', '4', '
Check that last entry.......
('982', '0', '7556', '7604', '27', '323', '4', '�
Looks corrupt to me. I'm guessing that you tried it a second time with the same result?
I really know squat about sql.
QuoteProblems with indexes of table `phpbb_sessions`
PRIMARY and INDEX keys should not both be set for column `session_id`
Problems with indexes of table `smf_messages`
UNIQUE and INDEX keys should not both be set for column `ID_TOPIC`
UNIQUE and INDEX keys should not both be set for column `ID_MEMBER`
More than one INDEX key was created for column `ID_MEMBER`
Assuming you have phpMyAdmin installed........Did you try to "repair" and then "optimize" your phpBB2 tables before attempting to convert them?
PRIMARY and INDEX keys should not both be set for column `session_id`
I tried several times to repair this, and it never seems to work.
You may want to post this in it's own thread, to make sure that Jay sees it. I'm sure that he'll be able to help out.
I keep getting the error...
This converter was unable to find SMF in the path you specified.
Please double check the path, and that it is already installed there.
I have SMF in this path... /domains/mydomain/public_html/forum2
I have a copy of my PHPBB in this path... /domains/mydomain/public_html/forum3
The two files for the converter have been uploaded to forum2, but when I run convert.php and fill in those two paths and database password, I get...
This converter was unable to find SMF in the path you specified.
Please double check the path, and that it is already installed there.
Any suggestions?
Well, is SMF already installed (with administrator user and sample board)?
Well.......if all goes well with the work I've got to get done today, I'm going to pull down the phpBB2 board sometime tonight, install SMF and take a shot at converting everything over. :o Wish me luck! :)
Quote from: Gonad The Barbarian on March 17, 2007, 10:44:41 AM
Well.......if all goes well with the work I've got to get done today, I'm going to pull down the phpBB2 board sometime tonight, install SMF and take a shot at converting everything over. :o Wish me luck! :)
May you have all the luck of the Irish, even if you are a barbarian. ;)
Quote from: Bernie on March 17, 2007, 02:00:11 PM
May you have all the luck of the Irish, even if you are a barbarian. ;)
Thanks........I ran the conversion and everything seems to have gone pretty good, except for a couple of minor glitches that I was able to figure out pretty quick. I'm still learning SMF, especially how it handles permissions, etc. But thus far, I like what I see.
1 issue which is turning out to be pretty big now is the links in the forum.
Old forum installed at: www.xxx.com/forum
New forum installed at: www.xxx.com/v2/forum
There are alot of links in the old forum asking users to refer to www.xxx.com/forum/viewtopic.php?t=9070
Currently, this fails. Anyone have any ideas how to fix this? I am thinking of replacing the old file viewtopic.php with a simple php file which can redirect the link back to the new forum... :-\
EDIT: erm..just realized this is not something related to the converter...sorry for posting here..
If fact, the solution is also available: http://www.simplemachines.org/community/index.php?topic=118868.0
This is the single most awsome script ever written in the history of written scripts that were awsome. ;D
I salute you!
22.000 posts, 2500 topics and 500 users migrated in minutes.. with _NO_ errors what so ever.. :P
Regards.
Thumann
etdwh, there is one way, in fact... I also found out by myself...
Every link changes from:
www.something.com/viewtopic.php?t=xxxx
to:
www.something.com/index.php?topic=xxxx.0
So it should be possible to have phpmyadmin to change the "link" and adapt it.
But shure, the redirect solution is much easier ;)
Also, you can search for "viewtopic" and manually change the addresses :P
Quote from: Thumann on March 19, 2007, 09:21:48 AM
This is the single most awsome script ever written in the history of written scripts that were awsome. ;D
I salute you!
22.000 posts, 2500 topics and 500 users migrated in minutes.. with _NO_ errors what so ever.. :P
Regards.
Thumann
On my conversion, I actually had a lot of errors, but they were all related to a bunch of smilies that I had added to my old forum. I figured I could live without those and simply didn't sweat it. All the users and all the posts seem to have migrated over without a hitch.
I did have a couple of problems where I had a handful of special users who essentially only really had a "special title" and their permissions weren't right. But I fixed that pretty easily by setting them as "no primary user group" and then making sure they were members of various other groups. I then went into their profile and added their "custom title" and that pretty much took care of it.
Are my paths correct? Those are the actual paths used for FTP to each of the root folders, forum2 and forum3.
To answer Margaret... I have a fresh install of SMF in the forum2 folder. I have a copy of my PHPBB board in the forum3 folder. Both boards use the same database. Yet I still get...
This converter was unable to find SMF in the path you specified.
Please double check the path, and that it is already installed there.
What am I doing wrong when I try to use the converter from PHPBB to SMF?
Quote from: margarett on March 16, 2007, 01:34:15 PM
Well, is SMF already installed (with administrator user and sample board)?
Quote from: rivang on March 16, 2007, 09:35:45 AM
I keep getting the error...
This converter was unable to find SMF in the path you specified.
Please double check the path, and that it is already installed there.
I have a stock version of SMF in this path... /domains/mydomain/public_html/forum2
I have a copy of my PHPBB board in this path... /domains/mydomain/public_html/forum3
The two files for the converter have been uploaded to forum2, but when I run convert.php and fill in those two paths and database password, I get...
This converter was unable to find SMF in the path you specified.
Please double check the path, and that it is already installed there.
Any suggestions?
I mean, if you access:
www.yourdomain.com/forum2
You can see the demo board? And you can login with your admin user?
Quote from: margarett on March 19, 2007, 10:48:27 AM
etdwh, there is one way, in fact... I also found out by myself...
Every link changes from:
www.something.com/viewtopic.php?t=xxxx
to:
www.something.com/index.php?topic=xxxx.0
So it should be possible to have phpmyadmin to change the "link" and adapt it.
But shure, the redirect solution is much easier ;)
Also, you can search for "viewtopic" and manually change the addresses :P
Thats a lot of links to modify manually :D
Found a script which can do it automatically: http://www.simplemachines.org/community/index.php?topic=118868.0
Testing at home, it works!!
But its times out on our server. :(
Will attempt to do a start-pause-start like how the current converter does it...
I have a problem I haven't seen mentioned here yet. I'm trying to convert a phpbb 2.0.19 installation to a new install of SMF.
I have the installation of SMF in [www.myhosting.com]/snvhforum
I have the installation of phpbb in [www.myhosting.com]/snvhorse
The new installation of SMF went fine and works properly, there is only the administrator user there, no posts except what comes with the original installation.
I have downloaded the converter and the associated sql file from this topic.
When I run the converter, I get these messages:
Converting...
Successful.
Recalculating forum statistics... Successful.
Nothing is converted, the SMF installation is still the same.
I have tried various ways of addressing the paths required, with no change in the results.
I have even tried leaving the paths blank, with no change in the results.
I have verified that the PW used for the database is correct.
So, what am I doing wrongly?
Thanks in advance for your reply, and for all you do to create and support these programs. :)
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Thanks for the pointer! :)
I asked the hoster to set the session save path and that worked.
Thanks again for all you do to support this product!
Actually the converter failed 4 me it convert only 3200 post of 4000+
hi,
i'm in the process of testing out smf with my enormous, heavily modded phpbb. with your help (searching other topics in this subforum) i was able to convert as far as step=2&substep=6&start=3700. this involved ignoring one duplicate key error for topics and increasing max_allowed_packet to get some of the larger posts through.
unfortunately:
QuoteRecalculating forum statistics... Unsuccessful!
This query:
ALTER TABLE `smf`.smf_smileys
ORDER BY LENGTH(code) DESC;
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LENGTH(code) DESC' at line 2
syntax error!? any help would be much appreciated. thanks in advance.
edit: i'm using mysql 5.0.37.
Hi,
I must be really dense but I'm having a lot of trouble with this and would really appreciate some help...
I have downloaded the conversion kit from the download page (convert.php and phpBB2_to_smf.sql) but I see lots of references in this thread to "downloading the attachment from here".... but I can't find any attachments. Where are they ? All I can find are circular links that take me back to this thread ?! Duh, how dense am I ?
Anyway, before trying this out on my forum I'm trying it out locally on my xampp localhost server. I have the phpBB2 board and the smf board installed using the same xampp mysql database (using phpbb_ and smf_ table prefixes). Both boards are working fine.
I have uploaded convert.php and phpBB2_to_smf.sql to the SMF folder..
Then when I run convert.php it brings up the page at which I enter the addresses of the two boards and I click PROCEED....
...then I get pages and pages of error messages and none of the phpBB2 data is loaded into the smf board::::
Notice: Undefined index: convert_script in C:\Program Files\xampp\htdocs\smf\convert.php on line 580
Warning: Invalid argument supplied for foreach() in C:\Program Files\xampp\htdocs\smf\convert.php on line 583
Notice: Undefined index: convert_script in C:\Program Files\xampp\htdocs\smf\convert.php on line 588
Warning: file(C:\Program Files\xampp\htdocs\smf/) [function.file]: failed to open stream: Permission denied in C:\Program Files\xampp\htdocs\smf\convert.php on line 588
Warning: Invalid argument supplied for foreach() in C:\Program Files\xampp\htdocs\smf\convert.php on line 597
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 935
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 945
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 953
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 963
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 976
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 989
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1035
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1037
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1043
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1049
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1060
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1061
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1069
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1071
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1077
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1078
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1084
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1085
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1109
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1111
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1117
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1129
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1154
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1156
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1192
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1193
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1231
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1236
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1297
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1299
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1335
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1354
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1827
Notice: Undefined variable: result in C:\Program Files\xampp\htdocs\smf\convert.php on line 1828
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1377
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\xampp\htdocs\smf\convert.php on line 1378
Successful.
Code tag.
Quote from: Azasuke on April 02, 2007, 12:31:17 AM
Actually the converter failed 4 me it convert only 3200 post of 4000+
Did you try running the conversion again?
njahnke What convert.php are you using?
marlarkey in the first post there is a .sql file attached used that.
Quote from: JayBachatero on April 16, 2007, 03:35:04 PM
marlarkey in the first post there is a .sql file attached used that.
I'm having the same problem as marlarkey, I have the convert.php (the right one for phpBB) and the sql (that I got attached from the first post) in the root directory of a fresh installed SMF and I'm trying to convert from a phpBB 2.0.22 (/forum) to SMF (/forums) and I'm getting the exact same errors. The paths are correct.
I have the same problem "duplicate entry..." trying to convert from phpbb 2.0.21 to SMF and looked in many threads here and noone actually gives any solution, just links to this post saying to download file from here - we all did, and he problem still exists. Please help
edit: well nevermind it seems that i downloaded this file as .htm and didnt overwrite the old one when uploading to the server, so the converting was still done with he old one. Now I changed it to .sql and it worked fine and convertion was succesfull
Okay I have read (http://docs.simplemachines.org/index.php?topic=15) and most of this topic, lots of info here. But I do have some questions...
FIRST My Setup
1) SMF is installed on the same database as my phpBB using the prefix of smf_ and it is running
2) nothing has been configured or altered
Now I would like to ask some straight forward questions about going forward further with the conversion from phpBB.
1) Do I need to set up the categories and permisions in SMF or does the conversion do that for me from my phpBB data?
2) When converting does it leave the phpBB data intact so that our users can continue to use the phpBB site until we are ready to turn it over to SMF?
3) Is it recommended during the conversion process to turn off the phpBB while undergoing this procedure?
4) Can I install packages, mods, skins, etc before a final conversion to get the forums to have the features and look I want?
5) Last and most important, I assume it will over write the number 1 member, that is me the admin on the new SMF forum with the number 1 member from phpBB.
Thanks everyone in advance.
1 - Converter will pick most of it. It's recommended that you have a look at the permissions after, anyway.
2 - Yes
3 - It's recommended that you have it in maintenance mode
4 - Yes, if they do not interfere with database. As for themes, graphics, etc, no problem.
5 - All existing SMF database information will be overwritten. The created SMF admin will be gone.
6 - You did not asked for it but here it goes. I recommend that you convert more than once, so that you can go and adjust SMF, get familiar, and do it over and over.
6.1 - You might want to move SMF to a different folder after install. Take a look at "repair_settings.php" in the downloads page.
Thanks very much Margarett and as for 6 & 6.1, I kinda figured those. Thank you very much!
Im running phpBB 2.0.21 and i get several error messages about avitars etc but am able to get past those the one that grinds me to a halt is
[code]Converting...
Converting topics... Unsuccessful!
This query:
INSERT INTO `ourcave_biz_-_smf`.smf_topics
(ID_TOPIC, isSticky, ID_FIRST_MSG, ID_LAST_MSG, ID_MEMBER_STARTED, ID_MEMBER_UPDATED, ID_BOARD, ID_POLL, locked, numReplies, numViews)
VALUES ('957', '0', '34348', '34348', '57', '57', '42', '', '0', '0', '0'),
('958', '0', '34349', '34349', '57', '57', '42', '', '0', '0', '0'),
('959', '0', '34350', '34350', '57', '57', '32', '', '0', '0', '0'),
('960', '0', '34352', '34352', '57', '57', '28', '', '0', '0', '0'),
('961', '0', '34354', '34354', '57', '57', '42', '', '0', '0', '1'),
('962', '0', '34357', '34357', '57', '57', '32', '', '0', '0', '0'),
('963', '0', '34362', '34362', '57', '57', '28', '', '0', '0', '0'),
('965', '0', '34364', '34364', '57', '57', '32', '', '0', '0', '0'),
('966', '0', '34369', '34369', '57', '57', '32', '', '0', '0', '1'),
('968', '0', '34371', '34371', '57', '57', '32', '', '0', '0', '0'),
('969', '0', '34372', '34372', '57', '57', '28', '', '0', '0', '0'),
('970', '0', '34373', '34373', '57', '57', '28', '', '0', '0', '0'),
('972', '0', '34386', '37695', '57', '57', '19', '', '0', '106', '5774'),
('973', '0', '34421', '34449', '57', '63', '16', '', '0', '5', '103'),
('975', '0', '34447', '34447', '57', '57', '32', '', '0', '0', '1'),
('976', '0', '34448', '34448', '57', '57', '28', '', '0', '0', '0'),
('977', '0', '34452', '34458', '57', '46', '16', '', '0', '3', '41'),
('980', '0', '34480', '34480', '57', '', '32', '', '0', '0', '0'),
('981', '0', '34481', '34481', '57', '', '28', '', '0', '0', '0'),
('982', '0', '34482', '34482', '57', '', '28', '', '0', '0', '0'),
('983', '0', '34525', '34525', '57', '', '42', '', '0', '0', '0'),
('984', '0', '34543', '34543', '57', '', '32', '', '0', '0', '0'),
('987', '0', '34555', '34555', '57', '', '28', '', '0', '0', '0'),
('988', '1', '34619', '46039', '57', '186', '16', '', '0', '19', '940'),
('989', '0', '34587', '34687', '159', '159', '9', '', '0', '3', '125'),
('990', '0', '34592', '34592', '57', '57', '32', '', '0', '0', '0'),
('991', '0', '34593', '34593', '57', '57', '43', '', '0', '0', '4'),
('992', '0', '34596', '34596', '57', '57', '19', '', '0', '0', '70'),
('995', '0', '34616', '34616', '57', '57', '28', '', '0', '0', '3'),
('996', '0', '34617', '34617', '57', '57', '32', '', '0', '0', '2'),
('997', '0', '34618', '34671', '57', '68', '16', '', '0', '6', '202'),
('999', '0', '34627', '38711', '65', '57', '22', '', '0', '70', '1536'),
('1001', '0', '34665', '34689', '160', '2', '9', '', '0', '2', '106'),
('1004', '0', '34726', '34731', '57', '63', '39', '', '0', '1', '12'),
('1005', '0', '24326', '29752', '57', '', '45', '', '0', '2', '0'),
('1006', '0', '34736', '34736', '57', '57', '19', '', '0', '0', '57'),
('1007', '0', '34738', '34738', '57', '57', '32', '', '0', '0', '2'),
('1008', '0', '34739', '34739', '57', '57', '28', '', '0', '0', '0'),
('1009', '0', '34741', '34830', '-1', '57', '16', '', '0', '4', '120'),
('1010', '0', '34752', '34752', '57', '57', '39', '', '0', '0', '1'),
('1012', '0', '34756', '34761', '57', '57', '39', '', '0', '2', '5'),
('1013', '0', '34763', '34763', '57', '57', '28', '', '0', '0', '1'),
('1014', '0', '34765', '34783', '-1', '57', '25', '', '0', '3', '131'),
('1016', '0', '34779', '34813', '57', '63', '43', '', '0', '1', '3'),
('1020', '0', '34799', '34799', '46', '46', '43', '', '0', '0', '2'),
('1021', '0', '34800', '34800', '46', '46', '42', '', '0', '0', '8'),
('1022', '0', '34801', '34819', '46', '46', '43', '', '0', '2', '7'),
('1023', '0', '34802', '34843', '46', '46', '42', '', '0', '2', '9'),
('1024', '0', '34803', '34803', '46', '46', '42', '', '0', '0', '2'),
('1025', '0', '34811', '34831', '46', '57', '16', '', '0', '4', '106'),
('1026', '0', '34816', '34829', '63', '57', '39', '', '0', '1', '4'),
('1027', '0', '34820', '34820', '46', '46', '42', '', '0', '0', '1'),
('1028', '0', '34827', '34827', '105', '105', '8', '', '0', '0', '40'),
('1029', '0', '34800', '34800', '46', '46', '42', '', '0', '0', '4'),
('1030', '0', '34842', '34915', '46', '23', '16', '', '0', '5', '113'),
('1031', '0', '34844', '34844', '46', '46', '28', '', '0', '0', '2'),
('1032', '0', '34849', '34914', '-1', '23', '16', '', '0', '6', '111'),
('1036', '0', '34891', '38242', '57', '177', '16', '', '0', '19', '281'),
('1038', '0', '34899', '34929', '2', '-1', '3', '', '0', '2', '94'),
('1041', '0', '34955', '35245', '57', '57', '39', '', '0', '6', '18'),
('1042', '0', '34956', '34956', '57', '57', '32', '', '0', '0', '1'),
('1044', '0', '34970', '34970', '57', '57', '43', '', '0', '0', '3'),
('1049', '0', '35022', '35054', '2', '57', '4', '', '0', '1', '10'),
('1051', '0', '35057', '39335', '57', '57', '43', '', '0', '13', '31'),
('1052', '0', '35062', '35078', '57', '2', '19', '', '0', '2', '97'),
('1054', '0', '35088', '38152', '57', '177', '26', '', '0', '3', '50'),
('1057', '0', '35139', '35139', '2', '2', '21', '', '1', '0', '5'),
('1058', '0', '35141', '35141', '57', '57', '19', '', '0', '0', '49'),
('1059', '0', '35142', '35142', '57', '57', '42', '', '0', '0', '1'),
('1060', '0', '35143', '35143', '57', '57', '42', '', '0', '0', '1'),
('1061', '0', '35144', '35144', '57', '57', '42', '', '0', '0', '0'),
('1062', '0', '35145', '35145', '57', '57', '42', '', '0', '0', '1'),
('1063', '0', '35147', '35147', '57', '57', '32', '', '0', '0', '0'),
('1064', '0', '35148', '35148', '57', '57', '28', '', '0', '0', '0'),
('1065', '0', '35151', '35151', '57', '57', '43', '', '0', '0', '1'),
('1066', '0', '35152', '35152', '57', '57', '43', '', '0', '0', '4'),
('1067', '0', '35153', '35153', '57', '57', '39', '', '0', '0', '5'),
('1069', '1', '35196', '43348', '57', '200', '8', '', '0', '11', '258'),
('1070', '0', '35198', '39024', '2', '171', '11', '', '0', '6', '104'),
('1071', '0', '35203', '36398', '171', '174', '11', '', '0', '4', '133'),
('1072', '0', '35204', '35264', '171', '171', '22', '', '0', '8', '164'),
('1073', '0', '35218', '35218', '57', '57', '40', '', '0', '0', '2'),
('1075', '0', '35224', '38545', '171', '171', '22', '', '0', '32', '667'),
('1076', '0', '35243', '35243', '63', '63', '10', '', '0', '0', '10'),
('1077', '0', '35265', '45067', '171', '87', '22', '', '0', '30', '748'),
('1078', '0', '35266', '35755', '171', '171', '16', '', '0', '28', '383'),
('1080', '0', '35272', '35289', '171', '171', '8', '', '0', '2', '61'),
('1081', '0', '35273', '35273', '171', '171', '8', '', '0', '0', '34'),
('1082', '0', '35275', '35275', '57', '57', '46', '', '0', '0', '7'),
('1083', '0', '35276', '35276', '57', '57', '46', '', '0', '0', '3'),
('1084', '0', '35283', '35348', '2', '2', '15', '', '0', '7', '35'),
('1085', '0', '35275', '35275', '57', '57', '32', '', '0', '0', '0'),
('1086', '0', '35276', '35276', '57', '57', '32', '', '0', '0', '0'),
('1087', '1', '35287', '35301', '57', '63', '46', '', '0', '1', '6'),
('1090', '0', '35331', '35331', '171', '171', '8', '', '0', '0', '26'),
('1091', '0', '35332', '35332', '171', '171', '8', '', '0', '0', '28'),
('1092', '0', '35333', '35333', '171', '171', '8', '', '0', '0', '38'),
('1093', '0', '35336', '35384', '171', '57', '26', '', '0', '3', '77'),
('1094', '0', '35354', '35892', '57', '57', '19', '', '0', '12', '580'),
('1095', '0', '35355', '35817', '57', '57', '46', '', '0', '2', '5'),
('1096', '0', '35356', '35356', '57', '57', '46', '', '0', '0', '3'),
('1097', '0', '35357', '35357', '57', '57', '46', '', '0', '0', '4'),
('1098', '0', '35368', '35373', '171', '57', '30', '', '0', '1', '11'),
('1099', '0', '35371', '35371', '57', '57', '28', '', '0', '0', '0'),
('1100', '0', '35372', '35413', '46', '171', '16', '', '0', '6', '74'),
('1101', '0', '35374', '35374', '57', '57', '32', '', '0', '0', '0'),
('1102', '0', '35376', '35376', '57', '57', '39', '', '0', '0', '0'),
('1103', '0', '35377', '35434', '57', '63', '40', '', '0', '1', '3'),
('1104', '0', '35378', '35522', '57', '171', '28', '', '0', '1', '3'),
('1105', '0', '35380', '35380', '57', '57', '30', '', '0', '0', '0'),
('1106', '0', '35381', '35381', '57', '57', '32', '', '0', '0', '0'),
('1107', '0', '35382', '35382', '57', '57', '28', '', '0', '0', '3'),
('1108', '0', '35388', '46365', '171', '187', '22', '', '0', '194', '5709'),
('1110', '0', '35409', '35409', '172', '172', '49', '', '0', '0', '24'),
('1111', '0', '35457', '35457', '57', '57', '39', '', '0', '0', '0'),
('1112', '0', '35458', '35458', '57', '57', '40', '', '0', '0', '2'),
('1113', '0', '35459', '35459', '57', '57', '46', '', '0', '0', '3'),
('1115', '0', '35530', '37497', '57', '14', '16', '', '0', '4', '63'),
('1116', '0', '35536', '35538', '171', '171', '30', '', '0', '2', '9'),
('1117', '0', '35540', '35540', '2', '2', '47', '', '1', '0', '499'),
('1118', '1', '35541', '35541', '2', '2', '48', '', '1', '0', '11'),
('1121', '0', '35552', '35552', '57', '57', '32', '', '0', '0', '0'),
('1122', '0', '35553', '35553', '57', '57', '28', '', '0', '0', '1'),
('1123', '0', '35559', '35559', '57', '57', '26', '', '0', '0', '28'),
('1125', '0', '35597', '35597', '57', '57', '28', '', '0', '0', '1'),
('1126', '0', '35598', '35598', '57', '57', '28', '', '0', '0', '0'),
('1127', '0', '35677', '38036', '75', '75', '8', '', '0', '4', '100'),
('1128', '0', '35707', '35707', '57', '57', '28', '', '0', '0', '0'),
('1129', '0', '35708', '35708', '57', '57', '30', '', '0', '0', '2'),
('1130', '0', '35709', '35709', '57', '57', '28', '', '0', '0', '0'),
('1131', '0', '35751', '35751', '57', '57', '32', '', '0', '0', '2'),
('1132', '0', '35752', '35752', '57', '57', '28', '', '0', '0', '0'),
('1133', '0', '35808', '35808', '57', '57', '43', '', '0', '0', '2'),
('1134', '0', '35812', '35812', '57', '57', '43', '', '0', '0', '1'),
('1135', '0', '35813', '35813', '57', '57', '43', '', '0', '0', '1'),
('1136', '0', '35814', '35814', '57', '57', '43', '', '0', '0', '0'),
('1137', '0', '35815', '35815', '57', '57', '43', '', '0', '0', '0'),
('1138', '0', '35816', '35816', '57', '57', '43', '', '0', '0', '0'),
('1139', '0', '35818', '35818', '57', '57', '46', '', '0', '0', '5'),
('1140', '0', '35819', '35819', '57', '57', '28', '', '0', '0', '1'),
('1141', '0', '35820', '35820', '57', '57', '39', '', '0', '0', '0'),
('1142', '0', '35821', '35821', '57', '57', '41', '', '0', '0', '1'),
('1143', '0', '35822', '35822', '57', '57', '41', '', '0', '0', '1'),
('1144', '0', '35823', '35823', '57', '57', '41', '', '0', '0', '1'),
('1145', '0', '35824', '35824', '57', '57', '41', '', '0', '0', '2'),
('1146', '0', '35825', '35825', '57', '57', '41', '', '0', '0', '1'),
('1147', '0', '35843', '36737', '40', '40', '9', '', '0', '20', '439'),
('1148', '0', '35844', '37430', '57', '2', '15', '', '0', '3', '23'),
('1150', '0', '35863', '46434', '57', '57', '16', '', '0', '447', '8684'),
('1151', '0', '35946', '35946', '57', '57', '32', '', '0', '0', '0'),
('1152', '0', '35947', '35947', '57', '57', '28', '', '0', '0', '0'),
('1153', '0', '35948', '35948', '57', '57', '28', '', '0', '0', '0'),
('1154', '0', '35949', '35949', '57', '57', '28', '', '0', '0', '0'),
('1155', '0', '35950', '35950', '57', '57', '28', '', '0', '0', '0'),
('1156', '0', '35951', '37020', '57', '57', '19', '', '0', '3', '98'),
('1157', '0', '35970', '35971', '171', '57', '10', '', '0', '1', '14'),
('1158', '0', '35972', '35972', '57', '57', '39', '', '0', '0', '0'),
('1159', '0', '35973', '35973', '57', '57', '32', '', '0', '0', '2'),
('1160', '0', '35974', '35974', '57', '57', '28', '', '0', '0', '0'),
('1161', '0', '35975', '35975', '57', '57', '28', '', '0', '0', '1'),
('1162', '0', '35976', '35976', '57', '57', '28', '', '0', '0', '0'),
('1163', '0', '35981', '36044', '57', '57', '16', '', '0', '1', '16'),
('1164', '0', '36028', '36028', '57', '57', '10', '', '0', '0', '13'),
('1165', '0', '36046', '36046', '57', '57', '32', '', '0', '0', '1'),
('1166', '0', '36125', '36125', '57', '57', '10', '', '0', '0', '6'),
('1167', '0', '36210', '36237', '57', '63', '43', '', '0', '1', '3'),
('1168', '0', '36211', '36540', '2', '57', '16', '', '0', '8', '134'),
('1169', '0', '36216', '36241', '40', '57', '19', '', '0', '1', '62'),
('1170', '0', '36261', '36294', '57', '63', '26', '', '0', '1', '38'),
('1171', '0', '36281', '36281', '57', '57', '10', '', '0', '0', '14'),
('1172', '0', '36283', '36283', '57', '57', '10', '', '0', '0', '15'),
('1173', '0', '36345', '36345', '57', '57', '32', '', '0', '0', '1'),
('1174', '0', '36346', '36346', '57', '57', '28', '', '0', '0', '0'),
('1175', '0', '36347', '36347', '57', '57', '28', '', '0', '0', '1'),
('1176', '0', '36348', '36348', '57', '57', '28', '', '0', '0', '0'),
('1177', '0', '36349', '36349', '57', '57', '32', '', '0', '0', '0'),
('1178', '0', '36350', '36350', '57', '57', '28', '', '0', '0', '1'),
('1179', '0', '36351', '36351', '57', '57', '28', '', '0', '0', '0'),
('1180', '0', '36352', '36352', '57', '57', '28', '', '0', '0', '0'),
('1181', '0', '36353', '36353', '57', '57', '28', '', '0', '0', '0'),
('1182', '0', '36354', '36438', '57', '63', '39', '', '0', '1', '5'),
('1183', '0', '36356', '40925', '57', '177', '16', '', '0', '14', '562'),
('1184', '0', '36358', '44967', '57', '177', '23', '', '0', '7', '159'),
('1185', '0', '36367', '46435', '57', '57', '16', '', '0', '331', '9566'),
('1186', '0', '36372', '36378', '57', '57', '19', '', '0', '1', '51'),
('1187', '0', '36373', '36467', '173', '173', '11', '', '0', '3', '86'),
('1192', '0', '36426', '43263', '57', '63', '19', '', '0', '53', '1551'),
('1193', '0', '36397', '36411', '174', '171', '11', '', '0', '3', '86'),
('1195', '0', '36437', '39843', '63', '177', '16', '', '0', '2', '85'),
('1196', '0', '36441', '36441', '57', '57', '28', '', '0', '0', '5'),
('1197', '0', '36469', '36598', '174', '57', '3', '', '0', '7', '122'),
('1198', '0', '36476', '36533', '174', '57', '30', '', '0', '4', '14'),
('1199', '0', '36531', '38080', '57', '57', '48', '', '0', '5', '18'),
('1200', '0', '36543', '39031', '57', '171', '10', '', '0', '3', '41'),
('1201', '0', '36552', '36555', '171', '57', '22', '', '0', '1', '53'),
('1203', '0', '36561', '36561', '57', '57', '32', '', '0', '0', '1'),
('1204', '0', '36562', '36562', '57', '57', '42', '', '0', '0', '1'),
('1205', '0', '36563', '36563', '57', '57', '42', '', '0', '0', '1'),
('1206', '0', '36564', '36564', '57', '57', '42', '', '0', '0', '0'),
('1207', '0', '36565', '36565', '57', '57', '42', '', '0', '0', '0'),
('1208', '0', '36566', '36566', '57', '57', '42', '', '0', '0', '0'),
('1209', '0', '36567', '36567', '57', '57', '42', '', '0', '0', '0'),
('1210', '0', '36568', '39314', '57', '57', '43', '', '0', '2', '4'),
('1211', '0', '36572', '36673', '171', '57', '8', '', '0', '2', '91'),
('1212', '0', '36615', '36642', '57', '63', '16', '', '0', '2', '23'),
('1213', '0', '36616', '37314', '42', '57', '11', '', '0', '6', '120'),
('1214', '0', '36639', '36641', '57', '63', '16', '', '0', '1', '22'),
('1215', '0', '36666', '36666', '57', '57', '28', '', '0', '0', '2'),
('1216', '0', '36672', '36691', '57', '63', '39', '', '0', '1', '3'),
('1217', '0', '36741', '37133', '57', '57', '16', '', '0', '4', '52'),
('1218', '0', '36742', '39123', '171', '171', '22', '', '0', '35', '730'),
('1219', '0', '36744', '36744', '57', '57', '32', '', '0', '0', '1'),
('1220', '0', '36745', '36745', '57', '57', '40', '', '0', '0', '2'),
('1221', '0', '36746', '36746', '57', '57', '39', '', '0', '0', '1'),
('1222', '0', '36747', '36747', '57', '57', '28', '', '0', '0', '0'),
('1223', '0', '36748', '36748', '57', '57', '28', '', '0', '0', '1'),
('1224', '0', '36749', '36749', '57', '57', '28', '', '0', '0', '1'),
('1225', '0', '36776', '36777', '63', '57', '10', '', '0', '1', '24'),
('1226', '0', '36809', '36809', '57', '57', '10', '', '0', '0', '22'),
('1227', '0', '36888', '45142', '57', '87', '22', '', '0', '15', '567'),
('1228', '0', '36916', '37328', '171', '171', '8', '', '0', '8', '148'),
('1229', '0', '36932', '36988', '57', '63', '26', '', '0', '1', '29'),
('1230', '0', '36981', '36981', '57', '57', '10', '', '0', '0', '7'),
('1231', '0', '36983', '36983', '57', '57', '32', '', '0', '0', '1'),
('1232', '0', '36984', '36984', '57', '57', '28', '', '0', '0', '0'),
('1233', '0', '36985', '36985', '57', '57', '39', '', '0', '0', '0'),
('1234', '0', '37013', '46388', '57', '57', '16', '', '0', '45', '1712'),
('1236', '0', '37021', '37051', '57', '63', '10', '', '0', '1', '14'),
('1237', '0', '37030', '37030', '57', '57', '32', '', '0', '0', '3'),
('1238', '0', '37038', '44402', '57', '57', '39', '', '0', '20', '42'),
('1239', '0', '37068', '37518', '46', '57', '16', '', '0', '13', '173'),
('1240', '0', '37123', '37123', '57', '57', '10', '', '0', '0', '12'),
('1241', '1', '37164', '41455', '57', '', '22', '', '0', '36', '716'),
('1242', '0', '37181', '37181', '57', '57', '39', '', '0', '0', '0'),
('1243', '0', '37182', '37182', '57', '57', '32', '', '0', '0', '0'),
('1244', '0', '37183', '37183', '57', '57', '28', '', '0', '0', '0'),
('1245', '0', '37184', '37184', '57', '57', '28', '', '0', '0', '0'),
('1246', '0', '37185', '37185', '57', '57', '28', '', '0', '0', '1'),
('1247', '0', '37186', '37186', '57', '57', '28', '', '0', '0', '1'),
('1248', '0', '37187', '38148', '57', '177', '26', '', '0', '2', '72'),
('1249', '0', '37231', '37251', '63', '57', '10', '', '0', '1', '20'),
('1250', '0', '37318', '37318', '57', '57', '42', '', '0', '0', '0'),
('1251', '0', '37319', '37319', '57', '57', '42', '', '0', '0', '0'),
('1252', '0', '37320', '37320', '57', '57', '42', '', '0', '0', '0'),
('1253', '0', '37321', '37321', '57', '57', '42', '', '0', '0', '0'),
('1254', '0', '37322', '37322', '57', '57', '42', '', '0', '0', '0'),
('1255', '0', '37323', '37323', '57', '57', '10', '', '0', '0', '17'),
('1257', '0', '37386', '37403', '68', '63', '11', '', '0', '3', '106'),
('1258', '0', '37388', '37388', '57', '57', '46', '', '0', '0', '3'),
('1260', '0', '37460', '37460', '57', '57', '32', '', '0', '0', '0'),
('1261', '0', '37461', '37461', '57', '57', '39', '', '0', '0', '2'),
('1262', '0', '37462', '39581', '177', '177', '8', '', '0', '7', '140'),
('1263', '0', '37463', '37474', '177', '57', '11', '', '0', '4', '129'),
('1264', '0', '37466', '37582', '177', '177', '9', '', '0', '4', '144'),
('1265', '0', '37485', '37485', '57', '57', '42', '', '0', '0', '0'),
('1266', '0', '37486', '37486', '57', '57', '42', '', '0', '0', '0'),
('1267', '0', '37487', '37487', '57', '57', '42', '', '0', '0', '0'),
('1268', '0', '37488', '37488', '57', '57', '42', '', '0', '0', '0'),
('1269', '0', '37489', '37489', '57', '57', '42', '', '0', '0', '1'),
('1270', '0', '37490', '37490', '57', '57', '40', '', '0', '0', '1'),
('1271', '0', '37491', '37491', '57', '57', '42', '', '0', '0', '0'),
('1273', '0', '37541', '44965', '177', '177', '23', '', '0', '5', '63'),
('1274', '0', '37542', '40844', '177', '177', '8', '', '0', '15', '293'),
('1275', '0', '37549', '37583', '130', '57', '30', '', '0', '1', '10'),
('1276', '0', '37549', '37549', '130', '130', '28', '', '0', '0', '2'),
('1277', '0', '37581', '37916', '130', '57', '48', '', '0', '5', '18'),
('1278', '0', '37585', '37630', '177', '177', '3', '2', '0', '3', '56'),
('1279', '0', '37600', '37689', '57', '14', '16', '', '0', '3', '32'),
('1280', '0', '37614', '37830', '178', '40', '11', '', '0', '4', '65'),
('1281', '0', '37617', '37944', '40', '177', '9', '', '0', '25', '620'),
('1283', '0', '37650', '38037', '40', '75', '25', '', '0', '2', '113'),
('1284', '0', '37659', '37659', '40', '40', '8', '', '0', '0', '22'),
('1285', '0', '37660', '37802', '40', '46', '12', '', '1', '8', '168'),
('1286', '0', '37662', '37662', '40', '40', '17', '', '0', '0', '32'),
('1287', '0', '37663', '38604', '40', '2', '15', '', '0', '1', '16'),
('1288', '0', '37690', '37690', '40', '40', '26', '', '0', '0', '40'),
('1289', '0', '37696', '38047', '57', '57', '19', '', '0', '2', '75'),
('1290', '0', '37699', '37699', '57', '57', '32', '', '0', '0', '0'),
('1291', '0', '37700', '37700', '57', '57', '28', '', '0', '0', '0'),
('1292', '0', '37701', '37701', '57', '57', '28', '', '0', '0', '2'),
('1293', '0', '37710', '38546', '40', '177', '16', '', '0', '20', '487'),
('1294', '0', '37710', '37710', '40', '40', '17', '', '0', '0', '1'),
('1295', '0', '37781', '38754', '57', '57', '19', '', '0', '41', '1001'),
('1296', '0', '37854', '38792', '57', '182', '16', '', '0', '2', '30'),
('1297', '0', '37874', '37909', '177', '57', '19', '', '0', '4', '93'),
('1298', '0', '37881', '37898', '177', '177', '12', '', '0', '3', '69'),
('1299', '0', '37890', '37890', '57', '57', '10', '', '0', '0', '23'),
('1300', '0', '38010', '38010', '57', '57', '32', '', '0', '0', '0'),
('1301', '0', '38011', '38011', '57', '57', '43', '', '0', '0', '0'),
('1302', '0', '38012', '38012', '57', '57', '32', '', '0', '0', '0'),
('1303', '0', '38013', '38013', '57', '57', '39', '', '0', '0', '0'),
('1304', '0', '38014', '38014', '57', '57', '43', '', '0', '0', '1'),
('1305', '0', '38033', '38033', '57', '57', '10', '', '0', '0', '23'),
('1306', '0', '38034', '38034', '57', '57', '43', '', '0', '0', '1'),
('1307', '0', '38107', '38107', '57', '57', '16', '', '0', '0', '7'),
('1308', '0', '38129', '38352', '57', '177', '16', '', '0', '2', '32'),
('1309', '0', '38132', '38132', '177', '177', '10', '', '0', '0', '38'),
('1310', '0', '38151', '38593', '177', '177', '12', '', '0', '4', '70'),
('1311', '0', '38161', '41200', '2', '177', '48', '', '0', '11', '43'),
('1312', '0', '38162', '38163', '2', '57', '48', '', '0', '1', '7'),
('1313', '0', '38221', '38221', '57', '57', '32', '', '0', '0', '0'),
('1314', '0', '38222', '38222', '57', '57', '28', '', '0', '0', '0'),
('1315', '0', '38223', '38223', '57', '57', '42', '', '0', '0', '0'),
('1316', '0', '38224', '38224', '57', '57', '43', '', '0', '0', '2'),
('1317', '0', '38225', '38225', '57', '57', '40', '', '0', '0', '1'),
('1318', '0', '38253', '40241', '171', '46', '22', '', '0', '15', '310'),
('1319', '0', '38361', '38367', '105', '105', '8', '', '0', '2', '44'),
('1320', '0', '38389', '38431', '57', '46', '16', '', '0', '3', '35'),
('1321', '0', '38494', '38494', '177', '177', '26', '', '0', '0', '15'),
('1322', '0', '38553', '38553', '57', '57', '10', '', '0', '0', '20'),
('1324', '0', '38577', '38577', '63', '63', '10', '', '0', '0', '18'),
('1325', '0', '38584', '38588', '57', '177', '8', '', '0', '1', '38'),
('1327', '0', '38621', '38687', '40', '2', '16', '', '0', '4', '46'),
('1328', '0', '38626', '38626', '57', '57', '32', '', '0', '0', '1'),
('1329', '0', '38627', '38627', '57', '57', '28', '', '0', '0', '0'),
('1330', '0', '38628', '38628', '57', '57', '28', '', '0', '0', '0'),
('1331', '0', '38654', '38824', '57', '45', '16', '', '0', '2', '22'),
('1332', '0', '38662', '38662', '57', '57', '32', '', '0', '0', '0'),
('1333', '0', '38663', '38663', '57', '57', '28', '', '0', '0', '0'),
('1334', '0', '38664', '38664', '57', '57', '41', '', '0', '0', '1'),
('1335', '0', '38665', '38665', '57', '57', '43', '', '0', '0', '1'),
('1336', '0', '38667', '38667', '57', '57', '39', '', '0', '0', '1'),
('1337', '0', '38668', '38668', '57', '57', '28', '', '0', '0', '0'),
('1338', '0', '38669', '38669', '57', '57', '40', '', '0', '0', '1'),
('1339', '0', '38673', '38673', '57', '57', '32', '', '0', '0', '1'),
('1340', '0', '38674', '38674', '57', '57', '32', '', '0', '0'
('1340', '0', '38674', '38674', '57', '57', '32', '', '0', '0', '0'),
('1341', '0', '38675', '38675', '57', '57', '32', '', '0', '0', '0'),
('1342', '0', '38676', '38676', '57', '57', '43', '', '0', '0', '2'),
('1343', '0', '38677', '38677', '57', '57', '32', '', '0', '0', '0'),
('1344', '0', '38678', '42938', '57', '57', '28', '', '0', '2', '5'),
('1345', '0', '38679', '38679', '57', '57', '28', '', '0', '0', '0'),
('1346', '0', '38680', '38680', '57', '57', '28', '', '0', '0', '0'),
('1347', '0', '38681', '38681', '57', '57', '28', '', '0', '0', '0'),
('1348', '0', '38682', '42939', '57', '57', '28', '', '0', '2', '4'),
('1349', '0', '38683', '38683', '57', '57', '28', '', '0', '0', '0'),
('1350', '0', '38685', '38685', '57', '57', '46', '', '0', '0', '3'),
('1351', '0', '38712', '38712', '57', '57', '10', '', '0', '0', '21'),
('1352', '0', '38713', '38713', '57', '57', '10', '', '0', '0', '20'),
('1353', '0', '38729', '38780', '57', '2', '16', '', '0', '6', '59'),
('1354', '0', '38755', '38755', '57', '57', '19', '', '0', '0', '68'),
('1355', '0', '38758', '38758', '57', '57', '43', '', '0', '0', '0'),
('1356', '0', '38777', '45430', '57', '186', '43', '', '0', '23', '96'),
('1357', '0', '38801', '38801', '57', '57', '16', '', '0', '0', '20'),
('1358', '0', '38804', '38896', '171', '171', '22', '', '0', '2', '63'),
('1359', '0', '38811', '39012', '171', '2', '22', '', '0', '6', '106'),
('1360', '0', '38828', '39047', '171', '171', '22', '', '0', '6', '145'),
('1361', '0', '38834', '38861', '183', '63', '11', '', '0', '7', '94'),
('1362', '0', '38843', '39226', '2', '2', '21', '', '0', '2', '11'),
('1363', '0', '38845', '39066', '57', '177', '16', '', '0', '4', '44'),
('1365', '0', '38848', '38848', '171', '171', '10', '', '0', '0', '25'),
('1366', '0', '38849', '38849', '171', '171', '10', '', '0', '0', '25'),
('1368', '0', '38854', '38881', '183', '', '39', '5', '0', '3', '9'),
('1373', '0', '38889', '38889', '57', '57', '19', '', '0', '0', '90'),
('1374', '0', '38898', '38899', '2', '57', '11', '', '0', '1', '38'),
('1375', '0', '38910', '38910', '57', '57', '39', '', '0', '0', '1'),
('1376', '0', '38911', '38911', '57', '57', '39', '', '0', '0', '0'),
('1377', '0', '38912', '38912', '57', '57', '28', '', '0', '0', '0'),
('1378', '0', '38913', '38913', '57', '57', '28', '', '0', '0', '0'),
('1380', '0', '38937', '38937', '57', '57', '26', '', '0', '0', '23'),
('1381', '0', '38949', '38949', '57', '57', '41', '', '0', '0', '2'),
('1382', '0', '38950', '38950', '57', '57', '41', '', '0', '0', '2'),
('1383', '0', '38951', '38951', '57', '57', '40', '', '0', '0', '2'),
('1384', '0', '38952', '38952', '57', '57', '28', '', '0', '0', '1'),
('1385', '0', '38961', '38967', '2', '57', '4', '', '0', '1', '5'),
('1386', '0', '38970', '39004', '2', '46', '21', '', '0', '3', '12'),
('1387', '0', '39006', '39010', '171', '2', '10', '', '0', '1', '101'),
('1388', '0', '39007', '39019', '171', '57', '10', '', '0', '2', '96'),
('1389', '0', '39008', '39008', '171', '171', '8', '', '0', '0', '44'),
('1390', '0', '39006', '39010', '171', '2', '22', '', '0', '1', '6'),
('1391', '0', '39007', '39009', '171', '2', '22', '', '0', '1', '4'),
('1392', '0', '39029', '39029', '171', '171', '8', '', '0', '0', '32'),
('1393', '0', '39030', '39124', '171', '171', '22', '', '0', '7', '158'),
('1394', '0', '39036', '39138', '171', '177', '8', '', '0', '1', '20'),
('1395', '0', '39040', '39040', '57', '57', '10', '', '0', '0', '17'),
('1396', '0', '39046', '39046', '171', '171', '22', '', '0', '0', '47'),
('1397', '0', '39048', '39049', '171', '57', '8', '', '0', '1', '43'),
('1398', '0', '39052', '39052', '57', '57', '41', '', '0', '0', '1'),
('1399', '0', '39053', '39053', '57', '57', '28', '', '0', '0', '1'),
('1400', '0', '39065', '39065', '57', '57', '10', '', '0', '0', '17'),
('1401', '0', '39084', '39084', '57', '57', '10', '', '0', '0', '23'),
('1402', '0', '39085', '39085', '2', '2', '29', '', '0', '0', '4'),
('1403', '0', '39086', '39086', '2', '2', '29', '', '0', '0', '7'),
('1404', '0', '39087', '39087', '2', '2', '29', '', '0', '0', '5'),
('1405', '0', '39088', '39088', '2', '2', '29', '', '0', '0', '5'),
('1406', '0', '39089', '39089', '2', '2', '29', '', '0', '0', '3'),
('1407', '0', '39090', '39090', '2', '2', '29', '', '0', '0', '5'),
('1408', '0', '39093', '39093', '57', '57', '28', '', '0', '0', '7'),
('1409', '0', '39122', '39122', '171', '171', '22', '', '0', '0', '71'),
('1410', '0', '39126', '39152', '171', '171', '10', '', '0', '2', '80'),
('1411', '0', '39127', '39127', '46', '46', '43', '', '0', '0', '3'),
('1412', '0', '39128', '39128', '46', '46', '46', '', '0', '0', '7'),
('1413', '0', '39129', '39129', '46', '46', '43', '', '0', '0', '4'),
('1414', '0', '39130', '41870', '46', '57', '46', '', '0', '4', '16'),
('1415', '0', '39136', '39136', '177', '177', '26', '', '0', '0', '21'),
('1416', '0', '39139', '45709', '177', '187', '8', '', '0', '28', '587'),
('1417', '0', '39140', '40675', '6', '', '16', '', '0', '4', '70'),
('1418', '0', '39145', '41927', '177', '87', '49', '', '0', '2', '95'),
('1419', '0', '39126', '39152', '171', '171', '22', '', '0', '2', '8'),
('1420', '0', '39156', '39156', '171', '171', '8', '', '0', '0', '31'),
('1421', '0', '39162', '39165', '2', '57', '12', '', '0', '1', '29'),
('1422', '0', '39168', '39168', '171', '171', '10', '', '0', '0', '24'),
('1423', '0', '39219', '39809', '40', '177', '26', '', '0', '3', '62'),
('1424', '0', '39220', '39220', '40', '40', '9', '', '0', '0', '66'),
('1425', '0', '39224', '39224', '57', '57', '28', '', '0', '0', '0'),
('1426', '0', '39225', '39225', '57', '57', '41', '', '0', '0', '1'),
('1427', '0', '39228', '39283', '40', '40', '16', '', '0', '2', '51'),
('1428', '0', '39236', '39236', '40', '40', '16', '', '0', '0', '15'),
('1429', '0', '39237', '39240', '40', '40', '15', '', '0', '2', '13'),
('1430', '0', '39251', '39251', '57', '57', '28', '', '0', '0', '0'),
('1431', '0', '39255', '39284', '2', '2', '16', '', '0', '5', '115'),
('1432', '0', '39258', '39258', '57', '57', '28', '', '0', '0', '1'),
('1433', '0', '39280', '39280', '57', '57', '32', '', '0', '0', '0'),
('1434', '0', '39285', '39428', '2', '', '21', '', '0', '4', '14'),
('1437', '0', '39296', '39299', '2', '57', '12', '', '0', '1', '21'),
('1438', '0', '39297', '39511', '2', '57', '11', '', '0', '9', '221'),
('1439', '0', '39304', '39318', '46', '46', '28', '', '0', '2', '4'),
('1440', '0', '39305', '46433', '186', '187', '30', '', '0', '102', '331'),
('1442', '0', '39342', '42256', '57', '45', '10', '', '0', '3', '54'),
('1443', '0', '39343', '39343', '57', '57', '40', '', '0', '0', '2'),
('1444', '0', '39344', '39344', '57', '57', '28', '', '0', '0', '0'),
('1445', '0', '39345', '39345', '57', '57', '28', '', '0', '0', '3'),
('1446', '0', '39346', '41384', '46', '57', '28', '', '0', '1', '5'),
('1447', '0', '39347', '39360', '46', '57', '28', '', '0', '1', '4'),
('1448', '0', '39365', '39371', '57', '46', '28', '', '0', '3', '12'),
('1449', '0', '39370', '39370', '57', '57', '43', '', '0', '0', '2'),
('1450', '0', '39374', '39374', '57', '57', '10', '', '0', '0', '22'),
('1451', '0', '39376', '39381', '57', '171', '16', '', '0', '3', '85'),
('1452', '0', '39390', '39416', '186', '', '29', '', '0', '7', '24'),
('1453', '0', '39394', '39419', '57', '', '16', '', '0', '5', '61'),
('1454', '0', '39403', '39477', '186', '57', '30', '', '0', '5', '14'),
('1455', '0', '39412', '42431', '57', '57', '30', '', '0', '3', '10'),
('1456', '0', '39413', '39560', '57', '', '28', '', '0', '4', '26'),
('1457', '0', '39418', '39418', '57', '', '41', '', '0', '0', '2'),
('1458', '0', '39431', '39431', '57', '', '19', '', '0', '0', '51'),
('1459', '0', '39438', '39438', '57', '', '26', '', '0', '0', '19'),
('1461', '0', '39487', '39592', '57', '57', '16', '', '0', '2', '96'),
('1462', '0', '39461', '39461', '57', '', '28', '', '0', '0', '1'),
('1463', '0', '39462', '39462', '57', '', '43', '', '0', '0', '1'),
('1464', '0', '39463', '39463', '57', '', '41', '', '0', '0', '3'),
('1465', '0', '39466', '41646', '186', '57', '30', '', '0', '16', '34'),
('1466', '0', '39489', '39497', '2', '57', '1', '', '0', '3', '89'),
('1467', '0', '39490', '39615', '187', '63', '11', '', '0', '5', '141'),
('1468', '0', '39500', '44752', '57', '57', '19', '', '0', '145', '6332'),
('1470', '0', '39502', '40135', '57', '57', '12', '', '0', '9', '140'),
('1472', '0', '42250', '42250', '57', '45', '10', '', '0', '0', '34'),
('1473', '0', '39538', '39538', '177', '', '10', '', '0', '0', '15'),
('1474', '0', '39575', '39583', '177', '57', '10', '', '0', '1', '21'),
('1475', '0', '39582', '39837', '177', '177', '9', '', '0', '10', '173'),
('1476', '0', '39586', '40195', '2', '61', '16', '', '0', '11', '216'),
('1477', '0', '39588', '41190', '2', '188', '1', '', '0', '7', '163'),
('1478', '0', '39609', '40918', '57', '57', '40', '', '0', '2', '4'),
('1479', '0', '39610', '39714', '57', '', '28', '', '0', '1', '6'),
('1480', '0', '39611', '39611', '177', '177', '10', '', '0', '0', '25'),
('1481', '0', '39626', '39748', '63', '', '10', '', '0', '2', '33'),
('1482', '0', '39652', '40182', '177', '177', '12', '', '0', '2', '42'),
('1483', '0', '39659', '39808', '57', '177', '26', '', '0', '2', '45'),
('1484', '0', '39663', '39693', '2', '', '11', '', '0', '2', '39'),
('1485', '0', '39664', '39690', '158', '57', '11', '', '0', '2', '51'),
('1486', '0', '39666', '39689', '87', '57', '11', '', '0', '2', '36'),
('1487', '0', '39671', '39692', '2', '', '21', '', '0', '1', '7'),
('1488', '0', '39789', '39789', '87', '2', '9', '', '0', '0', '71'),
('1489', '0', '39715', '39844', '87', '57', '30', '', '0', '3', '9'),
('1490', '0', '39803', '40897', '177', '186', '11', '', '0', '11', '455'),
('1491', '0', '39965', '42984', '171', '171', '16', '', '0', '11', '537'),
('1492', '0', '39728', '39964', '171', '171', '16', '', '0', '2', '29'),
('1493', '0', '39781', '39781', '177', '', '49', '', '0', '0', '25'),
('1494', '0', '39785', '39785', '177', '', '26', '', '0', '0', '10'),
('1495', '0', '39795', '42275', '177', '177', '16', '', '0', '39', '1869'),
('1496', '0', '39791', '39804', '63', '177', '10', '', '0', '1', '44'),
('1497', '0', '39502', '39724', '57', '', '45', '', '0', '2', '10'),
('1498', '0', '39846', '39864', '57', '57', '28', '', '0', '2', '7'),
('1499', '0', '39848', '39861', '57', '87', '28', '', '0', '1', '5'),
('1500', '0', '39854', '39862', '57', '87', '28', '', '0', '1', '3'),
('1501', '0', '39920', '46429', '57', '187', '16', '', '0', '201', '5563'),
('1502', '0', '39967', '40099', '63', '177', '10', '', '0', '2', '55'),
('1503', '0', '40006', '40006', '57', '57', '28', '', '0', '0', '1'),
('1504', '0', '40007', '40352', '57', '57', '42', '', '0', '12', '19'),
('1505', '0', '40008', '40008', '57', '57', '43', '', '0', '0', '0'),
('1506', '0', '40009', '40347', '57', '57', '43', '', '0', '2', '4'),
('1507', '0', '40010', '40010', '57', '57', '42', '', '0', '0', '3'),
('1508', '0', '40044', '44533', '87', '87', '22', '', '0', '34', '1081'),
('1509', '0', '40046', '40136', '87', '87', '30', '', '0', '4', '14'),
('1510', '0', '40069', '42230', '57', '45', '10', '', '0', '10', '307'),
('1511', '0', '40071', '40071', '57', '57', '28', '', '0', '0', '1'),
('1512', '0', '40072', '40072', '57', '57', '28', '', '0', '0', '1'),
('1513', '0', '40073', '40073', '57', '57', '28', '', '0', '0', '1'),
('1514', '0', '40074', '40074', '57', '57', '28', '', '0', '0', '1'),
('1515', '0', '40075', '40075', '57', '57', '32', '', '0', '0', '2'),
('1516', '0', '40101', '42308', '177', '177', '10', '', '0', '10', '299'),
('1517', '0', '40102', '40102', '177', '177', '10', '', '0', '0', '43'),
('1518', '0', '40103', '42240', '177', '45', '10', '', '0', '2', '60'),
('1520', '0', '40129', '40137', '87', '87', '10', '', '0', '2', '54'),
('1521', '0', '40188', '42232', '177', '45', '10', '', '0', '4', '89'),
('1522', '0', '40194', '40283', '61', '63', '11', '', '0', '5', '72'),
('1523', '0', '40207', '40282', '178', '63', '11', '', '0', '4', '77'),
('1524', '0', '40237', '40319', '57', '57', '16', '', '0', '7', '113'),
('1525', '0', '40253', '42916', '87', '87', '19', '', '0', '22', '646'),
('1526', '0', '40325', '40340', '186', '186', '15', '', '0', '3', '22'),
('1528', '0', '40342', '40532', '186', '186', '12', '', '0', '3', '91'),
('1529', '0', '40353', '42236', '63', '45', '10', '', '0', '1', '31');
Caused the error:
Duplicate entry '957' for key 1
Are you using the converter from this topic?
PS: the avatars errors are normal, it's because they are not found
yea it links you to the downloads section anyways which is where i downloaded it
No.
On the first post of this topic you will find the files you need. It's an improved converter by Jay. Use the .sql file attached, and the convert.php linked
ahhh that sql thingy wasnt there the first time i looked cool ill try that later today and report back
all went well untill i got the following
QuoteConverting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting moderators... Successful.
Converting avatar gallery images...
Fatal error: Call to undefined function: copy_dir() in /home/virtual/site57/fst/var/www/html/smf/convert.php(665) : eval()'d code on line 20
now what?
Beats me...
Did everything converted except avatars?
"Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: SELECT command denied to user 'sekindo_smf'@'localhost' for table 'phpbb_users"
what the problem...?, i can't convert my phpbb forum ?, how to make it can ?
sorry for my bad english
You need to allow the user from "smf database" to access the "phpbb database"
QuoteThe package you tried to upload either is not a valid package or has become corrupted.
got the above message when trying upload the phpbb2 converter from simplemachines.org site.
Tried both .zip and .tar.gz
You don't install it in package manager, it is NOT a MOD!
You shoud download "convert.php" and "phpbb2_to_smf.sql" files from THE FIRST TOPIC IN THIS THREAD, upload them both to your smf folder and rrun, from your browser:
http://www.yourdomain.com/smf/convert.php
EDIT : Nevermind! Problem Resolved!! Please delete this post! Thanks!! ;)
A dont think that anyone has problem like me. Here is the story. Someday, someone install phpbb2 forum on some host. Forum works for some time and that someone said - I dont want to be a part of that story and leave site ovners in trouble. They ask me to continue servicing their site and I accept.
First thing I do was installing SMF 1.1.2. I had my admin u/n and pass and forum works fine. Then I find that there is the way to convert phpbb2 to smf and I do that. Conversion pass with no troubles at all. But !!! After converting I was no longer adminn, and I even coluld not login. What now. HELP!
same thing happen to me
but I manage to make myself admin by editing the database
- open phpmyadmin
- browse and search you Username in table smf_members
- edit the value of your username ID_GROUP table column from 0 to 1
I keep receiving the following error message :
The database password you entered was incorrect. Please make sure you are using the right password (for the SMF user!) and try it again. If in doubt, use the password from Settings.php in the SMF installation.
I have attempted to use both the admin password for my C-Panel login, as well as my admin password for SMF.
I have added the SMF user to the PHPbb MySQL database in the control panel. Still receiving the message.
Any help would be greatly appreciated.
Quote from: raibz on May 26, 2007, 11:32:43 PM
I keep receiving the following error message :
The database password you entered was incorrect. Please make sure you are using the right password (for the SMF user!) and try it again. If in doubt, use the password from Settings.php in the SMF installation.
I have attempted to use both the admin password for my C-Panel login, as well as my admin password for SMF.
I have added the SMF user to the PHPbb MySQL database in the control panel. Still receiving the message.
Any help would be greatly appreciated.
Check the password in SMF's Settings.php file.
Sweet! Worked a treat! Thank God no more phpBB!!
Just in case anyone is reading this. Don't go crazy like I did trying to find the attached .sql file on this topic if you haven't logged in... you will go INSAAAANE!!! LOL! :)
I have converted my phpbb to SMF successfully, but is this
"MAJOR SECURITY RISK:
You have not removed convert.php!"
Does it mean I have to remove the convert.php in my FTP?
Quote from: starsapphire04 on June 10, 2007, 10:14:42 AM
I have converted my phpbb to SMF successfully, but is this
"MAJOR SECURITY RISK:
You have not removed convert.php!"
Does it mean I have to remove the convert.php in my FTP?
Yes, you have to remove the "convert.php" file from your SMF forums directory; I think the converter has a check box to do so when it finishes, or you can log on via FTP and delete it from the server.
This is an excellent converter, so kudos to the author. I do have a problem that seems to have been solved for everyone else a while back, regarding attachments.
I'm not getting any of the attachments to appear. I've done the conversion 4 times, and even tried some of the "old code" found here on the third try (old code = bad idea). The attachments are in the SMF "attachments" folder, but they do not appear on any of the posts that I can see.
Twice I got an error message:
Quote
Warning: getimagesize() [function.getimagesize]: Read error! in /home/mysite/public_html/forums/convert.php(671) : eval()'d code on line 75
Is this related to my phpBB doing some resizing depending on the original size?
Any ideas?
Quote from: fshagan on June 11, 2007, 11:24:13 AM
This is an excellent converter, so kudos to the author. I do have a problem that seems to have been solved for everyone else a while back, regarding attachments.
I'm not getting any of the attachments to appear. I've done the conversion 4 times, and even tried some of the "old code" found here on the third try (old code = bad idea). The attachments are in the SMF "attachments" folder, but they do not appear on any of the posts that I can see.
Twice I got an error message:
Quote
Warning: getimagesize() [function.getimagesize]: Read error! in /home/mysite/public_html/forums/convert.php(671) : eval()'d code on line 75
Is this related to my phpBB doing some resizing depending on the original size?
Any ideas?
I found my problem by trying to enter a new message with photo attachment. The converter appears to have copied over all of the attachments, but I had the setting too low in SMF in Admin > Attachments and Avatars > Max Attachment Folder Space. Once I increased that to the 350MB I needed, they all showed up!
Worked like a charm! Not much works for me on the first try, but this was perfect. I am loving SMF! :)
Man I am really struggling with this conversion. I got pretty far, but here is what I'm getting when I try to run the converter:
QuoteUnable to find the settings for phpBB2. Please double check the path and try again.
Before you continue
This converter assumes you have already installed SMF and that your installation is working properly. It copies posts and data from your "source" installation of phpBB2 into SMF, so it won't work without an installation of SMF. All or some of the data in your installation of SMF will be overwritten.
If the two softwares are installed in separate directories, the MySQL account SMF was installed using will need access to the other database. Either way, both must be installed on the same MySQL server.
Where are they?
The converter should only need to know where the two installations are, after which it should be able to handle everything for itself.
I ftp the php database backup into the same folder as the converter, so I really don't know what to do from here. Can anyone help this newbie out...?
I would really appreciate it,
John
I've tried something else...I downloaded a fresh version of phpbb and I copied my backup db into a dummy config.php and put it into the same directory as my smf. The converter did something, but after displaying tons of code on the screen, it came back with the following error:
QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: Incorrect table name 'users'
I have tried just about everything I can possibly think of, and I am running into a wall every step...can anyone help me...?
Thanks,
John
Having a small problem with the process. The directories are correct, but I'm still receiving errors. Any advice would be greatly appreciated :)
(Error)
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: SELECT command denied to user 'noname_smf1'@'localhost' for table 'phpbb_users'
(From convert.php screen)
Path to SMF:/home/domain/public_html/directory/smfforum
Path to phpBB2:/home/domain/public_html/directory/forum
SMF database password:************
You need to allow the mysql user from SMF database to access PHPBB database also...
Quote from: margarett on June 20, 2007, 01:57:53 PM
You need to allow the mysql user from SMF database to access PHPBB database also...
I was just coming in to edit my post :) I found the below in the support section and followed the instructions. I ran the convert and it seems to have worked. Everything is there so far. Thanks though :)
This is a topic for common errors that you might experience while converting to SMF.
Problem: SELECT command denied to user
Info: The cause of this error is that SMF and Software X are in separate databases and the SMF database user does not have access to Software X's database.
Fix: If your host has cPanel you can add the SMF database user to Software X's database. If your host does not have cPanel what you can do is reinstall SMF in the same database as Software X.
Quote from: J B M on June 16, 2007, 02:12:14 PM
I ftp the php database backup into the same folder as the converter, so I really don't know what to do from here. Can anyone help this newbie out...?
I think the converter actually runs the phpBB application; in any case, I think it needs the full install of the phpBB forums to access to do the conversion. I don't think you can point it to a database backup dump on your server and have it work.
I don´t know what am I doing wrong...
but every time this message appears any time I try.... chace the paths, put the DBB in this or that folder...
any way.. nothings runs
QuoteThe converter detected that your host has open_basedir enabled on this server. Please ask your host to disable this setting or try moving the contents of your phpBB2 to the public html folder of your site.
Some one. help me... :(
I tried to dl convert.php but it says its size is 0 kb... not right...
Solved. I was using Firefox with Kerio firewall. Disabled firewall and got the other file. But not convert.php...
Used IE without Kerio did the trick. All fine now
Maybe a silly question but the converter doesn't touch anything in the current phpbb-db as I'm still running live with that ? :)
No, it doesn't. But it is recommended that you put your phpBB in maintenance mode during conversion...
Does it take long ?
It depends... How many posts/users, server resources, etc...
In my case, 100.000 posts took around 30 minutes
Worked like a charm. Everything seems to be working. Not the subforums and stickies/ though, but I can live with that. :)
Great job !
What do i do with the convert.php and the sql file
Quote from: Xplayer180 on July 03, 2007, 11:45:57 AM
What do i do with the convert.php and the sql file
Just upload them under your folder and execute the convert.php (i.e homepage.com/smf/convert.php)
Hi all,
This is my first post on this forum and the first thing I want to do/say is kudos to Jay. I am looking at all these posts and your responses, you're a divine intervention here ;D, I raise my hat to you.
You don't get support like this in many places and even when you do, the smiles doesn't go with it. Keep up the good work my friend, there are people here who apprecilove you tremendously for it.
That said, here's my little dilemma which brings me here.
My hosting company suffered a server loss and the night before it happened I was able to do a backup of my database to a sql file. They were not able to get my forum back up and running due to some database/MySQL issues but what can I say.
Anyway, I didn't want to lose the posts because it is an IT Security board and we have some valuable info in it for the past 2yrs that I needed to keep. So now I found this forum board/tool and I am loving everything I have seen about it so far.
I bought a new hosting package with a new hosting provider and I uploaded the sql file and the converter files after installing SMF and getting the board running.
When I try to do the conversion I get this error;
The converter detected that your host has open_basedir enabled on this server. Please ask your host to disable this setting or try moving the contents of your phpBB2 to the public html folder of your site.
The files are all in the right place and so I don't know what to do now.
Please advise and keep up the good work.
Have a great day, much appreciloved.
The Suite
when is the phpbb3 converter?
hey guys, great job making this converter, i just have one error in the converter, when i click profile to edit a profile we don't get the menu on the left:
http://img483.imageshack.us/img483/5610/lklllllllllllllpx9.png
any ideas?
That is a language issue. You are missing language files or some text inside them.
Try to upload new language files.
i ended up reinstalling and converting the phpbb to smf.
thanks for the help Margarett
Alright, I got the convert.php from http://www.simplemachines.org/download/?converters and I uploaded it and followed the instructions and got this error:
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: SELECT command denied to user 'zel0719911455765'@'linhost270.prod.mesa1.secureserver.net' for table 'phpbb_users'
Anyone know what's going on?
Sounds to me like you did not give database access to the SMF install. Go back and ensure that you have the right permissions for the SMF install.
Quote from: redone on July 25, 2007, 09:52:36 PM
Sounds to me like you did not give database access to the SMF install. Go back and ensure that you have the right permissions for the SMF install.
I have the same problem, where do I check to see the permissions for the smf instal
In CPanel if your host provides it...
Well I installed it automatically via the Hosting Metropolis on GoDaddy, so it has its own MySQL database, and it set all of the permissions automatically. I CHMODed everything that needed to be CHMODed, and it still doesn't work.
Quote from: The King of Hyrule on July 27, 2007, 03:48:16 PM
Well I installed it automatically via the Hosting Metropolis on GoDaddy, so it has its own MySQL database, and it set all of the permissions automatically. I CHMODed everything that needed to be CHMODed, and it still doesn't work.
Ask godaddy how to give 1 mysql user on your account access to 2 databases. They should be able to help with this :)
I have done the conversion but I received this error
Converting...
Recalculating forum statistics... Unsuccessful!
This query:
ALTER TABLE `""""""`.smf_smileys
ORDER BY LENGTH(code) DESC;
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LENGTH(code) DESC' at line 2
Any Suggestions
Now that is strange...
Can you access your new forum after conversion? If so, please go to admin and try to recount forum statistics from "Forum Maintenance".
Did you used the converter from the first post of this topic?
Open convert.php
Find and remove:
convert_query("
ALTER TABLE {$to_prefix}smileys
ORDER BY LENGTH(code) DESC");
i can't get past step 1 with this convertor script; the error message i'm getting is:
QuoteConverting members... Unsuccessful!
This query:
INSERT INTO `smf`.smf_members
(ID_MEMBER, memberName, realName, passwd, lastLogin, dateRegistered, location, posts, ID_GROUP, instantMessages, emailAddress, unreadMessages, MSN, AIM, ICQ, YIM, websiteTitle, websiteUrl, showOnline, timeOffset, hideEmail, avatar, signature, pm_email_notify, is_activated, lngfile, buddy_list, pm_ignore_list, messageLabels, personalText, timeFormat, usertitle, memberIP, secretQuestion, secretAnswer, validation_code, additionalGroups, smileySet, passwordSalt, memberIP2)
VALUES ('885', 'username', 'username_again', 'user's_hashed_password', 'user_last_visit', 'user_reg_date', 'user_from', 'user_posts', '', '0', '[email protected]', '0', '', '', '', '', '', '', '1', '0', '1', '', 'user_sig', '1', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
<snip>several hundred more members' info</snip>
Caused the error:
Incorrect integer value: '' for column 'ID_GROUP' at row 1
the board i'm trying to convert from is phpbb 2.0.22, and has a fair number of mods; any suggestions?
thanks.
Well that shouldn't be happening but it appears some reason that the converter can't find its group thus returning null
Find:
u.user_posts AS posts, IF(u.user_level = 1, 1, mg.ID_GROUP) AS ID_GROUP,
Replace:
u.user_posts AS posts, IF(u.user_level = 1, 1, if(NULL, 0, mg.ID_GROUP)) AS ID_GROUP,
That should fix it hopefully.
thanks, SleePy!
your fix didn't work as posted, but it pointed me in the right direction; since i'm the only admin or moderator on the board i'm trying to convert, i just changed that line to:
u.user_posts AS posts, IF(u.user_level = 1, 1, 0) AS ID_GROUP,
and the rest worked fine until i ran into the same error as mainedan a couple of posts above; i removed the convert_query() call you mentioned, and the rest of it went smooth as silk.
i appreciate the help; my board isn't that big, but with ~700 members and ~90,000 posts, i wouldn't have even tried to convert it manually.
thanks again! :)
Quote from: SleePy on July 31, 2007, 11:56:14 PM
Open convert.php
Find and remove:
convert_query("
ALTER TABLE {$to_prefix}smileys
ORDER BY LENGTH(code) DESC");
That is not a fix. That's there for a reason.
To fix the issue just change
ORDER BY LENGTH(code) DESC to
ORDER BY code DESC
Thanks for the info Jay, I will remember next time to just remove length() from the query.
I'm trying to convert my phpbb 2.0.19 from one site, to SMF which I've just created on another site. What files do I need to move over to the new site? I've uploaded the backup of my old phpbb (phpbb_db_backup.sql) as well as the convert.php and phpbb2_to_smf.sql and I get an error when I run the convert.php saying "Unable to find the settings for phpBB2. Please double check the path and try again."
I then copied all my phpBB files to a phpBB directory on my new domain/server and when I try to run the convert.php I get the following error, "Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: SELECT command denied to user 'qwbjauvy_smf1'@'localhost' for table 'phpbb_users'"
What can I be doing wrong. First time at this, so if someone can give a somewhat detailed explanation, it would be greatly appreciated.
Shawn
Did you import the database backup into the database?
The error you gave you should ask your host. This error comes from the mysql user you are using not having access to the other database.
They can point you in the right direction to get this fixed so your mysql user can access both databases.
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
I think I found a bug in the converter. [size bbcode in the signature isn't properly converted.
This in the converter:
Line 147
$row['signature'] = preg_replace('~\[size=([789]|[012]\d)\]~i', '[size=$1px]', $row['signature']);
if ($row['signature_uid'] != '')
$row['signature'] = preg_replace('~(:u:|:1:|:)' . preg_quote($row['signature_uid'], '~') . '~i', '', $row['signature']);
But it should be:
if ($row['signature_uid'] != '')
$row['signature'] = preg_replace('~(:u:|:1:|:)' . preg_quote($row['signature_uid'], '~') . '~i', '', $row['signature']);
$row['signature'] = preg_replace('~\[size=([789]|[012]\d)\]~i', '[size=$1px]', $row['signature']);
Thanks for letting us know,
I have added it to the bug tracker so it can be fixed when Jay has time to fix the converter.
hi i dont get how i convert it from phpbb to smf can anyone help me ive got converter.php and phpbb2_to_smf but i dont get what im doing any help would be nice LittleDude-
do the smf files and ure phpbb forum afto be in the same folder or install them sperate?
do you put the convert in smf or phpbb setup?
the convert files go in the SMF folder.
The SMF and phpbb files can be in different folders.
no wonder mine didnt work :) lol
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: SELECT command denied to user '*********@smf1'@'localhost' for table 'phpbb_users'
whys it not letting me?
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Quote from: TheCoolGamer on August 09, 2007, 11:21:02 AM
I think I found a bug in the converter. [size bbcode in the signature isn't properly converted.
This in the converter:
Line 147
$row['signature'] = preg_replace('~\[size=([789]|[012]\d)\]~i', '[size=$1px]', $row['signature']);
if ($row['signature_uid'] != '')
$row['signature'] = preg_replace('~(:u:|:1:|:)' . preg_quote($row['signature_uid'], '~') . '~i', '', $row['signature']);
But it should be:
if ($row['signature_uid'] != '')
$row['signature'] = preg_replace('~(:u:|:1:|:)' . preg_quote($row['signature_uid'], '~') . '~i', '', $row['signature']);
$row['signature'] = preg_replace('~\[size=([789]|[012]\d)\]~i', '[size=$1px]', $row['signature']);
Fixed.
I run the converter, and i receive this problem : The error MySQL gave was: SELECT command denied to user 'smf_jos'@'10.1.21.4' for table 'phpbb_users' any ideas?
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
EDIT - sorry - posted this reply in the wrong topic...
here's a recap/update of my situation from the beginning:
1. I had a phpbb 2 forum and wanted more features, so I uploaded smf 1-1-3 to a new folder on my site and it installed fine
2. I then wanted to bring over all of my posts/members etc from the phpbb forum, so I ran the converter tool
3. the converter tool was telling me that the user name for the new smf database did not have access to the database for the phpbb forum
4. I deleted the smf install and redid it in a new folder, but this time having smf 1-1-3 install it's data into the same database as the phpbb forum, which is what was recommended on this site
5. the conversion successfully got as far as converting topics, at which point it failed saying there was a duplicate topicID
6. I used phpMyAdmin and could not find any duplicate topicID, and after doing some manipulation of the data that the converter was telling me was causing the error, I came to the conclusion that I had better start again
7. I noticed that the converter tool I had used was 'smf_1-1-2_phpbb2_converter.zip', but the install of smf I had was 'smf_1-1-3_install.zip', so I decided to do another fresh smf install of smf 1-1-2 and perhaps the converter tool might work
8. I went to my host's database manager and created a blank database
9. I uploaded 1-1-2 to a new folder on my site, and told the smf install to create data in the new database from step 8, and the install went perfectly as usual
10. I ran the converter tool again, and once again was told that the user name for the smf database did not have access to the phpbb forum, so I went to my host's control panel and found that they have it set up so that one cannot simply add a preexisting user to multiple databases, but rather one could click 'create user' and it would generate a random username/password for a new user - so bottom line, there was no way I was going to be able to have the user for the new smf database be able to access the database for the old phpbb forum
11. so I talked with my host company, and at the moment they are, and I believe the terminology is correct (I know nothing of any of this stuff), going to INSERT the entire phpbb database into my new swf database
Once this is done I'm hoping that:
1. when I launch the converter tool I can enter the same database for smf and phpbb and the converter tool won't object
2. when the converter tool runs I won't end up with the same problem as before - the phantom duplicate topicIDs or whatever the problem was that I replied to in someone's earlier reply in this topic
3. be able to upgrade to smf 1-1-3 after the conversion is successfully completed
Use the converter file from this topic. The one on the download page are out of date.
Quote from: JayBachatero on August 22, 2007, 12:52:23 PM
Use the converter file from this topic. The one on the download page are out of date.
I hope there's a good reason why you're doing this.. :o
If the converter on the download page is out of date why don't you remove it or at least link to this topic?
There's no word about this inside the docs (http://docs.simplemachines.org/index.php?topic=15).
I'm really angry about this behaviour and I don't know if I want to switch to SMF anymore :-\
I followed the docs and all I get are some unfriendly words that I haven't read (or at first found) this topic.
Please rethink your concept.
btw: your angry-smiley isn't working >:(
If you notice I was away for a VERY long time and wasn't around as much to update the converters. I'll be updating all the ones that need updating in the coming week :).
@moderators: I'm dyslexic. My search results concerning my scenario are all a jumble to me as most search results are, and I dont wish to offend by repeating a question thats probably already been answered .
Permission to contact someone via PM...? Or can one of you contact me?
Thanks...
no one has answered, so i will just ask here.
I installed my smf via fantastico which set up different pre-fixes, usernames and passwords than my fantastico/phpbb installation.
What can I do in my case interms of the converter? Because I get the permission error where smf cant read the phpbb2 installation as well...
Thanks...
You just need to go to your CPanel/databases, and add the user from SMF database to phpBB database
Quote from: margarett on August 30, 2007, 07:17:03 PM
You just need to go to your CPanel/databases, and add the user from SMF database to phpBB database
Ive seen this statement before, but I need you to explain in more detail as I am a novice. Im looking atthe cpanel and see no "databases" link that brings up a database overview or the equivalent. Please advise...
I figured out THAT issue...now a i have the pm missing field issue.
What version of smf do i need w/ the phpbb converter?
With the converter from this topic, PHPBB 2.0.19 or greater and latest SMF version is fine.
What is the missing field issue?
Hi, we are currently preparing a move from phpbb 2.0.22 to smf 1.1.3.
Everything worked fine but there are topics and posts missing in smf. We could not determine any similarity for the missing posts so far, the only guess we currently have is that there are too many.
There are slightly above 21000 topics in phpBB and smf displays 18077 topics with 97654 posts, since that number in smf is just refined from the converted total sums stored on the board table and not recalculated (i guess), it cant be trusted but it shows a difference also.
The only hint of the missing topics is visible in the board display, there should be 15 topics per page but there are something between 0 and 13 topics per page (page count below is true for the total amount of posts there are just "empty" topic slots all over the place, tried playing with that value also).
We did not look into the converter so far, as we hope that somebody could have an idea what could have happened.
As last ressort we would like to know if somebody has ever attempted to write a script that recalculates the topics and posts from the existing data in the database instead of trusting the coloums in the board and topic tables.
Try doing a stats recount and find and repair errors in Admin > Forum Maintenance.
find and fix errors action spams tons of:
Topic #7271 contains no (actual) messages.
and all related errors like missing subject, wrong last/first post etc
so ... maybe the phpbb_posts_text table has not been converted totally?
We had some php warnings and notices on the conversion complete page about missing indexes, could that have induced a too early "complete" message?
Were you using the converter in the first post?
we used the phpbb2_to_smf.sql and convert.php from your post attachments yes
im tempted to just do it again :)
Try converting again to see if it works. Also copy down any errors that you get.
Ok now i got an error:
Recalculating forum statistics... Unsuccessful!
This query:
ALTER TABLE `smf`.smf_smileys
ORDER BY LENGTH(code) DESC;
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LENGTH(code) DESC' at line 2
Open convert.php and change ORDER BY LENGTH(code) DESC; to ORDER BY code DESC;
would just remove the query ... smiley ordering is not that important ;P
with that change the conversion is complete but with the notices and warnings below (shouldnt be critical eh?).
Looks like that fixed our main problem, if some other things did go wrong ill report that :)
Recalculating forum statistics...
Notice: Undefined variable: result in /var/www/apache2-default/forum/convert.php on line 1845
Notice: Undefined variable: result in /var/www/apache2-default/forum/convert.php on line 1846
Notice: Undefined variable: result in /var/www/apache2-default/forum/convert.php on line 1845
Notice: Undefined variable: result in /var/www/apache2-default/forum/convert.php on line 1846
Notice: Undefined variable: result in /var/www/apache2-default/forum/convert.php on line 1845
Notice: Undefined variable: result in /var/www/apache2-default/forum/convert.php on line 1846
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/apache2-default/forum/convert.php on line 1381
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/apache2-default/forum/convert.php on line 1382
Successful.
Uou can do a recount from the admin panel.
A quick question. I am converting from phpBB 2.0.22.
Everything runs fine, except for one little problem.
Let's say a user: Gern Blanston is quoted in a post. When it's converted over it brings the quotes:
[quote="Gern Blanston"] Quoted Text here ... [/quote]
This is displayed in the converted forum as:
Quote from: Gern
Blanston Quoted Text here ...
When you click "Modify" and "Save" makes the quote appear correctly.
Looking at the base field in SQL it goes from:
[quote="Gern Blanston"]
to
[quote="Gern Blanston"]
When a user is quoted in the private messages area, this converts correctly during conversion. I don't know enough about MySQL to understand why it's not doing it for the posts.
Thanks,
Keeper
EDIT: Ok, revisited the personal messages. They are off and on at best. I think the ones that work are where the user actually typed out the quote string rather than used the quote button.
Anyway, I see a replace '"', '"' in the .sql file. I changed that to '"','"' and it seemed to do the trick. I'm going to add that to the PM side as well and test it out.
Is the forum live or you just converted?
I just converted. I'm playing around with writing some Packages, and each time I reconvert.
Making that change fixed both the posts and the private messages.
If you want to see it, I can redo it from scratch...just let me know.
Try this file.
Same thing. I had already tried something similar to that.
I PMed you the address to an example.
What does it look like after it's converted?
Ok, here's the problem
We have [ and ] in our names. If the name doesn't have the [ ] then it looks fine.
(http://i57.photobucket.com/albums/g229/KeeperPosts/chap.jpg)
If it does then it has the problem I talked about before.
(http://i57.photobucket.com/albums/g229/KeeperPosts/unga.jpg)
A combination of things?
I changed your line to $row['body'] = preg_replace('~\[quote="(.+?)"\]~is', '[quote author="$1"]', $row['body']);
And the " in the Quote from: line go away. Looks just like I want it. Do you agree with this look?
(http://i57.photobucket.com/albums/g229/KeeperPosts/fly.jpg)
It's how SMF does it if I edit that post.
Looks good. Are all of them converted correctly?
Yes, they all look fine. Now I've got to tackle the posted links to other threads :(
I added that same "routine" to the private messages. They too look good now.
How do I find out what the mysql password is? It says to use the one from settings.php, but I used fantastico to install it.
FTP to your site into the SMF dir. There you will see a file called Settings.php. That file has the password.
Hi all,
i have tried to convert my phpBB 2.0.22 to SMF but i have an error.
I have used the last updates convert.php and phpbb2_to_smf.sql from here.
The error is :
QuoteConverting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Unsuccessful!
This query:
INSERT INTO `smf`.smf_members
(ID_MEMBER, memberName, realName, passwd, lastLogin, dateRegistered, location, posts, ID_GROUP, instantMessages, emailAddress, unreadMessages, MSN, AIM, ICQ, YIM, websiteTitle, websiteUrl, showOnline, timeOffset, hideEmail, avatar, signature, pm_email_notify, is_activated, lngfile, buddy_list, pm_ignore_list, messageLabels, personalText, timeFormat, usertitle, memberIP, secretQuestion, secretAnswer, validation_code, additionalGroups, smileySet, passwordSalt, memberIP2)
VALUES (
...
...
Caused the error:
Incorrect integer value: '' for column 'ID_GROUP' at row 1
All the values for ID_Group are empty, what can i do ?
I hope anyone can help me.
Greets
Fox-Alpha
I'm sorry to add on to your problems, i tried to convert to smf from phpBB2 and it gave me an error, keep in mind the directories are correct for both sources, the problem i suspect is that it's connecting to the wrong place to find the sql database, the error given was:
****
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: SELECT command denied to user 'random'@'65.36.215.12' for table 'phpbb_users'
****
however my sql database ip info is 'random'@'67.59.151.175', the converter doesn't give me the option to change the ip, can you assist?
Your user 'random' doesn't have rights to do selects.
Second thing: the IP-address is your $db_server in your Settings.php file. 99% percent of the time you can say $db_server='localhost'
Hi,
I'm totaly newbie. ;-) I have forum on phpbb2. And i want to use SMF, but on another hosting. What are general directions to move all the base from phpbb2 on one hosting to SMF on another?
1 - move phpBB
2 - convert
OR:
1 - backup your phpBB database
2 - upload it to a new database on your new server (use bigdump.php --> search here, lots of explanations)
3 - create a user for that database
4 - create a folder "forum" (or whatever you what to call your forum folder) and put there the file "configure.php" from phpBB configured with DB, DB_USER, DB_PASS.
5 - Upload and install SMF.
6 - Upload and run the converter
7 - delete "configure.php"
That's it ;)
O, really that's simple?
Ok, i'll try and post with results.
I got this exact same error =( If anyone could shed some light on it I'd be really thankful.
cheers,
Brad
Quote from: Fox-Alpha on September 15, 2007, 11:47:37 AM
Hi all,
i have tried to convert my phpBB 2.0.22 to SMF but i have an error.
I have used the last updates convert.php and phpbb2_to_smf.sql from here.
The error is :
QuoteConverting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Unsuccessful!
This query:
INSERT INTO `smf`.smf_members
(ID_MEMBER, memberName, realName, passwd, lastLogin, dateRegistered, location, posts, ID_GROUP, instantMessages, emailAddress, unreadMessages, MSN, AIM, ICQ, YIM, websiteTitle, websiteUrl, showOnline, timeOffset, hideEmail, avatar, signature, pm_email_notify, is_activated, lngfile, buddy_list, pm_ignore_list, messageLabels, personalText, timeFormat, usertitle, memberIP, secretQuestion, secretAnswer, validation_code, additionalGroups, smileySet, passwordSalt, memberIP2)
VALUES (
...
...
Caused the error:
Incorrect integer value: '' for column 'ID_GROUP' at row 1
All the values for ID_Group are empty, what can i do ?
I hope anyone can help me.
Greets
Fox-Alpha
Ugh, I'm dying here. I tried the fixed listed: http://www.simplemachines.org/community/index.php?topic=142124.240
But that line of code doesn't even exist in the converter.php anymore.
Brad
Hmm after searching the forums this seems a common problem that a few people have had. Funny that in each case the request for help has gone unanswered.
Thanks for looking at least. I'll try and find forum software that can convert it elsewhere
Cheers,
Brad
What mods do you have installed for phpBB? Seems like a problem with a different table structure or something. I can take a look into this.
I want to convert my phpbb 2.0.22 (with 2.1.6e installed).....
can this converter do this? many thanks...
^^ sorry..
finally i found this http://www.simplemachines.org/community/index.php?topic=118416.msg1089058#msg1089058
i'll try it first...
:D
Quote from: JayBachatero on September 28, 2007, 11:07:30 PM
What mods do you have installed for phpBB? Seems like a problem with a different table structure or something. I can take a look into this.
Thanks for your reply. I only have 2 mods installed. Easy Mod and the attachment mod. My forums have been down for a week trying to get an import done. Any help will be truly appreciated.
Cheers,
Brad
Quote from: dkillers on September 29, 2007, 05:28:05 PM
^^ sorry..
finally i found this http://www.simplemachines.org/community/index.php?topic=118416.msg1089058#msg1089058
i'll try it first...
:D
Quote my self.. :D
Yess.....
successfully converted...
see my post here...
http://www.simplemachines.org/community/index.php?topic=197760.0
Thx!
Quote from: ecbrad on September 29, 2007, 06:41:49 PM
Quote from: JayBachatero on September 28, 2007, 11:07:30 PM
What mods do you have installed for phpBB? Seems like a problem with a different table structure or something. I can take a look into this.
Thanks for your reply. I only have 2 mods installed. Easy Mod and the attachment mod. My forums have been down for a week trying to get an import done. Any help will be truly appreciated.
Cheers,
Brad
Can I get FTP access sent via PM? I can try and get this converted for you and see what's going on.
Details sent. =)
cheers,
Brad
hello... im a newbie... i have a forum running on phpBB, and im having a hell time installing mods and different stuff... i dont have the knowledge about databases...
is SMF newbie friendly? i mean, even a newbie like can actually run it?
i want to convert my forum to SMF...
JayBachatero i am so desperate because i dont want my members to leave me... can u make some time for me to convert my forum? i am willing to give u my ftp accesss...
i hope u can help me... with the these things...
totoy,
SMF is fairly newbie friendly. It is really simple. take a look at our demo site
http://support.simplemachines.org/demo/index.php
Login is just test for both.
Conversion is simple as well. Just upload the convert.php and sql file to your SMF install (SMF needs to be installed before you can convert) and then run the convert.php from your browser. Give it the proper input information and away it goes converting.
i have successfully converted my phpBB forum with 2001posts and 36 members to SMF...
all went well i guess... except the smileys... my board is kinda messep up because of the smiley not showing up... it only shows the text code that i assign to them...
how can i fixed it? is there a way to transfer my smileys on phpBB to my SMF so that the smileys will shows on my board posts?
pls help me... my board is kinda messed up with this...
Add the directories to the Smileys directory to SMF.
The converter works greatly, but there are two tiny problems:
[quote="[url=http://www.spiegel.de/politik/ausland/0,1518,507650,00.html]Spiegel.de[/url]"][b]Zehntausende trotzen den Drohungen der Junta
Das Regime lässt Militärfahrzeuge auffahren - doch die Demonstranten schreckt das nicht. Zehntausende marschieren in Rangun für Demokratie. Die Sorge wächst, dass die Junta die Proteste blutig niederschlägt.[/b][/quote]
This is the original posting: http://zeitwort.at/viewtopic.php?p=87237
This is the converted posting: http://smf.zeitwort.at/index.php/topic,5429.msg87237.html#msg87237
This is the resulting html-code
<div class="post" id="msg_87237"><div class="quoteheader">Zitat von: "[url=http://www.spiegel.de/politik/ausland/0,1518,507650,00.html</div><div class="quote">Spiegel.de[/url]"]<b>Zehntausende trotzen den Drohungen der Junta<br><br>Das Regime lässt Militärfahrzeuge auffahren - doch die Demonstranten schreckt das nicht. Zehntausende marschieren in Rangun für Demokratie. Die Sorge wächst, dass die Junta die Proteste blutig niederschlägt.</b></div><br>Die Nächstenliebe wird wohl vom Militär zertreten werden. <img src="http://smf.zeitwort.at/Smileys/default/icon_sad.gif" alt="Sad" border="0"></div>
The next problem: is it possible to convert:
[align=center]xxxx[/align] and [align=right]xxxx[/align] and [align=left]xxxx[/align]
to
[center]xxxx[/center] and [right]xxxx[/right] and [left]xxxxx[/left]
...perhaps in postings and signatures?
Umm seems like fixing one bbc issues broke another one.
I have to open and save the converted posting, then the format is repaired. But this ist too painful
After much knashing of teeth and pulling out of hair, Jay suggested I use the backup and restore.php files from these forums.
These worked a treat and I cannot thank him enough.
cheers,
Brad
Quote from: zeitwort on October 15, 2007, 03:36:28 AM
I have to open and save the converted posting, then the format is repaired. But this ist too painful
I'll look into fixing the regex issue. Can you post the original post from phpBB? Not the HTML output but the bbc tags in the post. Want to test the regex stuff a bit.
[quote="[url=http://www.spiegel.de/politik/ausland/0,1518,507650,00.html]Spiegel.de[/url]"][b]Zehntausende trotzen den Drohungen der Junta
Das Regime lässt Militärfahrzeuge auffahren - doch die Demonstranten schreckt das nicht. Zehntausende marschieren in Rangun für Demokratie. Die Sorge wächst, dass die Junta die Proteste blutig niederschlägt.[/b][/quote]
Die Nächstenliebe wird wohl vom Militär zertreten werden. :sad:
Is that from phpbb? The quote looks wrong to me. But maybe phpbb allows linls in quotes.
Yes, this is a quote from phpbb and phpbb allows links in quotes.
I'm just about to try this out on a clients forums.
However, the attachment on page 1 of this thread in the initial post I have downloaded and it states its an .sql file.
Where is the convert.php file available for download?.
I'm probably missing something obvious!!!. Sorry!!!
http://www.simplemachines.org/community/index.php?topic=140741.0
Thanks, I knew I was missing something obvious, my apologies but I'm rather new to this conversion thingmyjig. ;)
Thanks for the link.
One more quick question.
The attachment I downloaded from the first page in this thread, the .sql file was 35kb in size.
The one contained in the phpBB2 zip file from the download is 32kb in size.
Which one should I upload to my server, the 35kb one or the 32kb one?. Or does it not matter which?.
Thanks.
35kb one. The one on this topic is the up to date one.
Thanks for the quick reply, appreciate it greatly.
Just downloaded the phpBB convert script. My first run through I got the error message about the ALTER TABLE statement with "ORDER BY LENGTH(code) DESC" in it that doesn't work. I saw some suggest just changing that to "ORDER BY code DESC", which helped. Should that not have been changed in the main script?
But now I have the problem that the first letter of every signature is cut off. I noticed a message about that from a year ago. Is anyone working on fixing that. I can't have all of my users lose the first letter of their signatures.
I'd be happy to go in and debug this problem if no one else has the time.
Thanks
--Dan
Have you used the files from this thread? It should be solved a long time ago...
so, what's the step by step to converting from phpbb to smf?
1. upload the phpBB2 Converter from the http://www.simplemachines.org/download/?converters
to the root folder
2. upload convert.php to the root folder
3. import phpbb2_to_smf.sql
4. execute convert.php
is this correct? TIA
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Use the phpbb2_to_smf.sql from the first post in this topic.
thanks!!!!! :)
Hello Everyone.
I'm having a little problem converting from phpBB2 to SMF. It tells me that 'This converter was unable to find SMF in the path you specified".
I double checked the path, and also made sure, that it was already installed there.
I have my SMF installation in the root directory www.xxxx.es/"httpdocs"
And I have my phpBB under www.xxxx.es/"httpdocs"/phpBB2
Also, I have my SMF DB, and my phpBB2 DB in the same server, but not together, and under diferent usernames.
I just don't know how to give privileges to the other user name for the other database, if that is causing the problem.
The password that I use, ofc is the one I got for the SMF DB
If you can help me out please. Thanks in advance. Gracias!
Enter the path from the server not a url.
Commonly paths look like
/home/cpanelusername/public_html/
The simplest way to figure this out is upload this php script to your SMF directory and run it from your browser.
<?php
echo dirname(__FILE__);
?>
That should output the path that the converter script is looking for.
Thanks a lot SleePy,
It did work like a charm.
Tho now I'm getting a new error, that I know is related with the DB permissions. Since my knowled of phpmyadmin and sql, is not really extensive, and I've searched on .sql forums with no success, I would like, if its posible, for someone to help me deal with this.
The error is:
QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: SELECT command denied to user 'xxxxxxxx'@'localhost' for table 'phpbb_users'
I understand the meaning of the error, and like I said, on the above post, I have both DB's separated, but on the same server. (I read it had to be done that way in order to conver it). Happen to be that, the phpBB DB and the SMF DB don't have the same user name, nor password. I have tried to add the same username, and password for both DBs, but it said that the username was already being used.
It sounds, like a very simple thing to me, and, even If I tried, I just can't figure out how to do it.
If anyone can help me, or would help me.
Thanks in advance.
Quote from: margarett on October 27, 2007, 08:55:13 AM
Have you used the files from this thread? It should be solved a long time ago...
Thanks. I had been using the one from the main downloads section of the site.
I just downloaded the convert and sql files shown in the first message of this thread. The first letters of the signatures are now there, but I still get this error:
QuoteRecalculating forum statistics... Unsuccessful!
This query:
ALTER TABLE `kvu_members`.smf_smileys
ORDER BY LENGTH(code) DESC;
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LENGTH(code) DESC' at line 1
--Dan
I took out the "LENGTH" function from that SQL statement (why is that there, BTW, if it doesn't work?) and it seemed to work fine.
Now I have a different problem: phpBB uses Latin-1 for all its tables, while SMF uses UTF-8. I prefer UTF-8, which is one of many reasons I'm switching to SMF. But when I run convert.php the Latin-1 messages are not converted to UTF-8. So double curly quotes, for example, now show up as "“" in SMF. Is there way to make convert.php handle the character set conversion?
Thanks
--Dan
I need some advice.
I have a install of phpbb within nuke evo that I have to move to a new host. Since I am moving the site I want to convert to XOOPS and SMF. What is the best way to convert the phpbb to SMF? Do I install the phpbb and restore the database, then install SMF, run the converter and import the converted database? Where does the XOOPS/SMF bridge come into play?
Latest converter.php from this theme and latest corresponding sql-file leaves [align=center][/align]
in messages, I think it doesn't convert this tag.
Also leaves
[/color]
if
[size=18]bla-bla-bla[color=blue]bla-bla[/size][/color]
Sorry if this item was already discussed here.
And why not to put latest versions of converters to the official download section on www.simplemachines.org ?
1. And there were problems with "---* {$to_prefix}messages 200" in latest phpbb2_to_smf.sql, reduced it to 100, I think this setting must be in main interface of the converter or at least in the such error window, where it says that it can't convert some big post(s).
2. Changed code in latest convert.php
=========
ALTER TABLE {$to_prefix}smileys
ORDER BY LENTGH(code) DESC");
=========
to
=========
ALTER TABLE {$to_prefix}smileys
ORDER BY code DESC");
=========
to solve bug with SQL syntax on MySQL 5.0.xxx.
JayBachatero, I hope You still read this topic...
OK. So I downloaded the phpBB converter from the simplemachines website and it converted my phpBB 2.0.22 forum over to SMF 1.1.3. The conversion went without error but it did not have avatars and the first character of the signatures were dropped. So I get on the forums and discover that the website does not contain the latest converters. That doesn't make much sense.
But anyway I download the sql file and the latest php script from the two different threads they're in. (Not sure why it's split up either.)
I do a clean installed of SMF version 1.1.4 and set it up for UTF-8. The empty forum is working just fine so I upload the latest script and sql file and attempt the conversion again.
This time I receive the error:
Parse error: syntax error, unexpected T_VARIABLE in /home/<<myfolder_name>>/public_html/forums/convert.php on line 1
What should I do?
Use the files in this topic.
I did. That's the whole point of my post.
Reupload the convert.php. Seems like it's corrupt. Make sure you set it to overwrite not resume when uploading.
Downloaded the PHP script from this forum and the sql file again. Deleted the other ones on the server, uploaded these new files (ASCII mode) and still received this error when running it:
Parse error: syntax error, unexpected T_VARIABLE in /[path name]/forums/convert.php on line 1
Both my phpBB database and my SMF database are UTF8.
Please advise.
Post the convert.php that you are using here.
Attached.
It's good. Are you on a free host?
No. I'm not on a free host. I'm on lunar pages.
The first script that I downloaded from the simplemachines website worked just fine. It just had the bugs in it like not importing the signatures or avatars correctly.
The only difference that I can think of is the first time it worked my database was not in UTF8 format. The SMF database was actually in latin swedish. After I realized this I reinstalled the forum with UTF8 and also downloaded the latest PHP and SQL from the forum here.
I looked at the convert file and there are no errors there. Get this file. http://www.simplemachines.org/community/index.php?topic=140741.0
That's the file that I was using. But I downloaded it again, replaced it on the web server and still get:
Parse error: syntax error, unexpected T_VARIABLE in /[path name]/forums/convert.php on line 1 when I run it.
Currently the permissions on the file are 644.
Download the file from the server and see if its getting truncated. You get that error right when you open the convert.php or you are able to insert your config info?
I don't think it's getting truncated. But it is getting scrambled. I've uploaded the original file both with an FTP client and via command prompt and pulled it back down. Each time it's lost it's internal formatting. (see attached)
It is giving me the error when I immediately try to run the file. I don't get the dialog prompts.
WTF. It's losing all its formatting causing everything to be in one line. So lines with // s comments, comment the whole script out. Try using another FTP client. Also is this a windows server or linux?
OK. Tried a couple more FTP clients and the script uploaded OK. Cyberduck and Mac terminal FTP were the ones messing it up.
Signatures and avatars converted but smilies came through as :wink:, etc. Any way I can get them back? Do I need to install another set? I have the default SMF 1.1.4 running.
Using the converter files from this topic?
OK. I poked around the admin control panel and found out what was going on with the smileys. The converter worked great. By default however, the smileys are turned off. In order to get all of them to show up correctly I had to select both of these options in the smiley settings panel:
Enable smiley set selection by members
Enable customized smileys
Thanks Jay for all your help. I would suggest posting these php and sql files on the main smf website instead of the outdated ones that are out there now.
Thanks, again.
Yea I've been meaning to update the main files but I havent had the time to go through all of them and update them.
Well, well, well... I got the following message trying to convert from: phpBB 2.0.22 to SMF
Recalculating forum statistics... Unsuccessful!
This query:
ALTER TABLE `reggaemusic_no`.smf_smileys
ORDER BY LENGTH(code) DESC;
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LENGTH(code) DESC' at line 2
Any ideas?
thanks!
EDIT: New forum is working, though. But what are those errors I got actually affecting?
Hello.
I would like start first greeting the whole comunity. And, ask if anyone can help me.
A few posts before, I asked for some help. And, I got the main issue sorted out, but, the second issue still not solved.
My problem is, that my host doesn't aloud to have the same username for the DB's in the same server for security reasons.
So, I can't give access from one DB to the other so it can conver the forums.
I would like to know, and if someone would help me to do it, if there is a way to specify on the converter the logging for the other DB? Seems to me that is the only way posible that it can be done, in order for the converter to work.
Thanks in advance.
Regards, Unjuster.
maxklr
Open the .sql file and find
ALTER TABLE {$to_prefix}smileys
ORDER BY LENGTH(code) DESC;
and change to:
ALTER TABLE {$to_prefix}smileys
ORDER BY code DESC;
This is a mysql bug, we just have to deal with it sadly until they fix it.
Hi Sleepy, I think .sql file I received is not having lines u mentioned.
It's convert.php.
well.. my conversion is running from last few hours and I think not possible to change that now, I miss understood that as .sql file instead of convert.php
I have that there is option to recalculate board stats in admin panel.. so I guess I can do that later.. isnt' ?
PS: Sorry to divert but I am facing a problem in conversion which I have stated here , your some input may be useful.
http://www.simplemachines.org/community/index.php?topic=207760.0
how do i convert?
i just downloaded the files... but i simply don´t know what do...
cause i´m a noob xD
please someone can help me?
download te .sql file from this topic and the convert.php. Then upload them to your SMF dir and point your browser to convert.php.
in first place, thanx.
i did what u said
but this error is occuring
Quote
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: SELECT command denied to user 'wowbra_smf2'@'localhost' for table 'phpbb_users'
My phpbb forum is on: http://wow-bra.com/azerothbr
and my smf is on: http://wow-bra.com/azerothbrasil
what can be going wrong?
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Lunermayer :
To access a database, you need to have administrative rights on it. In order to convert phpBB to SMF, both the database must hv common user which can access both data so that convertor can read from phpBB database and write to SMF database.
So
Create a User who can access both database and use its password while it ask for password.
Greetings people.
Well, please forgive my question, a little different from the main discussion, but i need one answer :)
The situation:
1) I have a PHPBB2 forum in one server.
2) I've downloaded the backup SQL file from PHPBB2.
3) I want all my archives to be in my new SMF forum in other server.
4) As i do not found any "upload arquive" button in SMF forum, can i upload the SQL file in any place through my server installed smf? Where do i have to place this SQL file, if i can do it?
Sorry for the questions, but if anyone can help me, it will be much appreciated ^^
There is no way to upload an archive from within SMF.
To complete the conversion you need a phpbb database setup and working.
Then a conf.php for the conversion script to find and use to convert the Database to SMF
Thanks for these updated covert files!
I was converting from PHPBB 2.0.22 that had some mods (even some that included database changes) and had no real problems.
I did have to CHOMOD my ../Smileys/default directory to 777 to get this to work as I was receiving a lot of 'unable to access' errors. My PHPBB had a bunch of extra smileys in it. Afterward doing this, the convert went without errors, except for a couple of 'unable to copy' because some files such as 'wink.gif' already existed so it wouldn't allow them to be over written.
If these new convert files were on the top level smf phpbb converter download page, I probably wouldn't have even had to come to this board to look for help. So why aren't the fixed files located at http://www.simplemachines.org/download/?converters ??
Thanks again!
Thanks for the new ppbb2_to_smf file, I did the conversion and it worked like a charm. :D
dilsiam
[ERROR]
Which software are you using?
The converter did not find any conversion data files. Please check to see if the one you want is available for download at www.simplemachines.org. If it isn't, we may be able to write one for you - just ask us!
After you download it, simply upload it into the same folder as this convert.php file. If you're having any other problems with this converter, don't hesitate to look for help on our forum.
Help?
Do you have a .sql file? If not get the one from this topic.
I posted my request here because it seems close to other one with same problem. I have a large forum in phpbb 2.0.22 I have finally been able to partially transfer with phpbb 2.0.19 converter a part of my 220 meg of data but none of the topics have been transfered. The message error is this:
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members...
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/152881486346915ab73f82d.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/277534624624fefce0e71.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/894098117466bc5c30c164.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/167087873744edf3abeea88.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/49408317845e57e23949d2.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/106034477544e0538319b90.gif) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/184058254644f5ae78aa2f9.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/15528890494581d55dd8370.gif) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/644319414714b0854bc42.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/594697068474d7e080cb05.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(827) : eval()'d code on line 35
Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Unsuccessful!
This query:
INSERT INTO `dogstory_smf1`.smf_topics
(ID_TOPIC, isSticky, ID_FIRST_MSG, ID_LAST_MSG, ID_MEMBER_STARTED, ID_MEMBER_UPDATED, ID_BOARD, ID_POLL, locked, numReplies, numViews)
VALUES ('577', '0', '5636', '8173', '209', '209', '3', '', '0', '84', '7792'),
('579', '0', '5646', '5879', '39', '5', '2', '', '0', '6', '957'),
('581', '0', '5672', '5680', '199', '4', '6', '', '0', '2', '437'),
('582', '0', '5729', '5912', '210', '40', '25', '', '0', '17', '114'),
('583', '0', '5732', '6045', '210', '12', '3', '', '0', '3', '441'),
('584', '0', '5733', '9895', '210', '239', '15', '', '0', '4', '688'),
('585', '0', '5754', '8228', '4', '-1', '25', '', '0', '14', '89'),
('586', '0', '5769', '6074', '3', '50', '15', '', '0', '9', '711'),
('587', '0', '5778', '6044', '199', '19', '2', '', '0', '6', '488'),
('588', '0', '5807', '7208', '-1', '74', '69', '', '0', '18', '2996'),
('589', '0', '5810', '7695', '74', '5', '15', '', '0', '32', '1581'),
('590', '0', '5825', '7974', '4', '7', '15', '', '0', '66', '7237'),
('591', '0', '5889', '6032', '211', '19', '3', '', '0', '3', '346'),
('592', '1', '5896', '68967', '56', '1786', '10', '', '0', '11', '2453'),
('593', '0', '5900', '5909', '44', '4', '10', '', '0', '2', '294'),
('594', '0', '5901', '6161', '132', '4', '3', '', '0', '6', '574'),
('595', '0', '5917', '6425', '4', '4', '2', '', '0', '14', '961'),
('596', '0', '5938', '5973', '212', '3', '2', '', '0', '5', '511'),
('597', '0', '5955', '6196', '4', '58', '15', '', '0', '12', '626'),
('598', '0', '5958', '6245', '4', '206', '14', '', '0', '6', '1412'),
('599', '0', '5991', '7321', '50', '3', '69', '', '0', '15', '2774'),
('600', '0', '6029', '6107', '97', '5', '15', '', '0', '7', '611'),
('601', '0', '6052', '6514', '213', '25', '2', '', '0', '29', '2421'),
('602', '0', '6056', '6331', '11', '31', '25', '', '0', '16', '102'),
('603', '0', '6061', '6538', '4', '40', '25', '', '0', '25', '229'),
('604', '0', '6076', '6792', '50', '4', '32', '', '0', '19', '1432'),
('606', '0', '6104', '6649', '58', '58', '25', '', '0', '52', '308'),
('607', '0', '6105', '6685', '13', '85', '25', '', '0', '16', '100'),
('609', '0', '6159', '7818', '4', '5', '15', '', '0', '6', '771'),
('610', '0', '6167', '6384', '3', '50', '25', '', '0', '16', '120'),
('612', '0', '6173', '9855', '-1', '203', '28', '', '0', '10', '1049'),
('613', '0', '6183', '12965', '210', '275', '10', '19', '0', '7', '618'),
('615', '0', '6231', '6518', '97', '97', '2', '', '0', '5', '425'),
('616', '0', '6247', '6337', '11', '31', '25', '', '0', '14', '101'),
('617', '0', '6254', '6386', '210', '5', '3', '', '0', '3', '376'),
('618', '0', '6259', '6700', '30', '7', '2', '', '0', '24', '1841'),
('620', '0', '6283', '6719', '30', '4', '25', '', '0', '18', '135'),
('621', '0', '6313', '6452', '203', '85', '25', '', '0', '13', '57'),
('622', '0', '6330', '6828', '4', '97', '19', '', '0', '10', '799'),
('623', '0', '6341', '6851', '4', '85', '2', '', '0', '10', '608'),
('624', '0', '6352', '10314', '4', '4', '25', '', '0', '128', '1047'),
('625', '0', '6372', '10897', '50', '282', '9', '', '0', '12', '3097'),
('626', '0', '6370', '40298', '50', '765', '9', '', '0', '26', '5755'),
('627', '0', '6417', '7110', '70', '70', '15', '', '0', '21', '1362'),
('628', '0', '6428', '6492', '56', '7', '7', '', '0', '3', '1130'),
('629', '0', '6437', '21663', '4', '4', '25', '', '0', '31', '212'),
('630', '0', '6468', '6632', '132', '132', '2', '', '0', '4', '458'),
('631', '0', '6479', '6630', '218', '218', '2', '', '0', '4', '385'),
('632', '0', '6494', '40485', '30', '849', '42', '', '0', '464', '30134'),
('633', '0', '6547', '9939', '30', '4', '25', '', '0', '12', '98'),
('635', '0', '6613', '6748', '4', '11', '25', '', '0', '7', '51'),
('636', '0', '6625', '6968', '219', '185', '2', '', '0', '9', '580'),
('637', '0', '6669', '6821', '199', '199', '2', '', '0', '4', '304'),
('641', '0', '6707', '7856', '4', '40', '10', '', '0', '23', '1357'),
('642', '0', '6733', '6818', '5', '7', '25', '', '0', '8', '43'),
('643', '0', '6744', '6790', '221', '4', '15', '', '0', '4', '320'),
('644', '0', '6803', '26815', '4', '4', '25', '', '0', '56', '256'),
('645', '0', '6815', '18995', '3', '533', '14', '', '0', '25', '5754'),
('647', '0', '6880', '7217', '4', '15', '25', '', '0', '26', '132'),
('648', '0', '6888', '8008', '7', '4', '25', '', '0', '137', '958'),
('649', '0', '6955', '71742', '4', '765', '23', '', '0', '250', '41066'),
('650', '0', '6978', '13536', '225', '225', '13', '', '0', '18', '3507'),
('651', '0', '6994', '7228', '50', '50', '2', '', '0', '7', '654'),
('653', '0', '7024', '11262', '6', '70', '25', '', '0', '13', '108'),
('654', '0', '7028', '7811', '4', '237', '2', '', '0', '18', '1406'),
('655', '0', '7050', '7291', '228', '3', '2', '', '0', '18', '1176'),
('656', '0', '7093', '9203', '11', '259', '3', '', '0', '16', '1023'),
('658', '0', '7176', '10965', '-1', '4', '28', '', '0', '7', '824'),
('659', '0', '7185', '7263', '74', '70', '25', '', '0', '1', '39'),
('660', '0', '7190', '8181', '4', '4', '5', '', '0', '6', '1408'),
('661', '0', '7211', '7354', '225', '13', '2', '', '0', '13', '669'),
('662', '0', '7238', '14405', '50', '-1', '31', '', '0', '28', '6486'),
('663', '0', '7251', '7337', '231', '210', '2', '', '0', '3', '333'),
('664', '0', '7272', '7290', '228', '225', '10', '', '0', '3', '336'),
('665', '0', '7285', '7344', '228', '225', '2', '', '0', '3', '344'),
('666', '0', '7296', '56485', '5', '733', '6', '', '0', '74', '10081'),
('667', '0', '7315', '8574', '3', '-1', '32', '', '0', '6', '700'),
('668', '0', '7324', '10474', '13', '42', '10', '', '0', '3', '411'),
('669', '0', '7328', '7383', '224', '3', '10', '', '0', '3', '357'),
('670', '0', '7331', '9614', '7', '70', '25', '', '0', '19', '132'),
('671', '0', '7353', '7736', '225', '3', '6', '', '0', '6', '736'),
('672', '0', '7360', '8315', '233', '233', '3', '', '0', '5', '626'),
('673', '0', '7406', '8580', '199', '-1', '8', '', '0', '5', '892'),
('674', '0', '7411', '7553', '234', '203', '2', '', '0', '7', '554'),
('675', '0', '7485', '11499', '7', '7', '10', '', '0', '22', '1966'),
('676', '0', '7533', '7942', '206', '55', '3', '', '0', '15', '787'),
('677', '0', '7548', '7841', '39', '40', '2', '', '0', '10', '693'),
('678', '0', '7572', '7714', '4', '30', '25', '', '0', '17', '123'),
('679', '0', '7578', '8083', '56', '52', '3', '', '0', '30', '2966'),
('680', '0', '7580', '8059', '235', '56', '3', '', '0', '2', '243'),
('681', '0', '7595', '7595', '44', '44', '6', '', '0', '0', '416'),
('682', '0', '7599', '7720', '74', '-1', '25', '', '0', '5', '36'),
('683', '0', '7609', '9560', '236', '6', '10', '', '0', '21', '1732'),
('684', '0', '7611', '7699', '74', '74', '25', '', '0', '6', '38'),
('685', '0', '7640', '7886', '110', '201', '63', '', '0', '20', '3585'),
('689', '0', '7724', '7743', '50', '50', '15', '', '0', '3', '322'),
('690', '0', '7763', '7909', '4', '15', '25', '', '0', '8', '52'),
('691', '0', '7777', '9529', '-1', '-1', '25', '', '0', '33', '315'),
('692', '0', '7778', '8542', '228', '39', '3', '', '0', '17', '1294'),
('693', '0', '7809', '16243', '29', '29', '20', '', '0', '15', '2964'),
('694', '0', '7822', '10235', '4', '45', '25', '20', '0', '28', '241'),
('695', '0', '7837', '8234', '4', '5', '25', '', '0', '11', '55'),
('696', '0', '7845', '7913', '5', '203', '2', '', '0', '4', '323'),
('698', '0', '7898', '8219', '4', '179', '3', '', '0', '43', '4666'),
('699', '0', '7910', '8422', '7', '7', '15', '', '0', '21', '1982'),
('700', '0', '7928', '9918', '132', '286', '6', '', '0', '3', '602'),
('701', '0', '7984', '8191', '-1', '15', '25', '', '0', '8', '76'),
('703', '0', '8018', '8037', '240', '4', '6', '', '0', '3', '518'),
('704', '0', '8049', '8066', '211', '4', '3', '', '0', '2', '303'),
('705', '0', '8074', '31005', '11', '4', '32', '', '0', '23', '3102'),
('706', '0', '8080', '8529', '4', '4', '15', '', '0', '12', '1045'),
('707', '0', '8081', '8202', '11', '-1', '25', '', '0', '11', '79'),
('708', '0', '8095', '8418', '43', '43', '2', '', '0', '22', '1703'),
('709', '0', '8102', '15942', '241', '241', '63', '', '0', '27', '5328'),
('710', '0', '8116', '10064', '68', '288', '4', '', '0', '7', '1135'),
('711', '0', '8119', '16347', '-1', '70', '22', '', '0', '36', '8431'),
('712', '0', '8122', '13510', '43', '3', '28', '', '0', '12', '1117'),
('715', '0', '8220', '13216', '155', '4', '19', '', '0', '8', '987'),
('716', '0', '8221', '8221', '5', '5', '15', '', '0', '0', '367'),
('717', '0', '8229', '9026', '-1', '-1', '19', '', '0', '44', '5546'),
('718', '0', '8232', '8406', '43', '15', '25', '', '0', '8', '53'),
('719', '0', '8236', '8450', '58', '58', '6', '', '0', '2', '450'),
('721', '0', '8240', '9024', '244', '244', '3', '', '0', '26', '2315'),
('722', '0', '8263', '8511', '7', '206', '25', '', '0', '13', '88'),
('723', '0', '8265', '15328', '6', '85', '2', '', '0', '16', '1888'),
('724', '0', '8284', '8416', '246', '246', '15', '', '0', '14', '1120'),
('725', '0', '8295', '8611', '46', '179', '15', '', '0', '7', '518'),
('726', '0', '8320', '9119', '233', '210', '3', '', '0', '14', '1089'),
('727', '0', '8328', '8486', '163', '11', '25', '', '0', '5', '39'),
('728', '0', '8332', '8591', '249', '56', '2', '', '0', '7', '653'),
('729', '0', '8335', '8335', '163', '163', '2', '', '0', '0', '267'),
('730', '0', '8339', '10627', '70', '70', '15', '', '0', '42', '2468'),
('731', '0', '8342', '8820', '163', '206', '3', '', '0', '3', '432'),
('732', '0', '8347', '10834', '163', '42', '8', '', '0', '4', '802'),
('733', '0', '8355', '8737', '250', '3', '2', '', '0', '10', '723'),
('734', '0', '8359', '8866', '251', '251', '2', '', '0', '17', '1338'),
('735', '0', '8372', '8447', '252', '252', '25', '', '0', '4', '27'),
('736', '0', '8397', '53694', '31', '85', '25', '', '0', '20', '88'),
('737', '0', '8421', '10305', '13', '50', '25', '', '0', '3', '53'),
('738', '0', '8458', '10065', '50', '288', '4', '', '0', '1', '623'),
('739', '0', '8461', '9038', '7', '54', '25', '', '0', '28', '217'),
('740', '0', '8462', '8607', '252', '179', '6', '', '0', '3', '593'),
('741', '0', '8495', '8546', '58', '-1', '25', '', '0', '5', '57'),
('742', '0', '8512', '8907', '254', '206', '2', '', '0', '7', '508'),
('743', '0', '8519', '8567', '210', '43', '25', '', '0', '2', '32'),
('744', '0', '8537', '10909', '25', '241', '2', '', '0', '72', '8600'),
('745', '0', '8538', '9756', '43', '43', '3', '', '0', '16', '966'),
('746', '0', '8563', '8745', '3', '5', '25', '', '0', '11', '68'),
('747', '0', '8566', '57265', '43', '43', '7', '', '0', '8', '1697'),
('748', '0', '8606', '8606', '255', '255', '3', '', '0', '0', '251'),
('749', '0', '8609', '14713', '2', '-1', '24', '', '0', '22', '4875'),
('750', '0', '8621', '8906', '256', '97', '15', '', '0', '21', '2032'),
('751', '0', '8623', '8818', '171', '206', '2', '', '0', '1', '246'),
('752', '0', '8655', '14663', '7', '7', '6', '', '0', '14', '1521'),
('754', '0', '8686', '9970', '-1', '275', '2', '', '0', '5', '581'),
('755', '0', '8693', '8780', '179', '4', '25', '', '0', '4', '23'),
('757', '0', '8740', '12628', '31', '40', '25', '', '0', '52', '318'),
('758', '0', '8761', '8887', '55', '30', '15', '', '0', '9', '536'),
('759', '0', '8799', '9848', '259', '259', '2', '', '0', '19', '1407'),
('760', '0', '8817', '8971', '7', '256', '15', '', '0', '19', '1417'),
('762', '0', '8847', '8993', '7', '50', '25', '', '0', '15', '82'),
('763', '0', '8854', '9176', '7', '70', '6', '', '0', '3', '776'),
('764', '0', '8891', '9343', '99', '239', '2', '', '0', '26', '2490'),
('765', '0', '8943', '9001', '263', '4', '2', '', '0', '3', '243'),
('766', '0', '8954', '9077', '27', '27', '2', '', '0', '6', '349'),
('767', '0', '8956', '9300', '85', '30', '25', '', '0', '19', '83'),
('768', '0', '8960', '9017', '97', '97', '15', '', '0', '6', '288'),
('769', '0', '8966', '9134', '54', '-1', '25', '', '0', '8', '68'),
('770', '0', '8967', '9008', '55', '55', '15', '', '0', '4', '227'),
('772', '0', '9015', '9195', '4', '-1', '25', '', '0', '22', '92'),
('773', '0', '9021', '9718', '206', '206', '15', '', '0', '29', '2926'),
('774', '0', '9023', '9069', '265', '3', '2', '', '0', '8', '388'),
('775', '0', '9064', '9208', '7', '45', '2', '', '0', '8', '593'),
('776', '0', '9096', '11017', '-1', '311', '15', '', '0', '5', '479'),
('777', '0', '9111', '9646', '4', '50', '19', '', '0', '6', '879'),
('778', '0', '9137', '15012', '2', '288', '4', '', '0', '10', '1422'),
('780', '0', '9140', '9158', '97', '15', '10', '', '0', '3', '371'),
('781', '0', '9163', '9996', '5', '5', '25', '', '0', '5', '59'),
('782', '0', '9168', '9777', '266', '27', '3', '', '0', '15', '2324'),
('783', '0', '9170', '9789', '97', '97', '2', '', '0', '3', '222'),
('784', '0', '9172', '15192', '58', '58', '8', '', '0', '26', '5026'),
('786', '0', '9201', '23219', '-1', '43', '23', '', '0', '9', '2005'),
('787', '0', '9211', '9330', '97', '81', '2', '', '0', '5', '520'),
('788', '0', '9213', '9232', '7', '7', '4', '', '0', '4', '856'),
('789', '0', '9214', '9406', '171', '-1', '25', '', '0', '9', '55'),
('790', '0', '9215', '9623', '148', '74', '15', '', '0', '14', '715'),
('792', '0', '9246', '9505', '-1', '7', '17', '21', '0', '18', '3258'),
('793', '0', '9252', '14618', '5', '-1', '34', '', '0', '74', '12591'),
('794', '0', '9284', '9672', '267', '81', '2', '', '0', '6', '415'),
('795', '0', '9311', '14758', '94', '3', '28', '', '0', '5', '623'),
('796', '0', '9375', '9447', '272', '272', '25', '', '0', '8', '53'),
('798', '0', '9380', '9386', '-1', '4', '6', '', '0', '2', '389'),
('799', '0', '9382', '9435', '4', '4', '2', '', '0', '3', '371'),
('800', '0', '9395', '9466', '55', '40', '32', '', '0', '1', '297'),
('801', '0', '9396', '12135', '55', '7', '25', '', '0', '8', '62'),
('802', '0', '9398', '9465', '11', '206', '25', '', '0', '3', '36'),
('803', '0', '9449', '9472', '272', '259', '2', '', '0', '1', '251'),
('804', '0', '9462', '9626', '182', '182', '3', '', '0', '6', '501'),
('805', '0', '9467', '9520', '-1', '31', '6', '', '0', '2', '497'),
('806', '0', '9468', '9705', '248', '206', '15', '', '0', '4', '431'),
('807', '0', '9473', '10746', '259', '44', '28', '', '0', '32', '3424'),
('808', '0', '9478', '10365', '137', '137', '2', '', '0', '6', '448'),
('809', '0', '9497', '9584', '97', '97', '10', '', '0', '7', '447'),
('810', '0', '9506', '9615', '-1', '70', '25', '', '0', '19', '100'),
('812', '0', '9538', '9618', '-1', '-1', '25', '', '0', '5', '56'),
('813', '0', '9552', '9662', '4', '46', '15', '', '0', '9', '540'),
('814', '0', '9572', '9658', '31', '127', '2', '', '0', '1', '214'),
('815', '0', '9580', '9644', '58', '50', '25', '', '0', '4', '53'),
('816', '0', '9581', '9819', '4', '203', '25', '', '0', '20', '135'),
('817', '0', '9600', '10452', '58', '-1', '14', '', '0', '7', '1537'),
('818', '0', '9666', '9860', '275', '275', '3', '', '0', '4', '819'),
('819', '0', '9667', '11301', '276', '42', '3', '', '0', '21', '2089'),
('820', '0', '9679', '10711', '217', '120', '2', '', '0', '3', '548'),
('821', '0', '9685', '9797', '278', '68', '2', '', '0', '6', '473'),
('822', '0', '9689', '9795', '7', '-1', '25', '', '0', '16', '88'),
('823', '0', '9696', '16065', '7', '7', '6', '', '0', '3', '863'),
('824', '0', '9719', '11169', '4', '50', '10', '', '0', '7', '650'),
('825', '0', '9723', '12240', '6', '6', '2', '', '0', '13', '1050'),
('826', '0', '9733', '10532', '4', '7', '15', '', '0', '4', '388'),
('827', '0', '9734', '14566', '58', '175', '6', '', '0', '6', '929'),
('829', '0', '9738', '10670', '279', '19', '3', '', '0', '6', '555'),
('830', '0', '9740', '9741', '279', '11', '6', '', '0', '1', '361'),
('831', '0', '9754', '9897', '68', '-1', '10', '', '0', '5', '336'),
('832', '0', '9768', '10378', '43', '43', '3', '', '0', '7', '563'),
('833', '0', '9772', '32555', '43', '43', '21', '', '0', '14', '2904'),
('834', '0', '9785', '9785', '14', '14', '4', '', '0', '0', '621'),
('835', '0', '9787', '38350', '259', '842', '42', '', '0', '8', '1189'),
('838', '0', '9811', '9833', '281', '206', '3', '', '0', '4', '592'),
('839', '0', '9813', '9955', '42', '4', '25', '', '0', '6', '55'),
('840', '0', '9814', '50498', '55', '29', '10', '', '0', '13', '1082'),
('841', '0', '9822', '9881', '-1', '282', '10', '', '0', '6', '393'),
('842', '0', '9824', '9997', '26', '3', '2', '', '0', '7', '683'),
('843', '0', '9858', '10043', '284', '284', '2', '', '0', '10', '1462'),
('844', '0', '9867', '75868', '4', '1523', '10', '', '0', '360', '28431'),
('845', '0', '9892', '10649', '-1', '-1', '20', '', '0', '11', '2364'),
('846', '0', '9894', '10215', '285', '40', '15', '', '0', '3', '251'),
('847', '0', '9904', '21301', '-1', '-1', '10', '', '0', '13', '923'),
('848', '0', '9916', '10766', '-1', '40', '2', '', '0', '19', '2239'),
('849', '0', '9924', '15226', '-1', '434', '42', '', '0', '9', '870'),
('854', '0', '9945', '10281', '58', '2', '4', '', '0', '6', '1128'),
('857', '0', '9956', '14439', '50', '-1', '34', '', '0', '7', '1101'),
('858', '0', '9961', '10671', '4', '70', '25', '', '0', '33', '201'),
('859', '0', '9962', '10138', '274', '274', '2', '', '0', '2', '402'),
('860', '0', '9964', '10683', '288', '50', '25', '', '0', '31', '154'),
('861', '0', '9986', '10358', '275', '30', '25', '', '0', '9', '47'),
('862', '0', '10007', '24806', '199', '397', '32', '', '0', '10', '1291'),
('863', '0', '10014', '80323', '5', '55', '8', '', '0', '32', '5582'),
('865', '0', '10036', '10436', '182', '56', '2', '', '0', '24', '2121'),
('866', '0', '10038', '33797', '-1', '571', '8', '', '0', '14', '2424'),
('867', '0', '10042', '10321', '291', '50', '28', '', '0', '5', '528'),
('868', '0', '10042', '10042', '291', '291', '25', '', '0', '0', '2'),
('869', '0', '10089', '10652', '70', '31', '25', '', '0', '18', '89'),
('870', '0', '10098', '10108', '54', '50', '6', '', '0', '1', '362'),
('871', '0', '10114', '10174', '58', '50', '32', '', '0', '1', '350'),
('872', '0', '10115', '10127', '58', '4', '32', '', '0', '1', '287'),
('873', '0', '10117', '10983', '45', '6', '3', '', '0', '11', '831'),
('875', '0', '10148', '11699', '293', '31', '15', '', '0', '7', '440'),
('876', '0', '10149', '10457', '294', '-1', '15', '', '0', '5', '376'),
('877', '0', '10181', '10884', '58', '6', '25', '', '0', '16', '81'),
('878', '0', '10182', '10194', '46', '50', '25', '', '0', '4', '35'),
('879', '0', '10205', '11821', '4', '58', '40', '', '0', '52', '5325'),
('880', '0', '10228', '10377', '-1', '206', '10', '', '0', '8', '699'),
('881', '0', '10231', '10272', '211', '4', '3', '', '0', '5', '561'),
('882', '0', '10244', '10273', '4', '4', '31', '', '0', '6', '1194'),
('883', '0', '10285', '11143', '298', '298', '13', '', '0', '30', '5934'),
('884', '0', '10286', '12500', '-1', '210', '32', '', '0', '12', '1329'),
('885', '0', '10304', '10444', '4', '99', '15', '', '0', '3', '269'),
('886', '0', '10338', '12248', '275', '275', '3', '', '0', '16', '1397'),
('1176', '0', '13696', '14988', '-1', '85', '25', '', '0', '44', '376'),
('1177', '0', '13713', '22913', '236', '236', '2', '', '0', '8', '1786'); an on an on.....
Caused the error:
Duplicate entry '10629-25' for key 3
PLEASE HELP
actual forum is here
http:forum.dogstory.net/forum and new with smf: http://www.dogstory.net/forum2
with the size of this forum PHPBB is now totally instable and am loosing members every day!
Thanks for any help ;D
Dan
Give the converter in this topic a try.
Don't send be back to the converter that's exactly what I'm using! 2.0.19+
Where do you think I get this error message from? Well if this answer is for me...of course
Dan
Yes that message was for you. The first error is because some users have avatars that are missing so you get that error. The second error you shouldn't be getting if you are using the updated .sql file and the updated convert.php file.
Ok Jay thanks
Actually i don't really care for the avatar. User will be asked to update them later in the process.
About the updated converter I'm 98% sure that I'm using the good one . I took it directly from smf converter section 6 days ago.
NOw the tricky part is about the SQL update where can I check that.? I'm using cpanel, PhpmyAdmin 2.11.0 and MySQL 4.1.22 with utf8 setting but have no idea where to find update or make changes if this is not actual. And like most user here, I'm Really not that familiar with all the data base stuff.
The error message talk about double topics. Anyway to get rid of them?
Thanks
Dan ;)
Best bet is to use these two files. ;)
http://www.simplemachines.org/community/index.php?action=dlattach;topic=142124.0;attach=38548
http://www.simplemachines.org/community/index.php?action=dlattach;topic=140741.0;attach=44817
HI Jay thanks again for your help but still not working.
I have uploaded the file you told me about from your last answer convert.php and .sql in the rooth directory of the forum, but still only have partial tranfer of the file with the same message and bug at the exact same line:
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members...
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/152881486346915ab73f82d.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(831) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/277534624624fefce0e71.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(831) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/1314652842470ba51f112f7.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(831) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/6988056624721386582037.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(831) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/122688844947363b3c783b3.gif) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(831) : eval()'d code on line 35
Warning: copy(/home/dogstory/public_html/forum/forum/images/avatars/594697068474d7e080cb05.jpg) [function.copy]: failed to open stream: No such file or directory in /home/dogstory/public_html/forum2/convert.php(831) : eval()'d code on line 35
Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Unsuccessful!
This query:
INSERT INTO `dogstory_smf1`.smf_topics
(ID_TOPIC, isSticky, ID_FIRST_MSG, ID_LAST_MSG, ID_MEMBER_STARTED, ID_MEMBER_UPDATED, ID_BOARD, ID_POLL, locked, numReplies, numViews)
VALUES ('577', '0', '5636', '8173', '209', '209', '3', '', '0', '84', '7814'),
('579', '0', '5646', '5879', '39', '5', '2', '', '0', '6', '957'),
('581', '0', '5672', '5680', '199', '4', '6', '', '0', '2', '438'),
('582', '0', '5729', '5912', '210', '40', '25', '', '0', '17', '114'),
('583', '0', '5732', '6045', '210', '12', '3', '', '0', '3', '441'),
('584', '0', '5733', '9895', '210', '239', '15', '', '0', '4', '688'),
('585', '0', '5754', '8228', '4', '-1', '25', '', '0', '14', '89'),
('586', '0', '5769', '6074', '3', '50', '15', '', '0', '9', '712'),
('587', '0', '5778', '6044', '199', '19', '2', '', '0', '6', '490'),
('588', '0', '5807', '7208', '-1', '74', '69', '', '0', '18', '2999'),
('589', '0', '5810', '7695', '74', '5', '15', '', '0', '32', '1581'),
('590', '0', '5825', '7974', '4', '7', '15', '', '0', '66', '7237'),
('591', '0', '5889', '6032', '211', '19', '3', '', '0', '3', '346'),
('592', '1', '5896', '68967', '56', '1786', '10', '', '0', '11', '2457'),
('593', '0', '5900', '5909', '44', '4', '10', '', '0', '2', '294'),
('594', '0', '5901', '6161', '132', '4', '3', '', '0', '6', '574'),
All the way down to:
('945', '0', '11078', '11441', '322', '322', '2', '', '0', '5', '469'),
A lot in between('1176', '0', '13696', '14988', '-1', '85', '25', '', '0', '44', '376'),
('1177', '0', '13713', '22913', '236', '236', '2', '', '0', '8', '1794');
Caused the error:
Duplicate entry '10629-25' for key 3
So what ever I do I'm still on square one... or two. Got a partial transfer but no messages transfer at all.
I even tried the solution from another post telling to changes permission of setting.php to 777 change my sql id-moved-topics to ''null'' instead of ''no null'' still nothing. Looks like I,m not the only one with that specific problem.
I really don't want to get phpbb3.0 and need to fix that smf asap. Data base is not that big only 75000 messages with 1850 members. Server seams to allow me all the time I need event if data base is 220 meg.
What should be the next step?
BEst Regard
Dan
If you PM me FTP info I can take a look at it for you :).
Done
Information sended
Thanks
Jay
To all of those who will post here. I must say that I had a lot of problem with the transfer of my files. but Jay is a real GENIOUS. HE was able to fix the problem no time. My mistake was simply because I had used the wrong file.
So again thanks JAY THE MAN!!!
Quote
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Unsuccessful!
This query:
INSERT INTO `smf`.smf_members
(ID_MEMBER, memberName, realName, passwd, lastLogin, dateRegistered, location, posts, ID_GROUP, instantMessages, emailAddress, unreadMessages, MSN, AIM, ICQ, YIM, websiteTitle, websiteUrl, showOnline, timeOffset, hideEmail, avatar, signature, pm_email_notify, is_activated, lngfile, buddy_list, pm_ignore_list, messageLabels, personalText, timeFormat, usertitle, memberIP, secretQuestion, secretAnswer, validation_code, additionalGroups, smileySet, passwordSalt, memberIP2)
VALUES ('503', 'FousaSandFase', ................................. and etc.....
Caused the error:
Incorrect integer value: '' for column 'ID_GROUP' at row 1
Im using this sql file(from the topic) and the converter from the topic --> http://www.simplemachines.org/community/index.php?topic=140741.0
I need help fast please im very confused :(
Use the file from THIS topic.
yes i am using the file from this topic and it dose not work...
What version of phpBB are you running?
PHPBB:2.0.22
SMF:1.1.2
Those are the versions of both installed forums.. i have many installations of different versions if its needed...
Ok it should work. You need to upgrade to 1.1.4 BTW. Give the converter a shot again. I remember seeing something similar so I'll look into it more and see what's up. Do a search on this topic.
I found out on another topic why it happens like that:
Quote
EDIT ---
I was able to fix this error and a few other ones that had poped up. It seams that there is a bug in mysql 5.X
and so sence i had access to the my.ini file i changed this line
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
to this line
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
and it fixed all error and inserted every thing just fine.
But i have problem whit smileys now.. i saw an sql script in this topic i will search it again..
I have started a forum based on phpbb3. Now I would like to convert in SMF. Is there a converter in development?
Yes it's still under development.
Use this convert.php with the .sql file attached in this topic.
keeps on pointing me back to the same topic :(
i already downloaded the .sql file, tried using the default convert.php provided in the download converter page provided of the site. but i cannot download or get a copy of that converter that mod has posted.
What do you mean it keeps pointing you back to the same topic?
Quote from: JayBachatero on January 13, 2007, 02:47:08 AM
Software: phpBB
Version: 2.0.19 and up
This is the official support topic for phpBB converter. Use this topic to ask for support for this converter. I merged all the changes that were floating around. Lets use this topic to get a final working version.
Changelog
! Convert smileys. (phpbb2_to_smf.sql)
! When converting attachments cast width and height as a string. (phpbb2_to_smf.sql)
! Merged all the small changes floating around into one file. (phpbb2_to_smf.sql)
! When converting attachments set the width and height for images (phpbb2_to_smf.sql)
! Bug in signature conversion. (phpbb2_to_smf.sql)
convert.php
Use this convert.php (http://www.simplemachines.org/community/index.php?topic=140741.0) with the .sql file attached in this topic.
http://www.simplemachines.org/community/index.php?topic=140741.0 <--
convert.phpare you referring to another version of convert.php or the .sql on this one? coz i was able to download the .sql but when i click on the convert.php i just keeps on jumping back to this thread.
After having loads of problems with the converter failing to convert my phpbb posts (see http://www.simplemachines.org/community/index.php?topic=216789.0 ), I eventually found a new version of the converter sql file and tried that....
It got past the previous problems, but it now generates a new error:
Converting...
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting moderators... Successful.
Converting avatar gallery images...
Fatal error: Call to undefined function: copy_dir() in /home/fhlinux208/p/paddleducks.co.uk/user/htdocs/smf/convert.php(665) : eval()'d code on line 20
Can anypne help with that one please?
Regards
Eddy
Did you try the convert.php here? http://www.simplemachines.org/community/index.php?topic=140741.0
Quote from: JayBachatero on January 15, 2008, 01:36:15 PM
Did you try the convert.php here? http://www.simplemachines.org/community/index.php?topic=140741.0
I've tried every version I could find Jay - I eventually got it to work by removing the stuff for converting the avatar files/directory from the converters sql file - Then it completed without problems. The avatars aren't a big deal for me, as long as I have the userbase and the messages etc transferred across....
Regards
Eddy
Using those two files there shouldn't be a problem with them.
This attachment seems to be not working. Am I the only one having access problems?
Should be good now. We had hardware issues and some attachments were lost.
Thanks! Another attachment not working is the convert.php found at http://www.simplemachines.org/community/index.php?topic=142124.0
Ok updated.
Quote from: Eddy Matthews on January 15, 2008, 04:02:18 AM
Converting avatar gallery images...
Fatal error: Call to undefined function: copy_dir() in /home/fhlinux208/p/paddleducks.co.uk/user/htdocs/smf/convert.php(665) : eval()'d code on line 20
Can anypne help with that one please?
Regards
Eddy
Got a same problem with converter from first post.
Can you help us?
Best regards
Max
Need the latest convert.php as well. That function was moved to the convert.php file.
need phpbb3 converted to SMF
Did you bother to search? ;) Or even look up a bit ;).
[SMF Converter] phpBB3 (http://www.simplemachines.org/community/index.php?topic=218449.0)
Hi, I am trying to convert from Phpbb 2.0.22 to SMf 1.1.4. I got the following errors. Jay, can u guide me what did I do wrong?
Converting...
Notice: Undefined index: convert_script in /home/conrad/public_html/smf/convert.php on line 586
Warning: Invalid argument supplied for foreach() in /home/conrad/public_html/smf/convert.php on line 589
Notice: Undefined index: convert_script in /home/conrad/public_html/smf/convert.php on line 594
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 939
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 949
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 957
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 967
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 980
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 993
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1039
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1041
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1047
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1053
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1064
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1065
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1073
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1075
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1081
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1082
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1088
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1089
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1113
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1115
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1121
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1133
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1158
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1160
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1197
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1198
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1235
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1240
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1301
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1303
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1339
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1358
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1845
Notice: Undefined variable: result in /home/conrad/public_html/smf/convert.php on line 1846
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1381
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/conrad/public_html/smf/convert.php on line 1382
Successful.
Who's your host?
Do they allow you to edit the php.ini file?
Quote from: JayBachatero on March 03, 2008, 03:47:37 AM
Do they allow you to edit the php.ini file?
I believed so.....
I have a similar problem, also with hostgator:
Recalculating forum statistics...
Notice: Undefined variable: result in /home/redaenet/public_html/forum/convert.php on line 1827
Notice: Undefined variable: result in /home/redaenet/public_html/forum/convert.php on line 1828
Notice: Undefined variable: result in /home/redaenet/public_html/forum/convert.php on line 1827
Notice: Undefined variable: result in /home/redaenet/public_html/forum/convert.php on line 1828
Notice: Undefined variable: result in /home/redaenet/public_html/forum/convert.php on line 1827
Notice: Undefined variable: result in /home/redaenet/public_html/forum/convert.php on line 1828
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/redaenet/public_html/forum/convert.php on line 1377
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/redaenet/public_html/forum/convert.php on line 1378
Successful.
Any advice?
You need to edit the php.ini file and set the correct session.save_path. It's towards the end of the file.
where would php.ini be, and what would i need to change? Thanks for your help!
Edit: found it here!
http://www.simplemachines.org/community/index.php?topic=146192.0
I try convert the phpbb2 for smf, but i have this problem:
Unknown column 'variable' in 'field list'
new error:
Converting ranks... Successful.
Converting groups... Successful.
Converting members...
Warning: copy(/home2/ptracker/public_html/backup/phpBB2/images/avatars/65646129747ce669ca9c80.png) [function.copy]: failed to open stream: No such file or directory in /home2/ptracker/public_html/backup/smf_1-1-2_phpbb2_converter/convert.php(827) : eval()'d code on line 35
Warning: copy(/home2/ptracker/public_html/backup/phpBB2/images/avatars/53540521347cf1242ee7c0.gif) [function.copy]: failed to open stream: No such file or directory in /home2/ptracker/public_html/backup/smf_1-1-2_phpbb2_converter/convert.php(827) : eval()'d code on line 35
Warning: copy(/home2/ptracker/public_html/backup/phpBB2/images/avatars/117301126547d1f782a50ec.gif) [function.copy]: failed to open stream: No such file or directory in /home2/ptracker/public_html/backup/smf_1-1-2_phpbb2_converter/convert.php(827) : eval()'d code on line 35
Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting moderators... Successful.
Converting avatar gallery images... Successful.
Converting censored words... Successful.
Converting reserved names... Successful.
Converting banned users... Successful.
Converting settings... Successful.
Converting attachment mod (if installed)... Unsuccessful!
This query:
SELECT config_value
FROM `ptracker_back`.ptracker_back_attachments_config
WHERE config_name = 'upload_dir'
LIMIT 1;
Caused the error:
Table 'ptracker_back.ptracker_back_attachments_config' doesn't exist
Hi, im very new here. I've read through about 1/3 of this topic (quite a few pages of helpful info).
I have had phpBB 2.x.xx installed and running since 2006. Im wanting to convert over to SMF now. I have SMF installed and working in a separate folder from the phpBB installation, but before I go any further I had a few questions so that I know I understand this correctly.
For example, SMF can be in one folder and phpBB can be in a different folder, but both have to use the same host name for the database, correct?
If I am using the same database for both message boards, how do I clear out the old phpBB board from the database once everything is converted to SMF? I ask this because that database with the phpBB on it is a mess from previous mods and a bad install of Coppermine Photo Gallery.
Is there anyway I can run SMF on a new database and still convert the phpBB over?
If any of this doesn't make any sense, it's probably because im pretty lost at this point when it comes to actually messing with the database. Thanks in advance for any help.
REiT - Did you install the attachments mod before?
Quote from: r0ckstarr on April 04, 2008, 02:52:33 AM
For example, SMF can be in one folder and phpBB can be in a different folder, but both have to use the same host name for the database, correct?
Correct. They don't have to be in the same database but the SMF database user MUST have access to the phpBB database. If you can't have 1 user in 2 databases then just install SMF in the same database as phpBB.
Quote
If I am using the same database for both message boards, how do I clear out the old phpBB board from the database once everything is converted to SMF? I ask this because that database with the phpBB on it is a mess from previous mods and a bad install of Coppermine Photo Gallery.
You can just remove the tables with the phpbb_ prefix.
Quote
Is there anyway I can run SMF on a new database and still convert the phpBB over?
As stated above. As long as SMF has access to both databases it should be able to convert.
If you need help converting take a look at.
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Thanks for the help. I got the conversion started and got this error:
Converting topics... Unsuccessful!
This query:
INSERT INTO `r0ckstarr`.smf_topics
(ID_TOPIC, isSticky, ID_FIRST_MSG, ID_LAST_MSG, ID_MEMBER_STARTED, ID_MEMBER_UPDATED, ID_BOARD, ID_POLL, locked, numReplies, numViews)
VALUES ('2108', '0', '48519', '49100', '2', '2', '7', '', '0', '2', '26'),
('2109', '0', '48523', '50365', '2', '2', '7', '', '0', '8', '48'),
('2110', '0', '48525', '48838', '2', '11', '7', '', '0', '1', '18'),
('2111', '0', '48527', '48835', '2', '11', '7', '', '0', '1', '35'),
('2112', '0', '48528', '48834', '2', '11', '7', '', '0', '1', '18'),
('2113', '0', '48531', '48812', '2', '11', '7', '', '0', '4', '16'),
('2114', '0', '48533', '48832', '2', '11', '7', '', '0', '1', '14'),
('2115', '0', '48534', '50358', '2', '11', '7', '', '0', '8', '33'),
('2117', '0', '48579', '49578', '2', '6', '3', '', '0', '10', '73'),
('2118', '0', '48648', '49986', '58', '23', '3', '', '0', '36', '450'),
('2120', '0', '48727', '72743', '53', '7', '2', '', '0', '14', '599'),
('2122', '0', '48797', '49777', '24', '2', '2', '', '0', '8', '299'),
('2123', '0', '48897', '49187', '58', '12', '3', '', '0', '30', '677'),
('2124', '0', '48927', '49150', '26', '11', '3', '', '0', '26', '69'),
('2125', '0', '48951', '49650', '24', '23', '3', '', '0', '10', '102'),
('2126', '0', '48952', '49198', '24', '2', '3', '', '0', '25', '91'),
('2127', '0', '48953', '49134', '2', '2', '3', '', '0', '9', '49'),
('2128', '0', '48972', '51129', '2', '2', '7', '', '0', '5', '143'),
('2129', '0', '48996', '50595', '9', '11', '3', '', '0', '72', '282'),
('2130', '0', '49002', '49246', '17', '17', '14', '', '0', '2', '97'),
('2131', '0', '49018', '51023', '8', '9', '3', '', '0', '40', '166'),
('2132', '0', '49074', '49231', '72', '72', '14', '', '0', '9', '177'),
('2133', '0', '49075', '49320', '17', '2', '10', '', '0', '7', '33'),
('2134', '0', '49098', '115877', '6', '66', '15', '', '0', '14', '262'),
('2135', '0', '49102', '49183', '6', '2', '2', '', '1', '16', '551'),
('2136', '0', '49165', '50868', '11', '2', '3', '', '0', '14', '70'),
('2137', '0', '49166', '52318', '11', '25', '4', '', '0', '19', '139'),
('2138', '0', '49168', '49475', '11', '4', '4', '', '0', '3', '25'),
('2139', '0', '49169', '50319', '11', '11', '4', '', '0', '9', '129'),
('2140', '0', '49170', '49943', '11', '40', '4', '', '0', '7', '51'),
('2141', '0', '49194', '50266', '2', '53', '3', '', '0', '35', '145'),
('2143', '0', '49222', '49632', '29', '23', '3', '', '0', '13', '74'),
('2144', '0', '49234', '51912', '29', '12', '3', '', '0', '57', '188'),
('2145', '0', '49238', '50440', '29', '23', '3', '31', '0', '102', '357'),
it continues on and on for miles and ends with this:
('2638', '0', '60159', '62853', '9', '59', '3', '', '0', '116', '441'),
('2640', '0', '60185', '60361', '26', '24', '3', '', '0', '14', '66'),
('2641', '0', '60314', '60771', '11', '66', '3', '', '0', '24', '97'),
('2642', '0', '60321', '60701', '11', '6', '3', '', '0', '40', '127');
Caused the error:
Duplicate entry '2108' for key 1
I thought maybe it was the Coppermine Photo Gallery causing the error, so I dropped all of it's tables and still get the error. Hitting try again doesnt help.
Again, thanks in advance for helping out. I'm pretty sure this is just something simple.
Edit: Ok, I tried repairing and optimizing and that didnt work either.
What causes the converter to allow you to put ANYTHING in for the two forum paths and SMF password and then immediately says conversion successful? Doesn't matter what I put in those fields, always says it works and nothing ever transfers over.
r0ckstarr - Try the files in the first post.
bigriver - Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
That's the files I used. Just to be sure, I copied them and used them again and got the same error. When it gets to "converting topics" that is where the error comes up.
www.american-muscle.net/smf
That error means there is 2 topics with the same id.
The only way to fix this is to go into your phpbb database. Find the topics that have the id of "2108".
Then decide which one it is you want to remove :|
Using the files suggested should fix that since the errors are ignored. Make sure that you overwrite the files and not resume or anything like that. If you want to make sure delete the files and reupload it again.
I made an almost successful test-conversion, but got the same "sign error", I mean, every signature now have the first character deleted, breaking images and such.
Is there a correction? I'm even willing to try out everything again if it's the case. Thanks!
(I see now the polls also broke, the topics with open polls disappeared)
Umm that first char chopped off issue was fixed a while back. Try the file in this topic.
Thanks for attention ana quick reply, and sorry for not seeing it! I know it's annoying(someone who didn't read everything).
I am surprised how we didn't lost anything but the open polls. Never experienced such a simple conversion.
Quote from: SleePy on April 05, 2008, 02:51:36 PM
That error means there is 2 topics with the same id.
The only way to fix this is to go into your phpbb database. Find the topics that have the id of "2108".
Then decide which one it is you want to remove :|
Quote from: JayBachatero on April 05, 2008, 04:01:11 PM
Using the files suggested should fix that since the errors are ignored. Make sure that you overwrite the files and not resume or anything like that. If you want to make sure delete the files and reupload it again.
Followed the above instructions. There wasn't 2 topics with the same ID. They all went in order. I deleted the only one that it said there was a duplicate of, then tried again. I got this error.
Caused the error:
Duplicate entry '2110' for key 1
Which is the next in line after 2109. If I delete 2110, im betting it will just give me an erorr for 2111.
Open the phpbb2_to_smf.sql file.
---* {$to_prefix}topics
---* {$to_prefix}topics
---{
$ignore = true;
---}
Ok, it started converting and ran for a while then gave this error:
Converting posts (this may take some time)... Unsuccessful!
This query:
INSERT INTO `r0ckstarr`.smf_messages
(ID_MSG, ID_TOPIC, posterTime, ID_MEMBER, posterEmail, subject, posterName, smileysEnabled, modifiedTime, posterIP, body, ID_BOARD, modifiedName, icon)
VALUES ('33895', '1596', '1157709208', '25',
then it had a bunch of jumbled posts and said this at the bottom of the error:
Caused the error:
Duplicate entry '33895' for key 1
You're definitely not using the right file. Both sections have the ignore stuff in. I just double checked. Download this file and make sure that you overwrite it. http://www.simplemachines.org/community/index.php?action=dlattach;topic=142124.0;attach=46653
Wow. I dont know how I screwed that one up. I was sure I grabbed the correct one. Sorry for all of frustration I may have caused. Thanks for the help again. Will update on the progress. Thanks.
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting avatar gallery images...
Fatal error: Call to undefined function: copy_dir() in /home/content/r/0/c/r0ckstarr/html/smf/convert.php(665) : eval()'d code on line 20
Edit: It looks like it had a problem during converting of the avatar galleries images. My phpBB2 didnt have any gallery images. Could this be the reason for the error? I went to the SMF board and it looks like everything converted over and is in place. So, I went to Maintanence and checked it for errors. It found a few errors and fixed them. Everything seems to be working there now.
Will this be ok, or should I do something about the error above? Thanks.
Now I used the right file. =) Well, the first character problem went out and also the install was fully "sucessful" (or so it said).
Now I got some bbcode "broke". I mean, it's not recognizing tags such as [flash] or [align]. Is there a way to fix?
And still with poll issues (maybe I should have played with smf settings before converting? No clue).
It's nothing serious, really. But I'd like to try a fixing. ;)
Anyways, I'm very grateful for the attention I'm receiving here.
r0ckstarr you are still using an outdate convert.php. there is a link to the updated one in the first post of the topic.
tanko - what is the problem with polls that you are having? Also what does the align tag look like in phpBB?. That can be changed and made to work with SMF.
I dont know how. I am positive I grabbed the correct one, even when you recently posted a link to it.
The problem is: topics with open polls won't display at all (nor pool, nor topic, nor thread). Closed polls will display the results correctly.
The tag looks like [align=center]stuff ppl want to align[/align]. The "align" value may be the common ones (left, right, justify).
I don't know of ALL the mods and stuff the phpbb board may have because I'm not the original installer (it was installed by someone and modified a couple of times by another person) and how this may affect the conversion.
I'm also new working with both foruns as administrator but the modular SMF seems a far better option since I'm afraid of hacking phpbb2 all the time and the staff is also interested in an easier management. So, sorry if I'm not being clear about my problems.
Thanks again!
Conversion Complete.
All errors were completely my fault. I'm not used to being on a board with attatchments at the bottom of the posts. My old phpBB2 board didnt have that, so I didnt know to look for the proper converter there. I apologize for any headache I may have caused.
Anyone could teach me how the bbc tag conversion can be done? As I said, I can repeat the procedure as much as needed, since I'm using a cloned db only for tests.
Editing: No clues? Thought it should be simple... :( (I'm probably wrong)
Ok this should take care of the align issue. I need to look into the poll stuff. First time I see this issue.
Much thanks, Jay, I'm sorry for this late reply for such a quick answer and fix. ^^
I'm going to try it asap and give you the proper feedback after testing.
Well, maybe if I close all polls before converting. I'll try that.
Sorry, Jay, the align issue persists. Didn't change anything. Maybe I did something wrong. Will try once more.
Hi Jay and forum,
my first post here, just tried to convert my phpBB to SMF and got that error message (see below). Any help?
Converting avatar gallery images...
Fatal error: Call to undefined function: copy_dir() in /homepages/6/d67037610/htdocs/LAF/convert.php(665) : eval()'d code on line 20
thanks in advance!
Alex
I'm again! Sorry, did use the wrong convert.php. Now converted again and it looks good!
Got only these messages, are they any important?
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/6/d67037610/htdocs/LAF/convert.php on line 780
Notice: Undefined index: charsets in /homepages/6/d67037610/htdocs/LAF/convert.php on line 378
Quote from: tanko on April 16, 2008, 03:34:38 PM
Sorry, Jay, the align issue persists. Didn't change anything. Maybe I did something wrong. Will try once more.
Was the tag converted at all or left the original way?
Quote from: witchheimer on April 17, 2008, 07:33:39 AM
I'm again! Sorry, did use the wrong convert.php. Now converted again and it looks good!
Got only these messages, are they any important?
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/6/d67037610/htdocs/LAF/convert.php on line 780
Notice: Undefined index: charsets in /homepages/6/d67037610/htdocs/LAF/convert.php on line 378
Did the conversion complete though? I need to look into that undefined index error. It shouldn't stop the conversion though.
Quote from: JayBachatero on April 17, 2008, 10:16:58 AMDid the conversion complete though? I need to look into that undefined index error. It shouldn't stop the conversion though.
yes, the conversion is complete, it hasnt been stopped.
btw, just saw, my announcements haven't been converted
Quote from: JayBachatero on April 17, 2008, 10:16:58 AM
Was the tag converted at all or left the original way?
It was left the original way, same way it was before. No errors but no changes.
PS: I also always get the old issue of "phpbb" before rank names. I'm sure I used the right files.
PS2: Is there, by chance, anything I can do to make SMF ranks use Phpbb2 rank images besides manually adding? Just wondering. Nothing big.
Quote from: witchheimer on April 17, 2008, 10:32:07 AM
Quote from: JayBachatero on April 17, 2008, 10:16:58 AMDid the conversion complete though? I need to look into that undefined index error. It shouldn't stop the conversion though.
yes, the conversion is complete, it hasnt been stopped.
btw, just saw, my announcements haven't been converted
Annoucements as in global announcements?
Quote from: tanko on April 17, 2008, 11:03:39 AM
Quote from: JayBachatero on April 17, 2008, 10:16:58 AM
Was the tag converted at all or left the original way?
It was left the original way, same way it was before. No errors but no changes.
PS: I also always get the old issue of "phpbb" before rank names. I'm sure I used the right files.
PS2: Is there, by chance, anything I can do to make SMF ranks use Phpbb2 rank images besides manually adding? Just wondering. Nothing big.
1. Ok I'll look into it and see what's up.
2. You need to remove it from the admin panel. Or edit the .sql file to remove it.
3. Would need to add some support for that in the converter. ATM it's not supported.
OK, I've done everything up to installing smf and uploading the correct files to the correct location. When I go to run the convert.php I need the correct Paths and Password. I don't have the first clue as to where to find the correct path for my current phpbb2 path. Any explicit instructions on how to find this? Also, I notice on the smf path that there is no www does this hold true for my current phpbb2 path?
OK, I've found the correct path to both but now receive this once I run the convert.php
QuoteNotice: Undefined variable: dbname in /home/content/a/n/d/REMOVED/html/cof.142oda.net/smf/convert.php(343) : eval()'d code on line 1
Notice: Undefined variable: table_prefix in /home/content/a/n/d/REMOVED/html/cof.142oda.net/smf/convert.php(343) : eval()'d code on line 1
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: Incorrect database name ''
However, I used the correct database name and password when I installed smf as it is the same database for the Nuke Evolution current site.
What browser where you using?
If you are sure you entered the values then those shouldn't be empty unless your browser isn't sending them correctly to the script
Using Firefox. Also the database name and password had to be right otherwise smf wouldn't have installed right?
and you where using the .sql and convert script attached to the first post in this topic?
Yep, I created a sub domain cof.142oda.net and then installed mkportal and smf. So I go from my root of my web server to the root of sub domain which contains the smf folder and then uploaded these two files phpbb2_to_smf.sql and convert.php there. I ran that by going to http://cof.142oda.net/smf/convert.php and setup one page then it moved on to step one. This is where I hang on the paths or database access.
I'm with GoDaddy and have only the one mysql database which is installed for both the Nuke Evo and the SMF now. I did this since I can't create multiple users for one database and that is the way I've read has to be done in this case.
OK, if I use the path /home/content/a/n/d/REMOVED/html/modules/Forums then I get the above error for the phpbb2 path. If I change the path to /home/content/a/n/d/REMOVED/html/ then I get this error instead
QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
The error MySQL gave was: Table '142ODA.users' doesn't exist
So in conclusion I believe I don't have the correct path to where this converter needs to point. There are dozens of config.php throughout Evo so if anyone can post up the path from the root for a default Evo path that would be awesome.
Where is you phpbb installed? It basically wants the path to that folder.
I haven't the foggiest. I installed Nuke Evo much the same way as MKPortal with SMF. Nuke Evo runs Nuke PHP with Nuke Sentinel I take it and then uses phpbb2 for the forums. MKPortal is my index site for the new one and SMF runs the forum side. Now when I look for where SMF is installed it is easy. However, when I look through the Evo install I see folders which say forums or forum inside almost every folder there including the root. I've tried dozens of the combinations to no avail.
If Nuke Evo is like phpnuke, then I believe its in the modules folder in another folder called phpbb or forum.
Evidently some information that I've read numerous times throughout the posts here were incorrect. Nuke Evo does use phpbb or phpbb2 but all the prefixes are nuke_ therefore the phpbb to smf will not work. A friend of mine actually found an evo to smf converter, I think it may have been on this site but not sure, and it worked pretty darn well. I of course had these similar issues with smilies, attachments, and links pointing from within the old site broken but I expected that and have spent the time to fix it. Also, it doubled all the User Groups but that was simply deleting them. One other strange thing that happened was that it ported over all registered members into the administrator group but again a pretty easy fix as I just had to delete those who weren't admins. All in all I would still give the conversion process an A since it saved the most important part and that was the information and the accounts. Thanks SleePy anyhow for the help and thanks for SMF since I love it already.
This is not working for me I don;t know what to do. someone told me to come the get software to put on my forum to keep porn bots from signing up can anyone help me?
Quote from: JayBachatero on January 13, 2007, 02:47:08 AM
Software: phpBB
Version: 2.0.19 and up
This is the official support topic for phpBB converter. Use this topic to ask for support for this converter. I merged all the changes that were floating around. Lets use this topic to get a final working version.
Changelog
! Convert smileys. (phpbb2_to_smf.sql)
! When converting attachments cast width and height as a string. (phpbb2_to_smf.sql)
! Merged all the small changes floating around into one file. (phpbb2_to_smf.sql)
! When converting attachments set the width and height for images (phpbb2_to_smf.sql)
! Bug in signature conversion. (phpbb2_to_smf.sql)
convert.php
Use this convert.php (http://www.simplemachines.org/community/index.php?topic=140741.0) with the .sql file attached in this topic.
This is a converter for phpBB to SMF.
If your already using SMF, then these converters will not help you much.
Otherwise you will need to detail more what isn't working with the converter.
Please post the sql in text form here, if possible?
Do I need to run the task in my database first?
All I have is convert.php uploaded.
Also- my board is 2.017.
Please advise, it's greatly appreciated.
solved.
Hello all, just looking for a quick bit of help and wondering where the tutorial or reference file is to get the converter all set up properly. I looked at, http://www.lunarforums.com/lunarpages_how_tos/quickly_convert_phpbb_to_smf_after_installing_smf-t25926.0.html
...however the file names were incorrect and couldn't find it, I ended up downloading "smf_1-1-2_phpbb2_converter" Is this correct?
Thanks,
Daniel
I would suggest using the convert.php and .sql file linked to in the first post of this topic as they are updated more often than the downloads page is.
It will work with SMF 1.1.5
I have downloaded: "phpbb2_to_smf.sql." Is there anything else I need to download? If so, where can I find it?
Also, what do I need to do in order to convert the posts? The forum we are using ishttp://fogforums.lumak.net/index.php?sid=ad95ea946331784511b5ca533291b3d1&Itemid=35 (http://fogforums.lumak.net/index.php?sid=ad95ea946331784511b5ca533291b3d1&Itemid=35) but it was a free installable forum and don't have FTP acces to it, our new forum at Fog-gaming.com/forum we do have FTP access. So I need to upload phpbb2_to_smf.sql" to the FoG Gaming hosted forum, then what next?
Thanks!
Daniel
I know this sounds stupid but where can I download "convert.php"
The first post in this topic links to the topic that contains the updated convert.php :)
Quote from: SleePy on May 18, 2008, 09:53:26 PM
The first post in this topic links to the topic that contains the updated convert.php :)
Got that! :P Now I need to change certain variables to point it on which forum to pull it from right? Can someone outline or link me to the directions on how to do this, or if someone is really nice they can do it for me and I'll give them all the passwords and stuff? (If I was older than 14, I would give you some money via PayPal! :P)
The convert.php has input fields for all these variables ;)
You just put in the paths (not urls) to the forums (If you put the convert.php in your SMF folder then thats one you don't need to set :P )
It also needs your SMF mysql password for security reasons.
Quote from: SleePy on May 19, 2008, 10:44:02 PM
The convert.php has input fields for all these variables ;)
You just put in the paths (not urls) to the forums (If you put the convert.php in your SMF folder then thats one you don't need to set :P )
It also needs your SMF mysql password for security reasons.
So if I got a forum using one of those free forums where you just don't fill in anything from like freeforums.org and don't know this information then I'm screwed? My fourms are http://fogforums.lumak.net/
To be able to convert the data from the old forum (this case phpbb) and the SMF forum must be on the same database server.
You can't have it in two different locations.
This is because the converter uses the same connection while converting.
I tried converting from PHPBB2 to SMF, everything seems fine except the attachments are not there. The PHPBB2 is using the attachment mod.
Any way to solve this?
When I launch Convert.php, it doesn't even list the attachment mod:
Convert selected areas ONLY: Ranks...
Groups...
Members...
Additional member groups...
Categories...
Boards...
Topics...
Posts (this may take some time)...
Polls...
Poll options...
Poll votes...
Personal messages (step 1)...
Personal messages (step 2)...
Board access...
Group access...
Avatar gallery images...
It completes sucessfully, but does not convert the attachments.
The forum is here: http://www.thinkfnwiki.com/smf
There's some kind of problem with the .sql file on the first page, the .sql file on the 3rd page recognizes the attachment mod, the one on the first, does not.
There is multiple ones on page 3, can you point out which one you used?
I can try to look at it and see what is difference and fix the bug.
I used the last one with the present convert.php.
But that didn't work either, it just recognized the attachement mod whereas the .sql on the first page didn't.
Now I managed to convert the phpbb2 to smf, using the old convert.php / .sql from the download page, but all the attachments show up as links to files instead of pictures. Any way around that?
I think the .sql on the first page might somehow not be the most recent .sql, the size is much smaller ... unless you somehow optimized it.
[BETA] Fix attachment dimensions and thumbnails. (http://www.simplemachines.org/community/index.php?topic=187532.0)
HI, I have importer my phpbb but I see that the date of the modification made from user about their post don't appear...shock!!! Why? I mean the modification made in the old forum phpbb, but so something don't have sense... :(
what modification date?
When they edited the posts?
Yes, when they edited the posts. :-[
Do you have a snippet from the phpbb database showing this data?
I don't want to go download phpbb and get it installed (my local test site is very messed up right now).
For the most part, is it worth it? This minor detail isn't something I see as very important considering you got your members, boards, and data (ie posts/topics). The others are usually bonuses. :P
Hi, thanks for the reply.
You are right the others are bonuses, but I'd like to see the modification of users... :(
I send you a snippet. ;)
I meant from the database so I can look at things like the column names, and the type of text in these...
Sorry now I have understand.
Is true this? Maybe I don't have understand very well. :)
No.
I looked at the converter and it does have the column for converting the edited colums :|
I don't see where phpbb2 is holding who edited it though as that is not converted..
I send you best photo, maybe you can find what you need to help me. :)
Do you have a database dump you can email me?
It may help me better than my test database. As well if you could point out topics with these modified messages so it would help me during the conversion tests.
i have tested with a new phpbb installation and it did not save any data in the related table fields (post_edit_time). do you have any hacks installed in your phpbb doing this?
ThorstenE,
If you manually edit those values they show up in the post that you edited them. I just can't figure how where its keeping track of the user who edited it last..
SMF wont show a modified string if there is no user attached to it.
Quote from: SleePy on June 26, 2008, 01:50:23 AM
If you manually edit those values they show up in the post that you edited them.
yes, after manual editing the fields phpbb shows:
QuoteLast edited by Test on Sat Oct 21, 2000 12:01 am; edited 1 time in total
The conversion-file takes the data correct to smf_messages, but does not display it because modifiedName column is empty. The primary problem is, that phpbb does not store the user who has modified the message.
IF (p.post_edit_time >0, SUBSTRING(IF(IFNULL(p.post_username, '') = '', u.username, p.post_username), 1, 255), '') AS modifiedName,
should fix it. This is exactly what phpbb does..
allymcbeal, try the attached version..
Edit: Attachment removed, new version is here:
http://www.simplemachines.org/community/index.php?topic=142124.msg1592822#msg1592822
HI, thanks for the reply.
Sleepy I try to make a dump.
ThorstenE sorry, I don't understand well, first I use convert.php and the your new file? Is it right?
Ah no it is sql...so I don't now how to use... :-[
i updated the above file (sorry, my mistake)..
the phpbb2_to_smf.sql is part of the Conversion: Convert.php is the script used in Browser, it calls a myforum_to_smf.sql for conversion (phpbb_to_smf.sql for you). Replace the existing file with the one attached in my post above. this is a fixed version and should show the "edit by" information after conversion.
Ok, I did it, but now he give me this mistake:
Fatal error: Call to undefined function copy_dir() in /var/www/vhost/allymcbeal.it/home/html/smf1/convert.php(665) : eval()'d code on line 20
No, wait now I download again your update file.
Don't work, it give me this error.
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting avatar gallery images...
Fatal error: Call to undefined function copy_dir() in /var/www/vhost/allymcbeal.it/home/html/smf1/convert.php(665) : eval()'d code on line 20
ok, i think you are using the outdated converter-files from the download-page. try the convert.php from this topic: http://www.simplemachines.org/community/index.php?topic=140741.0 (attachment at the end of the message)
Thanks for your help. :)
yes I used the converter-file on the dowload-page.
Now it works, but the modify date threre aren't.
is your phpbb customized and stores edit_dates in other columns than post_edit_time and post_edit_count or in a seperate table? browse table smf_messages with PHPMyAdmin and click on the column modifiedTime (for sorting). is there any data converted?
I have they in php_post (not text)
I show you an image.
Quote from: ThorstenE on June 26, 2008, 11:39:45 AM
browse table smf_messages with PHPMyAdmin and click on the column modifiedTime (for sorting). is there any data converted?
yes there are data converted.
sorry, again my mistake.. try the new version (attached here)
Sorry, it doesn't work. :( ;)
i cant understand what's going wrong.. i tested localy and it works fine now. Do you convert your phpbb again? you should send a Dump of your database to SleePy (http://www.simplemachines.org/community/index.php?topic=142124.msg1592218#msg1592218).
I riconvert all now, and it works.
THANKS thorstenE!!!!
Is there a reason why these udates haven't been published to CVS, so they appear on the download page? It just seems silly for the most recent update (over 5 months old!) not to be available publicly. Anywhere.
Further, are you aware that the downloads here require a forum membership, which means they're nearly impossible to obtain (no mention of a membership requirement to download attachments appears ANYWHERE that I could find).
You're not going to get many large converts if the only publicly visible download breaks every single signature in their forums, especially if it looks like you're not even aware that no other downloads are available!
shawnkhall,
I am working on it. We recently moved to SVN and the script has not been updated that publishes it from the repo to the downloads page. Hopefully they will get updated soon :(
In the meantime, you should at least edit the original post to indicate that the attached file will only be visible if they have an account on the forum. I must have wasted half an hour looking around for a link somewhere - that was obviously placed once I had an account and was logged in.
Done :)
I used the one I had in the 1.1 repo... Which soon as the script is fixed would be the one on the converters downloads page :)
Hi everyone.
I have another question, when I convert my phpbb2 the message that was signs like "announcement" begane like normal topics.
Is possible fix it?
Thanks. :)
SMF doesn't have announcement or global topics by default. But you can sticky them or use a global announcements mod.
Ok, thanks for the reply.
Sorry for another question, if I install mod about global announcement and then I convert, the announcement topic became announcement topic or I have to fix by handle?
You would have to do it by hand.
The conversion doesn't support 3rd party mods.
OK. Thanks. :( ;)
Thankz Jay
will this convert to smf 2?
The 2.0 converters are not yet ready.
You can convert to 1.1 and then do the full upgrade package to 2.0 though :)
allright. is it in the works? i'm thinking it might be worth waiting instead of going through the trouble...
It is in the works, I don't know when I will be releasing them.
Right now I am in the process of making them work with multiple databases. This is a little tricky as some f the queries are very mysql specific ones.
So which is the correct sql file to use? Either of the two in the OP at 21.95 and 21.93KB, or the one tucked away in reply #501 at 22.07KB?
I think I'd be less confused if there was just one file (the latest) in the whole thread, attached to the OP. ;)
The one at the start of the thread should work fine.
The one later on might of been a change to see if something fixed an issue that a user might of had.
I will update the post with the latest phpbb2 converter file I have in the svn repo :)
thank you very much it work perfectly, now im going fot the UTF8 update
tnx cheers
Greetings, maybe help me a little, i instaled SMF 1.1.5 create few users, some topiks and then deside to convert all another topics from old phpBB forum, dovnload script (convert.php) and run it... now i dont have accsse to forum as admin (old one was not me and i dont know his paswords) and old forum was in utf-8 new one cp1251 i see only ???? thats look like as older forum topics but dont redable - how i can fix this? How to take admin back and wthat to do corectly?
you can change the user's group in PHPMyAdmin - SQL-Window:
UPDATE smf_members set ID_GROUP=1 WHERE memberName='User'
replace User to the real user's Name
the collation will be a problem, you should convert again with the same collation of your old phpBB.
Hi, sorry for the question, I think I want much, but I try, maybe someone can help me. :)
For a question of user fake I have installed in my phpbb2 this mod
##############################################################
## MOD Title: Advanced IP Tools Pack
## MOD Author: pentapenguin < pe[email protected] > (n/a) http://www.pentapenguin.com
## MOD Description: This MOD will save users' IP and hostname information on signup. Includes additional IP features and extensions.
## MOD Version: 0.3.2
##
## MOD : www.forum-linux-italia.com
##
## Installation Level: Intermediate
## Installation Time: 30 Minutes
## Files To Edit: 15
## admin/admin_db_utilities.php
## common.php
## search.php
## viewonline.php
## viewtopic.php
## language/lang_english/lang_main.php
## includes/constants.php
## includes/functions.php
## includes/page_header.php
## includes/sessions.php
## includes/usercp_register.php
## includes/usercp_viewprofile.php
## templates/subSilver/profile_view_body.tpl
## templates/subSilver/search_body.tpl
## templates/subSilver/viewonline_body.tpl
##
## Included Files: (n/a)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## Thanks go out to CyberAlien and geocator for their tips.
##
## Support for this MOD may be found at http://www.phpbb.com/phpBB/viewtopic.php?t=234613 or at
## http://www.pentapenguin.com/forum/viewtopic.php?t=138
##
## This MOD is EasyMOD friendly! (http://area51.phpbb.com/phpBB/viewtopic.php?sid=&f=17&t=15391)
##
## Optional step: if you have CyberAlien's eXtreme Styles MOD (http://www.phpbb.com/phpBB/viewtopic.php?t=125251),
## you can copy the file in contrib/admin/advanced_ip_tools_pack.cfg to admin/advanced_ip_tools_pack.cfg and you will
## be automatically notified if there's an update available when you use the "check for updates" function.
##
## Additional style support: I've included instructions on how to MOD other templates.
## Just look in the Styles directory under style_yourstylename.txt for directions.
##############################################################
## MOD History:
## 2005-10-18 Version 0.3.2
## -Security update. Credit for help and discovery goes to AnthraX101
##
## 2005-05-07 Version 0.3.1
## -Full pagination support for the other users registering under this IP, posts, and logins sections
## -Miscellaneus PHP code improvements in includes/usercp_viewprofile.php
## -Added Whois IP address lookup to logins section
## -Added the time of the registration to the other users registering under this IP section
##
## 2005-05-04 Version 0.3.0
## -Added browser recording
## -Added IP and browser information to who's online page
## -Added logins recording
## -Added message if the IP wasn't recorded instead of blank space
## -Added Aphrodite style support
## -Added error message instead of having a blank profile page for wrong user IDs
##
## 2004-12-31 Version 0.2.0
## -Added wildcard searching for IPs
## -Added quick view of IPs
## -Added Profile Control Panel support
## -Added Morpheus eXtreme style to the styles directory
##
## 2004-11-23 Version 0.1.1
## -Updated FIND commands to reflect version 2.0.11 of phpBB.
## -Put MOD in ZIP file along with MOD directions for Cobalt, Morpheus, ff8, and Appalachia
##
## 2004-10-24 - Version 0.1.0
## - First Public Beta
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_users
ADD user_registered_ip VARCHAR(8),
ADD user_registered_hostname VARCHAR(255 );
ALTER TABLE phpbb_sessions
ADD session_user_agent VARCHAR( 255 ) NOT NULL AFTER session_ip;
CREATE TABLE phpbb_logins (
login_id mediumint(8) unsigned NOT NULL auto_increment,
login_userid mediumint(8) NOT NULL default '0',
login_ip varchar(8) NOT NULL default '0',
login_user_agent varchar(255) NOT NULL default 'n/a',
login_time int(11) NOT NULL default '0',
PRIMARY KEY (login_id)
);
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_db_utilities.php
#
#-----[ FIND ]------------------------------------------
#
# Note: actual line is much longer and may slightly vary!
#
$tables = array('auth_access', 'banlist', 'categories',
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$tables[] = 'logins';
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
common.php
#
#-----[ FIND ]------------------------------------------
#
$user_ip = encode_ip($client_ip);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$user_agent = ( !empty($HTTP_SERVER_VARS['HTTP_USER_AGENT']) ? $HTTP_SERVER_VARS['HTTP_USER_AGENT'] : ( !empty($HTTP_ENV_VARS['HTTP_USER_AGENT']) ? $HTTP_ENV_VARS['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT') ) );
$user_agent = addslashes($user_agent);
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
$template->assign_vars(array(
'L_WHOSONLINE' => $lang['Who_is_Online'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
'L_WHOIS' => $lang['Whois'],
'L_IP' => $lang['IP'],
'L_BROWSER' => $lang['Browser'],
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT u.user_id, u.username, u.user_allow_viewonline,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
s.session_ip
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, s.session_user_agent
#
#-----[ FIND ]------------------------------------------
#
$row_color = ( $$which_counter % 2 ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( $$which_counter % 2 ) ? $theme['td_class1'] : $theme['td_class2'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$mode = htmlspecialchars($HTTP_GET_VARS['mode']);
if ( ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD) ) && $mode == 'lookup' && isset($HTTP_GET_VARS['ip']) && (decode_ip($row['session_ip']) == $HTTP_GET_VARS['ip']) )
{
$ip = gethostbyaddr( decode_ip($row['session_ip']) );
}
else
{
$ip = decode_ip($row['session_ip']);
$mode = 'ip';
}
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
$template->assign_block_vars("$which_row", array(
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
'IP' => htmlspecialchars($ip),
'USER_AGENT' => htmlspecialchars($row['session_user_agent']),
'U_HOSTNAME_LOOKUP' => ( $mode != 'lookup' ) ? append_sid("viewonline.$phpEx?mode=lookup&ip=" . decode_ip($row['session_ip']) ) : append_sid("viewonline.$phpEx?mode=ip&ip=" . decode_ip($row['session_ip']) ) ,
'U_WHOIS' => 'http://whois.sc/' . decode_ip($row['session_ip']),
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
'U_FORUM_LOCATION' => append_sid($location_url))
);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD) )
{
$template->assign_block_vars($which_row . '.switch_user_admin_or_mod', array() );
}
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
#
#-----[ REPLACE WITH ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . ' (' . decode_ip($postrow[$i]['poster_ip']) . ')" title="' . $lang['View_IP'] . ' (' . decode_ip($postrow[$i]['poster_ip']) . ')" border="0" /></a>';
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
search.php
#
#-----[ FIND ]------------------------------------------
#
$sort_by_types = array($lang['Sort_Time'], $lang['Sort_Post_Subject'], $lang['Sort_Topic_Title'], $lang['Sort_Author'], $lang['Sort_Forum']);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$search_ip = '';
// For security reasons, we need to make sure the IP lookup is coming from an admin or mod.
if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD) )
{
if ( !empty($HTTP_POST_VARS['search_ip']) || !empty($HTTP_GET_VARS['search_ip']) )
{
$ip_address = ( !empty($HTTP_POST_VARS['search_ip']) ) ? $HTTP_POST_VARS['search_ip'] : $HTTP_GET_VARS['search_ip'];
$ip_address = htmlspecialchars($ip_address);
$ip_address = str_replace("\'", "''", $ip_address);
$ip_pieces = explode('.', $ip_address);
$ip_pieces_count = count($ip_pieces) - 1;
for ($i = 0; $i <= $ip_pieces_count; $i++)
{
$search_ip .= ( $ip_pieces[$i] == '*' ) ? '%' : sprintf('%02x', $ip_pieces[$i]);
}
}
else
{
$search_ip = '';
}
}
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
# Note: full line to find is: else if ( $search_keywords != '' || $search_author != '' || $search_id )
#
$search_keywords != '' || $search_author != '' || $search_id
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$search_id
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
# Important note: there should be a space before the || AND after the != ''
#
|| $search_ip != ''
#
#-----[ FIND ]------------------------------------------
#
#Note: full line to find is: if ( $search_id == 'newposts' || $search_id == 'egosearch' || $search_id == 'unanswered' || $search_keywords != '' || $search_author != '' )
#
$search_id == 'unanswered' || $search_keywords != '' || $search_author != ''
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$search_author != ''
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
# Important note: there should be a space before the || AND after the != ''
#
|| $search_ip != ''
#
#-----[ FIND ]------------------------------------------
#
# Note: full line to find is: if ( $search_id == 'newposts' || $search_id == 'egosearch' || ( $search_author != '' && $search_keywords == '' ) )
#
( $search_author != '' && $search_keywords == '' )
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$search_keywords == '' )
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
# Important note: there should be a space before the || AND after the != ''
#
|| $search_ip != ''
#
#-----[ FIND ]------------------------------------------
#
if ( $search_id == 'newposts' )
{
if ( $userdata['session_logged_in'] )
{
$sql = "SELECT post_id
FROM " . POSTS_TABLE . "
WHERE post_time >= " . $userdata['user_lastvisit'];
}
else
{
redirect(append_sid("login.$phpEx?redirect=search.$phpEx&search_id=newposts", true));
}
$show_results = 'topics';
$sort_by = 0;
$sort_dir = 'DESC';
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
else if ($search_ip != '')
{
$sql = "SELECT post_id FROM " . POSTS_TABLE . " WHERE poster_ip LIKE '$search_ip'";
$show_results = 'posts';
$sort_by = 0;
$sort_dir = 'DESC';
}
//End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
'L_SEARCH_AUTHOR_EXPLAIN' => $lang['Search_author_explain'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
'L_SEARCH_IP' => $lang['Search_ip'],
'L_SEARCH_IP_EXPLAIN' => $lang['Search_ip_explain'],
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
# Note: the complete line to find is: $lang['Viewing_user_profile'] = 'Viewing profile :: %s'; // %s is username
#
$lang['Viewing_user_profile']
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$lang['Moderator_ip_information'] = 'IP address information for moderators only';
$lang['Registered_ip_address'] = 'Registered IP address';
$lang['Registered_hostname'] = 'Registered hostname';
$lang['Other_registered_ips'] = 'Other users registering from %s'; //%s is the IP address
$lang['Other_posted_ips'] = 'IP addresses this user has posted from';
$lang['Search_ip'] = 'Search for posts by IP address';
$lang['Search_ip_explain'] = 'Enter a IP address in the format like <u>127.0.0.1</u> -- you may use * as a wildcard for partial matches like <u>127.*.*.1</u>';
$lang['IP'] = 'IP';
$lang['Whois'] = 'Whois';
$lang['Browser'] = 'Browser';
$lang['No_other_registered_ips'] = 'No other users have registered under this IP address.';
$lang['No_other_posted_ips'] = 'This user has not made any posts.';
$lang['Not_recorded'] = 'Not recorded';
$lang['Logins'] = 'Logins';
$lang['No_logins'] = 'No logins have been recorded for this user.';
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
define('LOGINS_TABLE', $table_prefix . 'logins');
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Tried obtaining data for a non-existent user', '', __LINE__, __FILE__, $sql);
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
if ( $db->sql_affectedrows() == 0 )
{
message_die(GENERAL_ERROR, 'User does not exist.');
}
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
function generate_pagination($base_url, $num_items, $per_page,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$add_prevnext_text = TRUE
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, $start = 'start'
#
#-----[ FIND ]------------------------------------------
#
$page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>';
#
#-----[ IN-LINE FIND ]------------------------------------------
#
start
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$start
#
#-----[ FIND ]------------------------------------------
#
$page_string .= ($i == $on_page) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>';
#
#-----[ IN-LINE FIND ]------------------------------------------
#
start
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$start
#
#-----[ FIND ]------------------------------------------
#
$page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>';
#
#-----[ IN-LINE FIND ]------------------------------------------
#
start
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$start
#
#-----[ FIND ]------------------------------------------
#
$page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>';
#
#-----[ IN-LINE FIND ]------------------------------------------
#
start
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$start
#
#-----[ FIND ]------------------------------------------
#
$page_string = ' <a href="' . append_sid($base_url . "&start=" . ( ( $on_page - 2 ) * $per_page ) ) . '">' . $lang['Previous'] . '</a> ' . $page_string;
#
#-----[ IN-LINE FIND ]------------------------------------------
#
start
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$start
#
#-----[ FIND ]------------------------------------------
#
$page_string .= ' <a href="' . append_sid($base_url . "&start=" . ( $on_page * $per_page ) ) . '">' . $lang['Next'] . '</a>';
#
#-----[ IN-LINE FIND ]------------------------------------------
#
start
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$start
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
if ( !empty($userdata['user_popup_pm']) )
{
$template->assign_block_vars('switch_enable_pm_popup', array());
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD) )
{
$template->assign_block_vars('switch_user_admin_or_mod',array() );
}
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
includes/sessions.php
#
#-----[ FIND ]------------------------------------------
#
global $HTTP_COOKIE_VARS, $HTTP_GET_VARS, $SID;
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
global $user_agent;
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_user_id = $user_id, session_start = $current_time, session_time = $current_time, session_page = $page_id, session_logged_in = $login
#
#-----[ IN-LINE FIND ]------------------------------------------
#
session_logged_in = $login
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, session_user_agent = '$user_agent'
#
#-----[ FIND ]------------------------------------------
#
$sql = "INSERT INTO " . SESSIONS_TABLE . "
(session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in)
VALUES ('$session_id', $user_id, $current_time, $current_time, '$user_ip', $page_id, $login)";
#
#-----[ IN-LINE FIND ]------------------------------------------
#
session_ip,
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
session_user_agent,
#
#-----[ IN-LINE FIND ]------------------------------------------
#
'$user_ip',
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
'$user_agent',
#
#-----[ FIND ]------------------------------------------
#
if ( !$db->sql_query($sql) )
{
message_die(CRITICAL_ERROR, 'Error updating last visit time', '', __LINE__, __FILE__, $sql);
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$sql = "INSERT INTO " . LOGINS_TABLE . "
(login_id, login_userid, login_ip, login_user_agent, login_time)
VALUES (NULL, $user_id, '$user_ip', '$user_agent', $current_time)";
if ( !$db->sql_query($sql) )
{
message_die(CRITICAL_ERROR, 'Error inserting login', '', __LINE__, __FILE__, $sql);
}
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------
#
$user_id = $row['total'] + 1;
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$user_registered_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : getenv('REMOTE_ADDR') );
$user_registered_hostname = ( gethostbyaddr($user_registered_ip) ) ? gethostbyaddr($user_registered_ip) : $user_registered_ip;
$user_registered_hostname = addslashes($user_registered_hostname);
$user_registered_ip = encode_ip($user_registered_ip);
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
INSERT INTO " . USERS_TABLE . " (
#
#-----[ IN-LINE FIND ]------------------------------------------
#
INSERT INTO " . USERS_TABLE . " (
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
user_registered_ip, user_registered_hostname,
#
#-----[ FIND ]------------------------------------------
#
$user_id, '" . str_replace("\'", "''", $username) . "',
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$user_id, '" . str_replace("\'", "''", $username) . "',
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
'" . str_replace("\'", "''", $user_registered_ip) . "', '" . str_replace("\'", "''", $user_registered_hostname) . "',
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
$search = '<a href="' . $temp_url . '">' . $lang['Search_user_posts'] . '</a>';
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
$encoded_ip = ( $profiledata['user_registered_ip'] == '' ) ? '' : $profiledata['user_registered_ip'];
$decoded_ip = ( decode_ip($encoded_ip) == '0.0.0.0' ) ? $lang['Not_recorded'] : decode_ip($encoded_ip);
$hostname = ( $profiledata['user_registered_hostname'] == '' ) ? $lang['Not_recorded'] : htmlspecialchars( $profiledata['user_registered_hostname'] );
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
'U_SEARCH_USER' => append_sid("search.$phpEx?search_author=" . $u_search_author),
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
'L_MODERATOR_IP_INFORMATION' => $lang['Moderator_ip_information'],
'L_REGISTERED_IP_ADDRESS' => $lang['Registered_ip_address'],
'L_REGISTERED_HOSTNAME' => $lang['Registered_hostname'],
'L_OTHER_REGISTERED_IPS' => sprintf($lang['Other_registered_ips'], $decoded_ip),
'L_OTHER_IPS' => $lang['Other_posted_ips'],
'USER_EMAIL_ADDRESS' => $profiledata['user_email'],
'U_USER_IP_ADDRESS' => ( $decoded_ip != $lang['Not_recorded'] ) ? "<a href='http://whois.sc/$decoded_ip' target='_blank'>$decoded_ip</a>" : $lang['Not_recorded'],
'USER_IP_ADDRESS' => $decoded_ip,
'USER_REGISTERED_HOSTNAME' => $hostname,
// End Advanced IP Tools Pack MOD
#
#-----[ FIND ]------------------------------------------
#
$template->pparse('body');
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Start Advanced IP Tools Pack MOD
// Let's see if the user viewing this page is an admin or mod, if not, we can save several database queries! :P
if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD) )
{
// All users registering under this IP address section
if ( $encoded_ip != '' )
{
$sql = 'SELECT COUNT(user_id) AS total_users FROM ' . USERS_TABLE . ' WHERE user_registered_ip = "' . $encoded_ip . '" AND user_id != "' . $profiledata['user_id'] . '"';
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error: could not determine total users registering under this IP.', '', __LINE__, __FILE__, $sql);
}
if ( !$row = $db->sql_fetchrow($result) )
{
message_die(GENERAL_ERROR, 'Error: could not get the total users number.', '', __LINE__, __FILE__, $sql);
}
$total_users = $row['total_users'];
if ( $total_users > 0 )
{
$u_start = ( isset($HTTP_GET_VARS['u_start']) ) ? intval($HTTP_GET_VARS['u_start']) : 0;
$sql = "SELECT user_id, username, user_regdate, user_registered_ip, user_registered_hostname FROM " . USERS_TABLE . " WHERE user_registered_ip = '" . $encoded_ip . "' AND user_id != '" . $profiledata['user_id'] . "' ORDER BY user_regdate DESC LIMIT $u_start, " . $board_config['topics_per_page'];
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error: could not look up other registered IP addresses.', '', __LINE__, __FILE__, $sql);
}
$template->assign_block_vars('switch_user_admin_or_mod.switch_other_user_ips', array() );
while ( $row = $db->sql_fetchrow($result) )
{
$template->assign_block_vars('switch_user_admin_or_mod.switch_other_user_ips.OTHER_REGISTERED_IPS', array(
'USER_NAME' => $row['username'],
'U_PROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row['user_id']),
'USER_HOSTNAME' => htmlspecialchars( $row['user_registered_hostname'] ),
'TIME' => create_date($userdata['user_dateformat'], $row['user_regdate'], $userdata['user_timezone']),
));
}
$base_url = "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $profiledata['user_id'];
$pagination = generate_pagination($base_url, $total_users, $board_config['topics_per_page'], $u_start, TRUE, 'u_start');
$template->assign_vars(array(
'USERS_PAGINATION' => $pagination,
'USERS_PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $u_start / $board_config['topics_per_page'] ) + 1 ), ceil( $total_users / $board_config['topics_per_page'] ) ),
));
}
else
{
$template->assign_vars(array(
'L_NO_OTHER_REGISTERED_IPS' => $lang['No_other_registered_ips'],
));
$template->assign_block_vars('switch_user_admin_or_mod.switch_no_other_registered_ips', array() );
}
}
else
{
$template->assign_vars(array(
'L_NO_OTHER_REGISTERED_IPS' => $lang['No_other_registered_ips'],
));
$template->assign_block_vars('switch_user_admin_or_mod.switch_no_other_registered_ips', array() );
}
// All IP addresses this user has posted from section
$total_ips = 0;
$sql = 'SELECT poster_ip, COUNT(*) AS postings FROM ' . POSTS_TABLE . ' WHERE poster_id = "' . $profiledata['user_id'] . '" GROUP BY poster_ip ORDER BY ' . (( SQL_LAYER == 'msaccess' ) ? 'COUNT(*)' : 'postings' ) . ' DESC';
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error: could not look up all IP addresses this user has posted from.', '', __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$total_ips = $total_ips + 1;
}
if ( $total_ips > 0 )
{
$i_start = ( isset($HTTP_GET_VARS['i_start']) ) ? intval($HTTP_GET_VARS['i_start']) : 0;
$sql = 'SELECT poster_ip, COUNT(*) AS postings FROM ' . POSTS_TABLE . ' WHERE poster_id = "' . $profiledata['user_id'] . '" GROUP BY poster_ip ORDER BY ' . (( SQL_LAYER == 'msaccess' ) ? 'COUNT(*)' : 'postings' ) . " DESC LIMIT $i_start, " . $board_config['topics_per_page'];
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error: could not look up all IP addresses this user has posted from.', '', __LINE__, __FILE__, $sql);
}
$template->assign_block_vars('switch_user_admin_or_mod.switch_other_posted_ips', array() );
while ( $row = $db->sql_fetchrow($result) )
{
$poster_ip = decode_ip($row['poster_ip']);
$template->assign_block_vars('switch_user_admin_or_mod.switch_other_posted_ips.ALL_IPS_POSTED_FROM', array(
'U_POSTER_IP' => "http://whois.sc/$poster_ip",
'POSTER_IP' => $poster_ip,
'POSTS' => $row['postings'] . ' ' . ( ( $row['postings'] == 1 ) ? $lang['Post'] : $lang['Posts'] ),
'U_POSTS_LINK' => append_sid("search.$phpEx?mode=results&search_author=" . urlencode($profiledata['username']) . "&search_ip=$poster_ip"),
));
}
$base_url = "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $profiledata['user_id'];
$pagination = generate_pagination($base_url, $total_ips, $board_config['topics_per_page'], $i_start, TRUE, 'i_start');
$template->assign_vars(array(
'IPS_PAGINATION' => $pagination,
'IPS_PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $i_start / $board_config['topics_per_page'] ) + 1 ), ceil( $total_ips / $board_config['topics_per_page'] ) ),
));
}
else
{
$template->assign_vars(array(
'L_NO_OTHER_POSTED_IPS' => $lang['No_other_posted_ips'],
));
$template->assign_block_vars('switch_user_admin_or_mod.switch_no_other_posted_ips', array() );
}
// All logins section
// Obtain the total logins for this user
$sql = 'SELECT COUNT(login_id) AS total_logins FROM ' . LOGINS_TABLE . ' WHERE login_userid = ' . $profiledata['user_id'];
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error: could not determine total logins.', '', __LINE__, __FILE__, $sql);
}
if ( !$row = $db->sql_fetchrow($result) )
{
message_die(GENERAL_ERROR, 'Error: could not get the logins number.', '', __LINE__, __FILE__, $sql);
}
$total_logins = $row['total_logins'];
if ( $total_logins > 0 )
{
$l_start = ( isset($HTTP_GET_VARS['l_start']) ) ? intval($HTTP_GET_VARS['l_start']) : 0;
// Now get the results in groups based on how many topics per page parameter set in the admin panel
$sql = 'SELECT * FROM ' . LOGINS_TABLE . ' WHERE login_userid = ' . $profiledata['user_id'] . " ORDER BY login_time DESC LIMIT $l_start, " . $board_config['topics_per_page'];
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error: could not retrieve last login.', '', __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$ip = decode_ip($row['login_ip']);
$template->assign_block_vars('switch_user_admin_or_mod.USER_LOGINS', array(
'U_IP' => "http://whois.sc/$ip",
'IP' => $ip,
'USER_AGENT' => htmlspecialchars( $row['login_user_agent'] ),
'LOGIN_TIME' => create_date($userdata['user_dateformat'], $row['login_time'], $userdata['user_timezone']),
));
}
$base_url = "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $profiledata['user_id'];
$pagination = generate_pagination($base_url, $total_logins, $board_config['topics_per_page'], $l_start, TRUE, 'l_start');
$template->assign_vars(array(
'LOGINS_PAGINATION' => $pagination,
'LOGINS_PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $l_start / $board_config['topics_per_page'] ) + 1 ), ceil( $total_logins / $board_config['topics_per_page'] ) ),
));
}
else
{
$template->assign_vars(array(
'L_NO_LOGINS' => $lang['No_logins'],
));
$template->assign_block_vars('switch_user_admin_or_mod.switch_no_logins', array() );
}
$template->assign_vars(array(
'L_USERNAME' => $lang['Username'],
'L_LOGINS' => $lang['Logins'],
'L_IP' => $lang['IP'],
'L_BROWSER' => $lang['Browser'],
'L_TIME' => $lang['Time'],
));
}
// End Advanced IP Tools Pack MOD
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------------
#
//--></script><noscript>{ICQ_IMG}</noscript></td>
</tr>
</table>
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_user_admin_or_mod -->
<tr>
<th class="thHead" colspan="2" align="center">{L_MODERATOR_IP_INFORMATION}:</th>
</tr>
<tr>
<td class="row1" colspan="2"><span class="gen">{L_EMAIL_ADDRESS}: <a href="mailto:{USER_EMAIL_ADDRESS}">{USER_EMAIL_ADDRESS}</a></span></td>
</tr>
<tr>
<td class="row1" colspan="2"><span class="gen">{L_REGISTERED_IP_ADDRESS}: {U_USER_IP_ADDRESS}</span></td>
</tr>
<tr>
<td class="row1" colspan="2"><span class="gen">{L_REGISTERED_HOSTNAME}: {USER_REGISTERED_HOSTNAME}</span></td>
</tr>
<!-- END switch_user_admin_or_mod -->
#
#-----[ FIND ]------------------------------------------
#
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="right"><span class="nav"><br />{JUMPBOX}</span></td>
</tr>
</table>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- BEGIN switch_user_admin_or_mod -->
<br />
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead" colspan="3" align="center">{L_OTHER_REGISTERED_IPS}:</th>
</tr>
<tr>
<td class="cat"><span class="gen"><b>{L_USERNAME}:</b></span></td>
<td class="cat"><span class="gen"><b>{L_REGISTERED_HOSTNAME}:</b></span></td>
<td class="cat"><span class="gen"><b>{L_TIME}:</b></span></td>
</tr>
<!-- BEGIN switch_other_user_ips -->
<!-- BEGIN OTHER_REGISTERED_IPS -->
<tr>
<td class="row1"><span class="gen"><a href="{switch_user_admin_or_mod.switch_other_user_ips.OTHER_REGISTERED_IPS.U_PROFILE}">{switch_user_admin_or_mod.switch_other_user_ips.OTHER_REGISTERED_IPS.USER_NAME}</a></span></td>
<td class="row1"><span class="gen">{switch_user_admin_or_mod.switch_other_user_ips.OTHER_REGISTERED_IPS.USER_HOSTNAME}</span></td>
<td class="row1"><span class="gen">{switch_user_admin_or_mod.switch_other_user_ips.OTHER_REGISTERED_IPS.TIME}</span></td>
</tr>
<!-- END OTHER_REGISTERED_IPS -->
<!-- END switch_other_user_ips -->
<!-- BEGIN switch_no_other_registered_ips -->
<tr>
<td class="row1" colspan="3" valign="middle" align="center"><span class="gen">{L_NO_OTHER_REGISTERED_IPS}</span></td>
</tr>
<!-- END switch_no_other_registered_ips -->
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="left" valign="top"><span class="nav">{USERS_PAGE_NUMBER}</span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{USERS_PAGINATION}</span><br /><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<br />
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead" align="center">{L_OTHER_IPS}:</th>
</tr>
<!-- BEGIN switch_other_posted_ips -->
<!-- BEGIN ALL_IPS_POSTED_FROM -->
<tr>
<td class="row1"><span class="gen"><a href="{switch_user_admin_or_mod.switch_other_posted_ips.ALL_IPS_POSTED_FROM.U_POSTER_IP}" target="_blank">{switch_user_admin_or_mod.switch_other_posted_ips.ALL_IPS_POSTED_FROM.POSTER_IP}</a> [ <a href="{switch_user_admin_or_mod.switch_other_posted_ips.ALL_IPS_POSTED_FROM.U_POSTS_LINK}">{switch_user_admin_or_mod.switch_other_posted_ips.ALL_IPS_POSTED_FROM.POSTS}</a> ] </span></td>
</tr>
<!-- END ALL_IPS_POSTED_FROM -->
<!-- END switch_other_posted_ips -->
<!-- BEGIN switch_no_other_posted_ips -->
<tr>
<td class="row1" valign="middle" align="center"><span class="gen">{L_NO_OTHER_POSTED_IPS}</span></td>
</tr>
<!-- END switch_no_other_posted_ips -->
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="left" valign="top"><span class="nav">{IPS_PAGE_NUMBER}</span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{IPS_PAGINATION}</span></td>
</tr>
</table>
<br />
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead" colspan="3" height="25" nowrap="nowrap">{L_LOGINS}:</th>
</tr>
<tr>
<td class="cat"><span class="gen"><b>{L_IP}:</b></span></td>
<td class="cat"><span class="gen"><b>{L_BROWSER}:</b></span></td>
<td class="cat"><span class="gen"><b>{L_TIME}:</b></span></td>
</tr>
<!-- BEGIN USER_LOGINS -->
<tr>
<td class="row1"><span class="gen"><a href="{switch_user_admin_or_mod.USER_LOGINS.U_IP}" target="_blank">{switch_user_admin_or_mod.USER_LOGINS.IP}</a></span></td>
<td class="row1"><span class="gen">{switch_user_admin_or_mod.USER_LOGINS.USER_AGENT}</span></td>
<td class="row1"><span class="gen">{switch_user_admin_or_mod.USER_LOGINS.LOGIN_TIME}</span></td>
</tr>
<!-- END USER_LOGINS -->
<!-- BEGIN switch_no_logins -->
<tr>
<td class="row1" colspan="3" valign="middle" align="center"><span class="gen">{L_NO_LOGINS}</span></td>
</tr>
<!-- END switch_no_logins -->
<tr>
<td class="catBottom" colspan="3" height="28" valign="middle"> </td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="left" valign="top"><span class="nav">{LOGINS_PAGE_NUMBER}</span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{LOGINS_PAGINATION}</span><br /><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<!-- END switch_user_admin_or_mod -->
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/search_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1" colspan="2"><span class="gen">{L_SEARCH_AUTHOR}:</span><br /><span class="gensmall">{L_SEARCH_AUTHOR_EXPLAIN}</span></td>
<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 300px" class="post" name="search_author" size="30" /></span></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_user_admin_or_mod -->
<tr>
<td class="row1" colspan="2"><span class="gen">{L_SEARCH_IP}:</span><br /><span class="gensmall">{L_SEARCH_IP_EXPLAIN}</span></td>
<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 300px" class="post" name="search_ip" size="30" /></span></td>
</tr>
<!-- END switch_user_admin_or_mod -->
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewonline_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td width="40%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_FORUM_LOCATION}" class="gen">{reg_user_row.FORUM_LOCATION}</a></span> </td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_user_admin_or_mod -->
<tr>
<td width="100%" class="{reg_user_row.ROW_CLASS}" colspan="3"><span class="gensmall">{L_IP}: <a href="{reg_user_row.U_HOSTNAME_LOOKUP}">{reg_user_row.IP}</a> » <a href="{reg_user_row.U_WHOIS}" target="_blank">{L_WHOIS}</a> || {L_BROWSER}: {reg_user_row.USER_AGENT}</span></td>
</tr>
<!-- END switch_user_admin_or_mod -->
#
#-----[ FIND ]------------------------------------------
#
<td width="40%" class="{guest_user_row.ROW_CLASS}"> <span class="gen"><a href="{guest_user_row.U_FORUM_LOCATION}" class="gen">{guest_user_row.FORUM_LOCATION}</a></span> </td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_user_admin_or_mod -->
<tr>
<td width="100%" class="{guest_user_row.ROW_CLASS}" colspan="3"><span class="gensmall">{L_IP}: <a href="{guest_user_row.U_HOSTNAME_LOOKUP}">{guest_user_row.IP}</a> » <a href="{guest_user_row.U_WHOIS}" target="_blank">{L_WHOIS}</a> || {L_BROWSER}: {guest_user_row.USER_AGENT}</span></td>
</tr>
<!-- END switch_user_admin_or_mod -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
This mode add a a table for the ip, is possible import the ip about users? Not all maybe but the ip they used to register himself.
Thanks.
I think I failed to understand the issue?
Are you wanting to import their ip addresses? These are imported as gained from their profile.
No I can't see it in the profile. :(
Does it show under track IP?
Otherwise the only other place the ip is shown is when viewing a topic for those users.
Hi All,
I've browsed this topic to see if there is a solution for my question:
Al converter for migrating from PHPbb2.0.20 to SMF (latest)
There are many conversion scripts and even so many problems and difficulties.
My question is, which script or procedure is the best?
brgds Bossie
Sorry if I insist.
But I need the ip of my members
I think is this the code can help to help me :)
ALTER TABLE phpbb_users ADD user_registered_ip VARCHAR(8),ADD user_registered_hostname VARCHAR(255 );ALTER TABLE phpbb_sessions ADD session_user_agent VARCHAR( 255 ) NOT NULL AFTER session_ip;CREATE TABLE phpbb_logins (login_id mediumint(8) unsigned NOT NULL auto_increment,login_userid mediumint(8) NOT NULL default '0',login_ip varchar(8) NOT NULL default '0',login_user_agent varchar(255) NOT NULL default 'n/a',login_time int(11) NOT NULL default '0',PRIMARY KEY (login_id)
Whit this I can see what ip they use for register.
I need to import it, please...
Bossie, use the phpbb2_to_smf.sql attached in the first post of this topic..
Quote« Last Edit: 20.07.2008 02:35:16 by SleePy »
allymcbeal,
can you convert again or is your SMF allready running (then conversion is not possible without loosing all new data)?
if you can convert again you only need to edit the phpbb2_to_smf.sql
find
'' AS memberIP
replace with
u.user_registered_ip AS memberIP,
find
'' AS memberIP2
replace with
u.user_registered_ip AS memberIP2
Hi ThorstenE, I can because I'm watching to see very well how it works, so I'm doing some test first, so thank you for your help. :)
I did what you say me, I have write only one "," after "u.user_registered_ip AS memberIP," because it give me an error, and I write a "," after "u.user_registered_ip AS memberIP2," like you say me (but first there isn't).
But it gives me alredy an error.
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Unsuccessful!
This query:
SELECT
u.user_id AS ID_MEMBER, SUBSTRING(u.username, 1, 80) AS memberName,
SUBSTRING(u.username, 1, 255) AS realName,
SUBSTRING(u.user_password, 1, 64) AS passwd, u.user_lastvisit AS lastLogin,
u.user_regdate AS dateRegistered,
SUBSTRING(u.user_from, 1, 255) AS location,
u.user_posts AS posts, IF(u.user_level = 1, 1, mg.ID_GROUP) AS ID_GROUP,
u.user_new_privmsg AS instantMessages,
SUBSTRING(u.user_email, 1, 255) AS emailAddress,
u.user_unread_privmsg AS unreadMessages,
SUBSTRING(u.user_msnm, 1, 255) AS MSN,
SUBSTRING(u.user_aim, 1, 16) AS AIM,
SUBSTRING(u.user_icq, 1, 255) AS ICQ,
SUBSTRING(u.user_yim, 1, 32) AS YIM,
SUBSTRING(u.user_website, 1, 255) AS websiteTitle,
SUBSTRING(u.user_website, 1, 255) AS websiteUrl,
u.user_allow_viewonline AS showOnline, u.user_timezone AS timeOffset,
IF(u.user_viewemail = 1, 0, 1) AS hideEmail, u.user_avatar AS avatar,
REPLACE(u.user_sig, '\n', '<br />') AS signature,
u.user_sig_bbcode_uid AS signature_uid, u.user_avatar_type,
u.user_notify_pm AS pm_email_notify, u.user_active AS is_activated,
'' AS lngfile, '' AS buddy_list, '' AS pm_ignore_list, '' AS messageLabels,
'' AS personalText, '' AS timeFormat, '' AS usertitle, u.user_registered_ip AS memberIP,
'' AS secretQuestion, '' AS secretAnswer, '' AS validation_code,
'' AS additionalGroups, '' AS smileySet, '' AS passwordSalt,
u.user_registered_ip AS memberIP2,
FROM `my0360`.phpbb_users AS u
LEFT JOIN `my0360`.phpbb_ranks AS r ON (r.rank_id = u.user_rank AND r.rank_special = 1)
LEFT JOIN `my0360`.smf_membergroups AS mg ON (BINARY mg.groupName = CONCAT('phpBB ', r.rank_title))
WHERE u.user_id != -1
GROUP BY u.user_id
LIMIT 0, 500;
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `my0360`.phpbb_users AS u
LEFT JOIN `my0360`.phpbb_ranks AS r ON (r.rank_' at line 27
ups, sorry..my mistake, copy&paste is sometimes not a good solution ;)
fixed it above.
it must be u.user_registered_ip AS memberIP2 (without the , at the end, because it's the last column converted)
It works!!! THANKs!!!!
But I can see a ip like this "4f0b61d3" if I remember well, in phpmyadmin I see the ip so and then in the forum I see they right.
Is a problem fix it?
untested, but the following should fix it:
find (in phpbb_to_smf.sql)
// Got the board timezone?
add before
if (!empty($row['memberIP'])) {
$ipa= hexdec(substr($row['memberIP'],0,2));
$ipb= hexdec(substr($row['memberIP'],2,2));
$ipc= hexdec(substr($row['memberIP'],4,2));
$ipd= hexdec(substr($row['memberIP'],6,2));
$row['memberIP'] = $ipa.'.'.$ipb.'.'.$ipc.'.'.$ipd;
$row['memberIP2'] = $ipa.'.'.$ipb.'.'.$ipc.'.'.$ipd;
}
Great, it works!!!
I don't know how thank you!!!
You have been very nice to help me. Thanks again!!! :)
Hi, again me.
I have a mod in my forum, it gives me the name of users vote for a poll.
Can you help me to add to my new forum?
I have created this table
ALTER TABLE phpbb_vote_voters ADD vote_cast TINYINT( 4 ) UNSIGNED DEFAULT '0' NOT NULL;
and add this code
-around line 494-
# NOTE: the complete line to find is:
# $sql = "INSERT INTO " . VOTE_USERS_TABLE . " (vote_id, vote_user_id, vote_user_ip)
# VALUES ($vote_id, " . $userdata['user_id'] . ", '$user_ip')";
#
$sql = "INSERT INTO " . VOTE_USERS_TABLE
VALUES
#
#-----[ IN-LINE FIND ]------------------------------------
#
vote_user_ip
#
#-----[ IN-LINE AFTER, ADD ]------------------------------
#
, vote_cast
#
#-----[ IN-LINE FIND ]------------------------------------
#
'$user_ip'
#
#-----[ IN-LINE AFTER, ADD ]------------------------------
#
, $vote_option_id
#
# NOTE: Many users make a mistake when performing the above edit. After the above instructions are performed
# the code should look like this:
#
# $sql = "INSERT INTO " . VOTE_USERS_TABLE . " (vote_id, vote_user_id, vote_user_ip, vote_cast)
# VALUES ($vote_id, " . $userdata['user_id'] . ", '$user_ip', $vote_option_id)";
Can you help me please?
I add also some php file:
copy admin_voting.php to /phpbb_root/admin/admin_voting.php
copy admin_voting_body.tpl to /phpbb_root/templates/subSilver/admin/admin_voting_body.tpl
copy lang_admin_voting.php to /phpbb_root/language/lang_english/lang_admin_voting.php
copy admin_voting_icon.gif to /phpbb_root/templates/subSilver/images/admin_voting_icon.gif
Can you help me please?
what does this phpbb-hack do? is it something like SMF's Karma?
I don't know how is karma, because in my old forum I don't have it.
This hack register the name of user who vote in a poll, not what they have vote, but only the users name.
Is because some user register itself twice only for vote.
maybe it has a similar function like the modification Who voted What? (http://custom.simplemachines.org/mods/index.php?mod=347)?
I think yes, but it is only for 1.1.3. :(
It should still function for 1.1.5 :)
Download & extract it.. then edit package-info.xml
change
<install for="1.1.3">
to
<install for="1.1.5">
and
<uninstall for="1.1.3">
to
<uninstall for="1.1.5">
then repack, upload and install via package-manager ;)
Thanks! It works.
For the old poll is possible recover the name of users?
Thank you.
mhh, don't know if this works but try ;)
change
/******************************************************************************/
--- Converting poll votes...
/******************************************************************************/
---* {$to_prefix}log_polls
SELECT vote_id AS ID_POLL, vote_user_id AS ID_MEMBER
FROM {$from_prefix}vote_voters
WHERE vote_user_id > 0
GROUP BY vote_id, vote_user_id;
---*
to
/******************************************************************************/
--- Converting poll votes...
/******************************************************************************/
---* {$to_prefix}log_polls
SELECT vote_id AS ID_POLL, vote_user_id AS ID_MEMBER , vote_cast AS ID_CHOICE
FROM {$from_prefix}vote_voters
WHERE vote_user_id > 0
GROUP BY vote_id, vote_user_id;
---*
Sorry, I searched but I can't found this code? :(
are you using the phpbb2_to_smf.sql from this topic? a block like this should be in there.. (search for "votes")
but you also can edit your phpbb2_to_smf.sql and put it at the end of that file..
/******************************************************************************/
--- Converting poll votes...
/******************************************************************************/
---* {$to_prefix}log_polls
SELECT vote_id AS ID_POLL, vote_user_id AS ID_MEMBER , vote_cast AS ID_CHOICE
FROM {$from_prefix}vote_voters
WHERE vote_user_id > 0
GROUP BY vote_id, vote_user_id;
---*
Sorry, now I have understand. :) I try...
I have this error:
Parse error: syntax error, unexpected '}' in /var/www/vhost/allymcbeal.it/home/html/forums/convert.php on line 5245
What program did you use to edit the file?
Don't use MS Word.
I would suggest something such as notepad++ or context.
Ok, I'll try. Sorry. :)
I did it. It gives me this error
Parse error: syntax error, unexpected T_STRING in /var/www/vhost/allymcbeal.it/home/html/forums/convert.php on line 5250
This is my code
}
//******************************************************************************/
// Converting poll votes...
//******************************************************************************/
5249 //---*{$to_prefix}log_polls
5250 SELECT vote_id AS ID_POLL, vote_user_id AS ID_MEMBER , vote_cast AS ID_CHOICE
5251 FROM {$from_prefix}vote_voters
5252 WHERE vote_user_id > 0
5253 GROUP BY vote_id, vote_user_id;
5254 //---*
5255
5256
5257 ?>
In my convert.php I have only once the "poll"
$knownKeys = array(
'PRIMARY' => 'ADD PRIMARY KEY (ID_TOPIC)',
'lastMessage' => 'ADD UNIQUE lastMessage (ID_LAST_MSG, ID_BOARD)',
'firstMessage' => 'ADD UNIQUE firstMessage (ID_FIRST_MSG, ID_BOARD)',
'poll' => 'ADD UNIQUE poll (ID_POLL, ID_TOPIC)',
'isSticky' => 'ADD KEY isSticky (isSticky)',
'ID_BOARD' => 'ADD KEY ID_BOARD (ID_BOARD)',
Maybe it can help.
try this one
I'm a little idiot :D, because only now I understand that TE means phptosmf, I writed the code under convert.php... :P
Now I write the code under the right file and I have this error:
SELECT vote_id AS ID_POLL, vote_user_id AS ID_MEMBER , vote_cast AS ID_CHOICE
FROM `my0363`.phpbb_vote_voters
WHERE vote_user_id > 0GROUP BY vote_id, vote_user_id
LIMIT 0, 500;
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BY vote_id, vote_user_id
LIMIT 0, 500' at line 3
Now I try with yours sleepy.
Sorry TE for the trouble.
EDIT: Also with yours sleepy I have this message.
Any better?
No, I can't see the old users. :(
maybe it's cause from:
GROUP BY vote_id, vote_user_id;
try the attached version..
I keep getting this error and the conversion keeps saying unsuccessful
Caused the error:
Duplicate entry '12446' for key 1
I am having issues with importing the posts and continue to have it say unsuccessful.
Some of the posts have come over but only up to 2007...no recent or newer posts?
Squash, which version of phpbb2_to_smf.sql are you using? the phpbb2_to_smf.sql from the first post (attached) of this topic should work..
Quote from: TE on August 19, 2008, 12:05:24 PM
Squash, which version of phpbb2_to_smf.sql are you using? the phpbb2_to_smf.sql from the first post (attached) of this topic should work..
I believe it's the one from here..... I am not positive to be honest.
Can you provide me the proper link since I believe i have tried the proper one.
Thanks in advance...this issue is driving me crazy...it actually imported posts up to 2007 but nothing after :-X
It is the one from here...i downloaded it and replaced the other on my server...still the same error
It seems to have duplicate issues
this one should work:
http://www.simplemachines.org/community/index.php?action=dlattach;topic=142124.0;attach=61756
the posts are converted with $ignore = true; as argument.. this means all INSERTS have the parameter IGNORE and Duplicates will be skipped without warning..
if the trouble continues you can edit the phpbb2_to_smf.sql with a texteditor and change:
---* {$to_prefix}messages 200
to
---* {$to_prefix}messages 100
This will make the converter only do 100 posts at time. This should hopefully help and let you get through the posts conversion.
Thanks for the link...
I downloaded the right one possibly now.....it's slowly going thru all of them. Before that it would start and error right away. I'm hoping this is a good sign. 8)
I'm guessing this can take awhile? I had over 150,000 posts or so on the forum. This may be awhile, and thanks for the help....I'm a technical spazz
I got this error after it had been going for 40 minutes or so...any ideas?
"Got a packet bigger than 'max_allowed_packet' bytes"
You could either edit your my.cnf (you need root server access) to increase that variable and restart mysql.
Or for the section you are converting currently, you could lower the number of posts,topics,members,what ever it is doing to a smaller chunk of data.
This will make conversion take a little bit longer, but should hopefully prevent this.
I have seen this happen from time to time with posts or pms that are really big.
Okay so I reduced it to 100 and I still error about 142000 posts in.
I get this message again
"Caused the error:
Got a packet bigger than 'max_allowed_packet' bytes"
I'm guessing but could be wrong on this. I have some single posts that are news letters type posts, that my site does weekly. They are huge at times and I could be wrong but is there some sort of word limit setting? It seems to stall on these long long posts each time.
Any help would be great. Is there something I can edit again?
try 50 messages at the same time.. (this will make the conversion procecc really slow)
---* {$to_prefix}messages 50
another option would be to install a local webserver (XAMPP for example (http://www.apachefriends.org/de/xampp.html) and do it local) or to contact your host and ask him, if he can (temporary) increase the 'max_allowed_packet' parameter from MySQL.
I'll give 50 a try.....I'll leave it running overnight if need be.
It has stalled twice on the same spot and same error...so if 50 doesn't work I'll contact my host.
Thanks
Fifty fail so I'm taking one last try at 25 and then I'll contact my host on the issue and ask them to increase the size.....
It again got stuck on about the same spot >:(
It is most likely a message that is really really big. MySQL isn't liking the size of the message.
If you look at your url. You will see a substep=####
That is the id of the last message it worked on before it did the timeout protection.
You can use that and work your way up from there to figure out which message is causing this.
Interesting enough it failed again but all the data made the move!!!!!
Lucky me
Quote from: Squash on August 21, 2008, 02:32:31 AM
Interesting enough it failed again but all the data made the move!!!!!
Lucky me
I wanted to take the time to say thanks for the help on converting over. I have been using SMF now for less than 2 solid days and have to say it beats the hell out of my old phpBB board hands down. The fact I'm not getting 25 spambots a day signing up is sweet!!!!
Thanks for the help 8)
Quote from: TE on August 15, 2008, 11:59:19 AM
maybe it's cause from:
GROUP BY vote_id, vote_user_id;
try the attached version..
I try, now in the older poll I can see the voter from the 15 august 2008 (I say this date because the last vote is about this day) but not the voter older.
I'm looking to convert from a phpBB board ver. 2.0.22 with the following mods.
Topic Calendar - Categories Hierarchy by Ptirhiik 2.2.2
Categories hierarchy by Ptirhiik 2.1.1 RC5
As well as some minor mods, an advanced user search, and extented templates.
Would the converter on page 1 be a good place to start, or perhaps some of the other various links i've seen in this thread?
Also are there any recommended mods i should install to SMF before attempting to convert a php board with the mods i have on it?
Thanks for any info guys!!
Void4ever
the best choice would be starting with the version on the first page and a blank, fresh installed SMF.. ..
Sounds like a plan, i'm sure i'll be back soon :)
Void4ever
So aside from calendar events not being linked to threads, subfolders, and ranks, everything looks pretty good. I honestly didn't expect the calendar thing, nor the subfolders since those were plugins to phpbb. And instead of being a subfolder they are just all thrown into the main page. I can edit that no problem.
The ranks installed themselves over membergroups which i assume is what SMF uses, though in phpbb ranks weren't used for permissions of any type, just something fun to put under peoples names. It looks like the same can be done here as well just not setting any permissions.
It's unfortunate that every single rank came through with a phpbb in front of it, here's an example:
phpBB Bacon of Light
phpBB Barbaric Warlord
phpBB Beast Knight
phpBB Beauty Queen
I'm willing to bet it has something to do with the plugins installed on phpbb though. Not a huge deal to manually edit, just a lot of them to do :P
I want to thank everyone whos worked on this converter, excellent job!
Void4ever
The converter prefixes all membergroups with phpBB, as to not get groups confused for common groups such as Admins and moderators.
Ahhh i understand then.
One more question if you don't mind. I'm trying to wrap my head around permissions vs (what i call) ranks, or member groups i guess.
Like i said on my phpbb boards we had fun little messages (ranks) the admins could set below someones name in a post (like the ones above). They had no effect on board permissions however.
Am i able to do the same thing with the member groups in SMF, and just use the permission section for board settings? Or am i looking for some type of plugin?
void4ever
Void4ever
Well you can set in each persons profile a Custom Title. You could also set a membergroup and just have it do nothing (clear everything on permissions so it isn't granting nor denying any permission).
In SMF 2.0 you can do inherted permissions, so things like that would be easier and let it inherit permissions from another group.
Hmmmm i assume the custom title's are editable by the user though? So i'll have to stick with creating groups without permissions i think.
I might look into 2.0, i read on the main page that it was early beta though and not really ready for live use, though maybe i'll go skim the major thread and see what kinda bugs are present.
Void4ever
Wait i see the custom title is only admin editable. Perfect!!!! Thanks for pointing me in the right direction.
Void4ever
Yes you can make it changeable only to admins via removing it in permissions
Hi,
Im not to good with this, Can someone run me through the steps?
I installed a new SMF in a directory on the same server as my phpbb forum
I uploaded the change php and the sql file but I get this error:
http://www.jamestownceilidhband.com/forum/convert.php?step=1
Anybody?
Bobn,
Please remember we are all volunteers here, we volunteer our free time here and do have real lifes we need to take care of.
Can you paste the SQL error you got?
Was it in this topic? Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Sorry, I'm a just a beginner. Can anyone tell me the steps to do after I downloaded the converter and phpbb2_to_smf_sql?
the steps:
0) Read the docs: Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject) ;)
1) Install SMF
2) Upload convert.php and phpbb2_to_smf.sql (both in SMF directory)
3) execute convert.php from the browser
Please, help me, when I convert my phpbb2 (2.0.23) database into SMF (1.1.3) the following error appears: .
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Unsuccessful!
This query:
SELECT
u.user_id AS ID_MEMBER, SUBSTRING(u.username, 1, 80) AS memberName,
SUBSTRING(u.username, 1, 255) AS realName,
SUBSTRING(u.user_password, 1, 64) AS passwd, u.user_lastvisit AS lastLogin,
u.user_regdate AS dateRegistered,
SUBSTRING(u.user_from, 1, 255) AS location,
u.user_posts AS posts, IF(u.user_level = 1, 1, mg.ID_GROUP) AS ID_GROUP,
u.user_new_privmsg AS instantMessages,
SUBSTRING(u.user_email, 1, 255) AS emailAddress,
u.user_unread_privmsg AS unreadMessages,
SUBSTRING(u.user_msnm, 1, 255) AS MSN,
SUBSTRING(u.user_aim, 1, 16) AS AIM,
SUBSTRING(u.user_icq, 1, 255) AS ICQ,
SUBSTRING(u.user_yim, 1, 32) AS YIM,
SUBSTRING(u.user_website, 1, 255) AS websiteTitle,
SUBSTRING(u.user_website, 1, 255) AS websiteUrl,
u.user_allow_viewonline AS showOnline, u.user_timezone AS timeOffset,
IF(u.user_viewemail = 1, 0, 1) AS hideEmail, u.user_avatar AS avatar,
REPLACE(u.user_sig, '\n', '<br />') AS signature,
u.user_sig_bbcode_uid AS signature_uid, u.user_avatar_type,
u.user_notify_pm AS pm_email_notify, u.user_active AS is_activated,
'' AS lngfile, '' AS buddy_list, '' AS pm_ignore_list, '' AS messageLabels,
'' AS personalText, '' AS timeFormat, '' AS usertitle,
'' AS secretQuestion, '' AS secretAnswer, '' AS validation_code,
'' AS additionalGroups, '' AS smileySet, '' AS passwordSalt,
u.user_registered_ip AS memberIP, u.user_registered_ip AS memberIP2
FROM `gb_for2`.phpbb_users AS u
LEFT JOIN `gb_for2`.phpbb_ranks AS r ON (r.rank_id = u.user_rank AND r.rank_special = 1)
LEFT JOIN `gb_for2`.smf_membergroups AS mg ON (mg.groupName = CONCAT('phpBB ', r.rank_title))
WHERE u.user_id != -1
GROUP BY u.user_id
LIMIT 0, 500;
Caused the error:
Unknown column 'u.user_registered_ip' in 'field list'
Thank you.
ok, i must be blind, i can't find where to d/l the convert.php file, could somebody please point me in the right direction.
i tried the link in the first post. it led me to a link that led me right back to itself. after doing this several times and scratchin my head i decided to ask for help :)
btw, install went very smoothly, now if could just get the convert to go as well 8)
niakriz,
try the attached file
Toolz,
Updated Converters List & Support Topics (http://www.simplemachines.org/community/index.php?topic=140741.0)
Thank You! that was the push i needed to get me to read better :)
I was clicking on the link that said 2.0.19+, and ending up back here ... this time I clicked on the word "here" in the opening paragraph and went to the d/l area where all was well :D
PS it seems to have worked fine, i'm going back now to give it a closer look but at first glance all seems well :D
Thank you all very much!!
Notice: Undefined variable: dbname in /home/rock/public_html/convert.php(407) : eval()'d code on line 1
Notice: Undefined variable: table_prefix in /home/rock/public_html/convert.php(407) : eval()'d code on line 1
Why Do We Say a mistake to?
try the convert.php attached on this topic:
http://www.simplemachines.org/community/index.php?topic=140741.0
(is attached, scroll down)
When I try to download this converter, I keep getting linked back and forth between the two topics,... can someone point me to the actual file please? and some instructions for this converter would be helpful as well.
Thank you.
phpBB v2.022 to SMF 1.1.7
the converter on our downloads page should work fine for you:
http://www.simplemachines.org/download/index.php?thanks;filename=smf_1-1-7_phpbb2_converter.zip
I am trying to convert my PHPBB 2.0.21 and so far so good, but when I put in the two path names of the smf and phpbb I get an error that says: This converter was unable to find SMF in the path you specified.
This is the location: http://bandittransamclub.com/smf (http://bandittransamclub.com/smf)
The smf is there, so I don't see what I'm doing wrong. If I give the wrong password to the smf, will I get a different error message?
the path for SMF ends with .../smf
the path for phpBB ends with .../forum
... should be automatically detected by convert.php
Referring to the converter page that ask you to enter the "Path to SMF:" and the "Path to phpBB2:"
Nothing I've entered seems to work. Although I quickly get a
"Converting...
Successful.
Recalculating forum statistics... Successful."
nothing has changed.
Any ideas on the correct path?
I've tried umpteen hundred combinations and none work.
some examples:
/hermes/bosweb/web166/b1663/d5.XXXXXXX/public_html/smf
/d5.XXXXXXX/public_html/smf
/home/XXXXXXX/public_html/smf
/home/users/web/b1663/d5.XXXXXXX/public_html/smf
d5.XXXXXXX/public_html/smf
I've tried multiple combinations in both the SMF and phpBB boxes.
Thanks in advance.
try
for SMF: /hermes/bosweb/web166/b1663/d5.XXXXXXX/public_html/smf
for phpBB: /hermes/bosweb/web166/b1663/d5.XXXXXXX/public_html/forum
Tried this...didn't work.
I actually have the phpBB forum under "phpBB" not "forum".
I've tried the combination
/home/users/web/b1663/d5.XXXXXXX/public_html/smf
/home/users/web/b1663/d5.XXXXXXX/public_html/phpBB
also, with no success.
At wits end here.
place convert.php and phpbb2_to_smf.sql in your SMF directory, the path for SMF is automatically detected then. change the last part for phpbb ( to phpBB)
If this doesn't help please post a link to both forums (or PM me)
Got it going...only thing wrong was I needed to check utf-8 instead of the default that was checked.
Thanks for your help.
QuoteConverting ranks... Unsuccessful!
This query:
DELETE FROM `rsdlaugh_testing`.rsdlaugh_membergroups
WHERE groupName LIKE 'phpBB %';
Caused the error:
Unknown column 'groupName' in 'where clause'
This is the error I got when I ran the covert.php file. Please help!
flamechica, our converters are for SMF 1.1.x only at this time. The error sounds like you are using SMF 2.0 Beta4 for the destination?
Hi,
I'm trying to convert phpBB 2.0.23 to SMF 1.1.7 and ran the converter as directed (both specified files are in the SMF directory). The first time I ran the converter, it showed a very long list of error messages, but at the end it said that I had successfully transfered all my files and offered a link to my new forum. This all happened almost instantly... no waiting. When I went to the forum, it was unchanged and had only one user (me).
I tried once more to run the converter, and it said I had the wrong password and I should check some file. I did that and saw that special characters had been stripped off the password. ??? So I entered the new password and it ran again, giving me another long list of errors, but said the process was successful again! So I again went to look and now it says that there is a connection error and I should try again later as the server could be busy. SMF could not connect to the database! Is this because it is trying to access the database with an incorrect password (stripped of the special characters)?
What do I do now?
Quote from: Tarzan1 on January 24, 2009, 09:24:32 PM
Is this because it is trying to access the database with an incorrect password (stripped of the special characters)?
This may be the reason. Are both forums installed in the same database? (same MySQL user and password)?
Quote from: TE on January 25, 2009, 02:11:42 AM
Quote from: Tarzan1 on January 24, 2009, 09:24:32 PM
Is this because it is trying to access the database with an incorrect password (stripped of the special characters)?
This may be the reason. Are both forums installed in the same database? (same MySQL user and password)?
Both databases use the same password and user name, are on the same server, but are not a combined database. I copied and pasted the complete report produced by the conversion script into a wordpad document (text file). I can send that to you if it would help.
And thanks so very much for your quick reply... I didn't expect one until tomorrow! This is great. I hope I can get this problem solved before the weekend is over.
yes, the errors may help me in finding the issue.. can you upload the file and PM me the link to it?
Is there an html special char (sinle quote or quotes) inside your password? this may result in an error..
Quote from: TE on January 25, 2009, 08:52:59 AM
yes, the errors may help me in finding the issue.. can you upload the file and PM me the link to it?
Is there an html special char (sinle quote or quotes) inside your password? this may result in an error..
I sent you a PM, but for the benefit of others, I will mention here that there are no quotes ( single or double) in the password.
Speaking of passwords: Is it not dangerous to have an un-encrypted password stored in a file on the server? Especially when there is a utility in SMF that allows one to easily change all files to permission 777?
viel Dank
Ok, received your PM.. it looks like a broken php session (host related error) for me..
look here: http://www.simplemachines.org/community/index.php?topic=276243.msg1811393#msg1811393 (your error is very similar)
Can you PM me a link to both forums and your MySQL password? I would like to try this myself.
Thanks to TE, who pointed me in the right direction, I discovered that the username and password that I thought was being used for phpBB was in fact not the correct ones. The phpBB database has several 'users' and I incorrectly assumed the MAIN user was the one that phpBB would be using. This was NOT the case, so of course the conversion failed!
LESSON TO BE LEARNED: Don't assume. CHECK to be sure. Find out where to look for your information in your particular forum software. (It will be in a settings or configuration file).
Now I have created a new problem where I get a duplicate key error. When that gets resolved, I will post my discoveries for others to learn from my mistakes.
:-[
I wonder if the problem (linked to) in the post above (who got similar error messages to mine) might be a similar situation?
It seems the duplicate key entry was from clicking on the CONTINUE button.
Even though the instructions on the page say to click the button, TE told me NOT TO (THAT IT WOULD CONTINUE ON ITS OWN IN A FEW SECONDS). It did, and the transfer seems to have taken place. Woo hoo! I think I have myself a new forum!
Many thanks to TE.
:D :D :D :D :D :D :D
Welcome to SMF :)
OMG... it worked just fine =D , thanx
I've recently converted an phpBB to an SMF forum (1.1.8), eerything translated except the smilies and attachments...
is there some way for me to go back and re-attach old attachments with MySQL? is there a step anyone suspects I skipped?
Jeremy
attachments isn't a default phpBB2 feature, so our converter doesn't convert attachments.
this should help you:
http://www.simplemachines.org/community/index.php?topic=258735.msg1686035#msg1686035
this is an attachments only converter and can be used with convert.php.
delete your old phpbb2_to_smf.sql and upload this file and convert.php.
then start the conversion.
Hi folks,
Im new to SMF to, trying to convert my phpbb2 to SMF but I get this error,
--------------------------------------------
Converting members... Unsuccessful!
This query:
SELECT
u.user_id AS ID_MEMBER, SUBSTRING(u.username, 1, 80) AS memberName,
SUBSTRING(u.username, 1, 255) AS realName,
SUBSTRING(u.user_password, 1, 64) AS passwd, u.user_lastvisit AS lastLogin,
u.user_regdate AS dateRegistered,
SUBSTRING(u.user_from, 1, 255) AS location,
u.user_posts AS posts, IF(u.user_level = 1, 1, mg.ID_GROUP) AS ID_GROUP,
u.user_new_privmsg AS instantMessages,
SUBSTRING(u.user_email, 1, 255) AS emailAddress,
u.user_unread_privmsg AS unreadMessages,
SUBSTRING(u.user_msnm, 1, 255) AS MSN,
SUBSTRING(u.user_aim, 1, 16) AS AIM,
SUBSTRING(u.user_icq, 1, 255) AS ICQ,
SUBSTRING(u.user_yim, 1, 32) AS YIM,
SUBSTRING(u.user_website, 1, 255) AS websiteTitle,
SUBSTRING(u.user_website, 1, 255) AS websiteUrl,
u.user_allow_viewonline AS showOnline, u.user_timezone AS timeOffset,
IF(u.user_viewemail = 1, 0, 1) AS hideEmail, u.user_avatar AS avatar,
REPLACE(u.user_sig, '\n', '<br />') AS signature,
u.user_sig_bbcode_uid AS signature_uid, u.user_avatar_type,
u.user_notify_pm AS pm_email_notify, u.user_active AS is_activated,
'' AS lngfile, '' AS buddy_list, '' AS pm_ignore_list, '' AS messageLabels,
'' AS personalText, '' AS timeFormat, '' AS usertitle,
'' AS secretQuestion, '' AS secretAnswer, '' AS validation_code,
'' AS additionalGroups, '' AS smileySet, '' AS passwordSalt,
'' AS memberIP, '' AS memberIP2
FROM `denish_optibox`.phpbb_users AS u
LEFT JOIN `denish_optibox`.phpbb_ranks AS r ON (r.rank_id = u.user_rank AND r.rank_special = 1)
LEFT JOIN `denish_forumbaza23`.smf_membergroups AS mg ON (mg.groupName = CONCAT('phpBB ', r.rank_title))
WHERE u.user_id != -1
GROUP BY u.user_id
LIMIT 0, 500;
Caused the error:
Illegal mix of collations (latin2_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
---------------------------------------------
and what should i do with this file: phpbb2_to_smf.sql, no clue?
both forums use diffrerent table collations ins MySQL
Please try this:
Re-Install SMF and enable the checkbox for UTF-8 during install. then in convert.php you should also use "UTF-8" as the character set. Convert.php is our general converter file, the phpbb2_to_smf.sql contains all commands for a phpbb2 conversion and is used from convert.php.
I'm trying to convert from phpBB2 to SMF 1.8. Everything is set up correct and the user stuff converts well. Getting following error of which I have no idea what it means.
Help please.
john
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Converting categories... Unsuccessful!
This query:
INSERT INTO `vstrom1_smf`.smf_categories
(ID_CAT, name, catOrder)
VALUES ('922', 'Technical Area', '20'),
('923', 'Non-Technical & Miscellaneous', '30'),
('924', 'Top Cat', '10');
Caused the error:
Duplicate entry '255' for key 1
SMF has by default a maximum value of 255 for the categerories.. your phpBB has a category with IDs higher than 255. This should help:
http://www.simplemachines.org/community/index.php?topic=274252.0#post_high_category_ids
Thanks for reply. I down loaded both category & board ID fixers.
Do these two php's run from the SMF directory?
This is a two way conversion. First from Rapidforum to phpBB2 and then to SMF. We are currently doing another from Rapidforum tiring to fix a few things, so have to put this on hold for the moment. But would like to leave this topic open.
bump
Question from above: Where do I run these scripts form? Guessing phpBB2 folder since they should be modifying the phpBB2 db.
Been doing a little db browsing. What do these scripts do with inner relationships?
The board_ID's refer to the Category_ID's.
The Threads & posts table refer to the board-ID.
If I run the recount_category first does it also fix the new cat ID's in the boards?
If I run the recount_board does it fix the Thread & post with new board ID's.
I have ID numbers higher than 255 in all categories & some boards.
place both scripts (fix categories and fix_boards) to your smf directory, run both (only the first step), then convert your forum and run from both the second step.
OK, I have a backup so I'll try.
Thanks
John
I did the first step in recount_categories.php and got this:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/vstrom1/public_html/Smf/recount_categories.php on line 375
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/vstrom1/public_html/Smf/recount_categories.php on line 401
Cat ID's did not change.
ok, I think the scripts are for SMF 2.0RC1. I found some older versions, please try it:
That did it & we got it.
Thanks much for your help.
John
PS I'll be sending a donation soon. :)
Welcome to SMF :)
Hi, TE I have converted my forum (again) and now I can't the the box of login at the bottom of page.
I have also an error, there is a jellow triangle on the left tell me "access denied.
any errors during the conversion? can you post the error or attach a screenshot please?
No, no sorry, the conversion, is good. But now I can't see the box of login on the bottom.
And I have another error "access denied" on popup.
But now I think I have to ask not here, I have did some mod and something is wrong.
yes, you should ask for support in our Support / Theme boards. this is a java-script error and is related to a modification or a bug in your theme.
Would the author PLEASE amend his first post to make a comment stating that one MUST BE LOGGED IN to see the attachment? I just wasted a lot of time reading through 20 pages of posts looking for the attached files in this thread before trying to download a file from a link and getting the message that one has to be logged in to see and download files!
After logging in, I could (FINALLY) see the attached file in the first thread! Before that I was going round and round following the links and only getting frustrated. I remember reading several other posts where people had a problem finding the attached files. I bet they were not logged in either. So please post it up in big coloured letters so it won't be missed. Thanks.
This file and many others have been updated to our downloads page :) Our downloads page does not require you to be logged in to download files.
Quote from: SleePy on August 04, 2007, 01:33:51 PM
Well that shouldn't be happening but it appears some reason that the converter can't find its group thus returning null
Find:
u.user_posts AS posts, IF(u.user_level = 1, 1, mg.ID_GROUP) AS ID_GROUP,
Replace:
u.user_posts AS posts, IF(u.user_level = 1, 1, if(NULL, 0, mg.ID_GROUP)) AS ID_GROUP,
That should fix it hopefully.
I used something similar:
u.user_posts AS posts, IF(u.user_level = 1, 1, IFNULL(mg.ID_GROUP, 0)) AS ID_GROUP,
phpBB: 2.0.22
SMF: 1.1.8
mySQL: 5.1.32
Wouldn't it make sense to include this workaround officially in the converter?
SabreOfParadise,
This change was made in our sources. It will be updated on the download page on the next release of 1.1.
Ok, thank you for the information. :)
Pretty cool set of resources...thanks
Hello!
Got a problem with conversion:
Quote
Converting...
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting avatar gallery images... Successful.
Recalculating forum statistics... Successful.
Unsuccessful!
This query:
REPLACE INTO {$to_prefix}settings (variable, value)
VALUES ("conversion_time", 1252143697),
("conversion_from", "phpbb2_to_smf.sql");
Caused the error:
Something is wrong in your syntax obok '{$to_prefix}settings (variable, value)
VALUES ("conversion_time", 1252143697)' w linii 1
It would be realy great if someone could help me out here.
Im a new user of smf...
You can ignore this error (minor bug in convert.php)... the conversion has already finished:
QuoteRecalculating forum statistics... Successful.
I see the same when converting from phpbb2 to smf1.10 as well. Good to know it's minor. I didn't see this before in 1.1.8
I doubt it was related to SMF versions, rather to converter versions. :)
There may be a new feature added in the converter that is still in the works.
how can i convert a mod in PHPBB2 to SMF?
As said in your other thread (http://www.simplemachines.org/community/index.php?topic=340327), there is no converter for code.
Will this converter work for phpBB 1.4.4 ? Thanks
I have no idea if it was ever tested, and I have doubts it would work. It is an extremely old one, and a major version, too... if you're sure you wrote the right version! :)
You can always try, make a backup of your phpbb database and give it a shot. Normally nothing wrong should happen to your database, the converter only tries to read from it, and if it results in an error, then it simply stops. (but make a backup in any case).
Your best bet would be to follow these instructions (http://www.phpbb.com/support/documents.php?mode=install#upgrade1.x) to upgrade to a newer version of phpBB first. You can then convert to SMF from there.
Hi,
Im trying to convert our phpbb 2.0.23 forum to SMF 2.0 RC3 but im getting the following error
Converting...
Converting members...
Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics...Wrong value type sent to the database. Integer expected. (id_member_updated)
I have tried searching the forums, but without any luck. Any clue?
-Marius
I'm experiencing the same problem as MariusMax. It seems that it has been solved for other converters, but I couldn't find out what was the fix...
I have another question, is there a way to speed up things ? I took a look in the source code and I figured out that convert['block_size'] was never defined and a value of 500 or 200 was used instead, should I define convert['block_size'] at the beginning of the file to, let's say, 2000 ? (I work in local)
Thanks in advance for your help !
This error isn't related to the block size, the error is related to an empty value (id_member_updated).. the SMF 2 insert function doesn't accept empty values for database fields.
A possible solution: convert your phpBB3 to SMF 1.1.x, then ugrade your board to SMF 2.0 RC3.
Hello,
i have a modded phpbb2 Forum with php-Nuke as portal ... the database-settings are right and when i start the converter this shows:
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Unsuccessful!
This query:
SELECT
u.user_id AS id_member, SUBSTRING(u.username, 1, 80) AS member_name,
SUBSTRING(u.username, 1, 255) AS real_name,
SUBSTRING(u.user_password, 1, 64) AS passwd, u.user_lastvisit AS last_login,
u.user_regdate AS date_registered,
SUBSTRING(u.user_from, 1, 255) AS location,
u.user_posts AS posts, IF(u.user_level = 1, 1, IFNULL(mg.id_group, 0)) AS id_group,
u.user_new_privmsg AS instant_messages,
SUBSTRING(u.user_email, 1, 255) AS email_address,
u.user_unread_privmsg AS unread_messages,
SUBSTRING(u.user_msnm, 1, 255) AS msn,
SUBSTRING(u.user_aim, 1, 16) AS aim,
SUBSTRING(u.user_icq, 1, 255) AS icq,
SUBSTRING(u.user_yim, 1, 32) AS yim,
SUBSTRING(u.user_website, 1, 255) AS website_title,
SUBSTRING(u.user_website, 1, 255) AS website_url,
u.user_allow_viewonline AS show_online, u.user_timezone AS time_offset,
IF(u.user_viewemail = 1, 0, 1) AS hide_email, u.user_avatar AS avatar,
REPLACE(u.user_sig, '\n', '<br />') AS signature,
u.user_sig_bbcode_uid AS signature_uid, u.user_avatar_type,
u.user_notify_pm AS pm_email_notify, u.user_active AS is_activated,
'' AS lngfile, '' AS buddy_list, '' AS pm_ignore_list, '' AS message_labels,
'' AS personal_text, '' AS time_format, '' AS usertitle,
'' AS secret_question, '' AS secret_answer, '' AS validation_code,
'' AS additional_groups, '' AS smiley_set, '' AS password_salt,
'' AS member_ip, '' AS member_ip2
FROM `z32`.nuke_users AS u
LEFT JOIN `z32`.nuke_ranks AS r ON (r.rank_id = u.user_rank AND r.rank_special = 1)
LEFT JOIN `z32club`.smf_membergroups AS mg ON (mg.group_name = CONCAT('phpBB ', r.rank_title))
WHERE u.user_id != -1
GROUP BY u.user_id
LIMIT 0, 500;
Caused the error:
Unknown column 'u.user_id' in 'field list'
what can i do ?
cheers
That's an odd error... What version of phpbb2/php_nuke do you have? If it's very outdated, by any chance, would it be possible to update it? Or, on the contrary is it new?
Alternatively, could you please login in phpMyAdmin, select your phpbb2 database (z32), and the table nuke_users, and go to the Export tab, exporting the table into a file, structure only (please see the checkboxes: only structure should be checked, data should not be checked, the rest can remain as whatever defaults you may have), and attach here that file.
Hello,
yes, very old, i don't know which version the phpbb and nuke are. Over 6 years i have not changed anything :)
hier the structur ... hope this helps.
-- Server Version: 5.0.67
-- PHP-Version: 5.2.13
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Datenbank: `z32`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `nuke_users`
--
CREATE TABLE IF NOT EXISTS `nuke_users` (
`uid` int(11) NOT NULL auto_increment,
`name` varchar(60) NOT NULL default '',
`uname` varchar(25) NOT NULL default '',
`email` varchar(255) NOT NULL default '',
`femail` varchar(255) NOT NULL default '',
`url` varchar(255) NOT NULL default '',
`user_avatar` text,
`user_regdate` varchar(20) NOT NULL default '',
`user_icq` varchar(15) default NULL,
`user_occ` varchar(100) default NULL,
`user_from` varchar(100) default NULL,
`user_from_flag` varchar(25) default NULL,
`user_intrest` varchar(150) default NULL,
`user_sig` varchar(255) default NULL,
`user_viewemail` tinyint(2) default NULL,
`user_theme` int(3) default NULL,
`user_aim` varchar(18) default NULL,
`user_yim` text,
`user_msnm` varchar(25) default NULL,
`pass` varchar(40) default NULL,
`storynum` tinyint(4) NOT NULL default '10',
`umode` varchar(10) NOT NULL default '',
`uorder` tinyint(1) NOT NULL default '0',
`thold` tinyint(1) NOT NULL default '0',
`noscore` tinyint(1) NOT NULL default '0',
`bio` tinytext NOT NULL,
`ublockon` tinyint(1) NOT NULL default '0',
`ublock` tinytext NOT NULL,
`theme` varchar(255) NOT NULL default '',
`commentmax` int(11) NOT NULL default '4096',
`counter` int(11) NOT NULL default '0',
`newsletter` int(1) NOT NULL default '0',
`user_posts` int(10) NOT NULL default '0',
`user_attachsig` int(2) NOT NULL default '0',
`user_rank` int(10) NOT NULL default '0',
`user_level` int(10) NOT NULL default '1',
`user_active` tinyint(1) default '1',
`user_session_time` int(11) NOT NULL default '0',
`user_session_page` smallint(5) NOT NULL default '0',
`user_lastvisit` int(11) NOT NULL default '0',
`user_timezone` tinyint(4) NOT NULL default '10',
`user_style` tinyint(4) default NULL,
`user_lang` varchar(255) NOT NULL default 'english',
`user_dateformat` varchar(14) NOT NULL default 'D M d, Y g:i a',
`user_new_privmsg` smallint(5) unsigned NOT NULL default '0',
`user_unread_privmsg` smallint(5) unsigned NOT NULL default '0',
`user_last_privmsg` int(11) NOT NULL default '0',
`user_emailtime` int(11) default NULL,
`user_allowhtml` tinyint(1) default '1',
`user_allowbbcode` tinyint(1) default '1',
`user_allowsmile` tinyint(1) default '1',
`user_allowavatar` tinyint(1) NOT NULL default '1',
`user_allow_pm` tinyint(1) NOT NULL default '1',
`user_allow_viewonline` tinyint(1) NOT NULL default '1',
`user_notify` tinyint(1) NOT NULL default '1',
`user_notify_pm` tinyint(1) NOT NULL default '1',
`user_popup_pm` tinyint(1) NOT NULL default '0',
`user_avatar_type` tinyint(4) NOT NULL default '3',
`user_sig_bbcode_uid` varchar(10) default NULL,
`user_actkey` varchar(32) default NULL,
`user_newpasswd` varchar(32) default NULL,
`user_group_cp` int(11) NOT NULL default '2',
`user_active_cp` enum('YES','NO') NOT NULL default 'YES',
`user_lastvisit_cp` datetime NOT NULL default '0000-00-00 00:00:00',
`user_regdate_cp` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`uid`),
KEY `user_session_time` (`user_session_time`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7733 ;
no chance ?
bye, Peter
no help for my problem ?
Peter
Hi
I'm experiencing the same problem as MariusMax and Adrien while trying to convert my phpBB 2.0.22 to SMF2.0 RC5:
QuoteConverting...
Converting members...
Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics...Wrong value type sent to the database. Integer expected. (id_member_updated)
The weird thing is that it works perfectly on my local installation of the website, with exactly the same configuration (but a much smaller database).
Any chance to fix this by hacking into the conversion script? Or is the only solution to install SMF 1.1, convert and then upgrade to 2.0?
Quote from: LaurentGom on April 20, 2011, 02:08:58 AM
Hi
I'm experiencing the same problem as MariusMax and Adrien while trying to convert my phpBB 2.0.22 to SMF2.0 RC5:
QuoteConverting...
Converting members...
Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics...Wrong value type sent to the database. Integer expected. (id_member_updated)
Any chance to fix this by hacking into the conversion script? Or is the only solution to install SMF 1.1, convert and then upgrade to 2.0?
That is the way I would do it. I don't know much about the conversion process, but I do know about upgrading SMF. Its a very easy process and would be worth the bit of extra work to get there.
I have kinda same error... Don't know how to fix it to be honest
Converting members...
Unsuccessful!
This query:
SELECT
u.user_id AS id_member, SUBSTRING(u.username, 1, 80) AS member_name,
SUBSTRING(u.username, 1, 255) AS real_name,
SUBSTRING(u.user_password, 1, 64) AS passwd, u.user_lastvisit AS last_login,
u.user_regdate AS date_registered,
SUBSTRING(u.user_from, 1, 255) AS location,
u.user_posts AS posts, IF(u.user_level = 1, 1, IFNULL(mg.id_group, 0)) AS id_group,
u.user_new_privmsg AS instant_messages,
SUBSTRING(u.user_email, 1, 255) AS email_address,
u.user_unread_privmsg AS unread_messages,
SUBSTRING(u.user_msnm, 1, 255) AS msn,
SUBSTRING(u.user_aim, 1, 16) AS aim,
SUBSTRING(u.user_icq, 1, 255) AS icq,
SUBSTRING(u.user_yim, 1, 32) AS yim,
SUBSTRING(u.user_website, 1, 255) AS website_title,
SUBSTRING(u.user_website, 1, 255) AS website_url,
u.user_allow_viewonline AS show_online, u.user_timezone AS time_offset,
IF(u.user_viewemail = 1, 0, 1) AS hide_email, u.user_avatar AS avatar,
REPLACE(u.user_sig, '\n', '<br />') AS signature,
u.user_sig_bbcode_uid AS signature_uid, u.user_avatar_type,
u.user_notify_pm AS pm_email_notify, u.user_active AS is_activated,
'' AS lngfile, '' AS buddy_list, '' AS pm_ignore_list, '' AS message_labels,
'' AS personal_text, '' AS time_format, '' AS usertitle,
'' AS secret_question, '' AS secret_answer, '' AS validation_code,
'' AS additional_groups, '' AS smiley_set, '' AS password_salt,
'' AS member_ip, '' AS member_ip2
FROM `staragwa_staragwardia`.phpbb_users AS u
LEFT JOIN `staragwa_staragwardia`.phpbb_ranks AS r ON (r.rank_id = u.user_rank AND r.rank_special = 1)
LEFT JOIN `staragwa_smf`.smf_membergroups AS mg ON (mg.group_name = CONCAT('phpBB ', r.rank_title))
WHERE u.user_id != -1
GROUP BY u.user_id
LIMIT 0, 500;
Caused the error:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
Any ideas if it is possible to fix it?
I have the same problem ... Wrong value type sent to the database. Integer expected. (id_member_updated)
Is there any way to go smf 2.0 direct or we must install smf1 and then update?
In that 2 cases ... result will be the same or not?
What to do?
If I must install smf1 where to find phpbb to smf1 converter? On download page there is only 2.0 version?
What is problem in php db?
(id_member_updated) ... I cant find that table ... or its a row? can i change that id or what to do
_____________________________
edit: I downloaded 1.1.14 smf and converter for smf 1 ... try to convert ... it was going ok but ... there is an error again
QuoteConverting posts (this may take some time)... Unsuccessful!
This query:
SELECT
p.post_id AS ID_MSG, p.topic_id AS ID_TOPIC, p.post_time AS posterTime,
p.poster_id AS ID_MEMBER,
SUBSTRING(IFNULL(u.user_email, ''), 1, 255) AS posterEmail,
SUBSTRING(IF(IFNULL(pt.post_subject, '') = '', t.topic_title, pt.post_subject), 1, 255) AS subject,
SUBSTRING(IF(IFNULL(p.post_username, '') = '', u.username, p.post_username), 1, 255) AS posterName,
p.enable_smilies AS smileysEnabled, IF(p.post_edit_time > 0, p.post_edit_time, 0) AS modifiedTime,
CONCAT_WS('.', CONV(SUBSTRING(p.poster_ip, 1, 2), 16, 10), CONV(SUBSTRING(p.poster_ip, 3, 2), 16, 10), CONV(SUBSTRING(p.poster_ip, 5, 2), 16, 10), CONV(SUBSTRING(p.poster_ip, 7, 2), 16, 10)) AS posterIP,
SUBSTRING(REPLACE(REPLACE(IF(pt.bbcode_uid = '', pt.post_text, REPLACE(REPLACE(REPLACE(pt.post_text, CONCAT(':u:', pt.bbcode_uid), ''), CONCAT(':1:', pt.bbcode_uid), ''), CONCAT(':', pt.bbcode_uid), '')), '\n', '<br />'), '"', '"'), 1, 65534) AS body,
p.forum_id AS ID_BOARD, '' AS modifiedName, 'xx' AS icon
FROM (`sugdump`.phpbb_posts AS p, `sugdump`.phpbb_posts_text AS pt, `sugdump`.phpbb_topics AS t)
LEFT JOIN `sugdump`.phpbb_users AS u ON (u.user_id = p.poster_id)
WHERE pt.post_id = p.post_id
AND t.topic_id = p.topic_id
LIMIT 120800, 200;
Caused the error:
MySQL server has gone away
what to do? I`ll do this in local ... on wamp program for local server ... my forum has 253720 posts, 12919 themes and 11626 users ... is that problem?
I am having the same issue with id_member_updated. I have been trying to figure out the originating phpBB column that I am assuming is null. I looked at the code, found where id_member_updated is being written and searched back to where the corresponding variable was being set. I copied the SQL that pulled the value in. It is below. I then ran that in phpAdmin with the thought being to find the bad data and correct. Every value returned as myid_first_msg and myid_last_msg is null. So I am skeptical that this is bad data specific to my database or the several others that have had the problem.
SELECT t.id_topic, MIN( m.id_msg ) AS myid_first_msg, t.id_first_msg, MAX( m.id_msg ) AS myid_last_msg, t.id_last_msg, COUNT( m.id_msg ) -1 AS my_num_replies, t.num_replies
FROM smf_topics AS t
LEFT JOIN smf_messages AS m ON ( m.id_topic = t.id_topic )
GROUP BY t.id_topic
HAVING id_first_msg != myid_first_msg
OR id_last_msg != myid_last_msg
OR num_replies != my_num_replies
It looks like it is probably earlier, I am looking the SQL file instead of convert.php. I added the order by and am getting one null.
SELECT
t.topic_id AS id_topic, (t.topic_type = 1 OR t.topic_type = 2) AS is_sticky,
t.topic_first_post_id AS id_first_msg, t.topic_last_post_id AS id_last_msg,
t.topic_poster AS id_member_started, p.poster_id AS id_member_updated,
t.forum_id AS id_board, IF(v.vote_id != 0, v.vote_id, 0) AS id_poll, t.topic_status = 1 AS locked,
t.topic_replies AS num_replies, t.topic_views AS num_views
FROM phpbb_topics AS t
LEFT JOIN phpbb_posts AS p ON (p.post_id = t.topic_last_post_id)
LEFT JOIN phpbb_vote_desc AS v ON (v.topic_id = t.topic_id)
GROUP BY t.topic_id
HAVING id_first_msg != 0
AND id_last_msg != 0
order by id_member_updated
Convert to 1.1.14 and than to 2.0 its easy and fast, save your time :)
My concern about doing that was your last post still indicated you were having issues. I take it you resolved them.
I think I can fix the one topic that is giving the problem. The post indicated by the last post ID in the topic does not exist. I need to figure out the post ID of the real last post.
i thought you have same issue because you wrote that in first post ...
I finished converting with smf 1 ...
you want me to look for id of the last post? This is general problem ... not only in my case
If you want I can find that ... just tell me where to look
I was referring to your second error:
Quoteedit: I downloaded 1.1.14 smf and converter for smf 1 ... try to convert ... it was going ok but ... there is an error again
Anyway, the conversion is done straight to SMF 2. From the query I posted earlier which came from the convert sql file, I found the topic having problems. I searched in the database in the posts table for records linked to that topic. I copied the highest post ID and put that as the last post ID in the topic record. I reran convert and it is done. There was an issue during the recalc, but I can do that through the admin.
awesome ... I didn't saw it at first ... tnx ... it will be much easier for all now :)
my second error was something else ... I forgot what ... I resolved that ...
I guess I never hit submit. This has been sitting in the quick reply window for a while.
There were problems with the data after. I got a fresh export of the DB from the old site and reran the convert. Had to change this:
SUBSTRING(IF(IFNULL(p.post_username, '') = '', u.username, IFNULL(p.post_username, '')), 1, 255)
to:
SUBSTRING(IF(IFNULL(p.post_username, '') = '', IFNULL(u.username, ''), IFNULL(p.post_username, '')), 1, 255)
then:
SUBSTRING(uf.username, 1, 255) AS from_name,
to:
SUBSTRING(ifnull(uf.username,''), 1, 255) AS from_name,
That got the convert to run and did not even get the errors during the recalc. All the boards are in the same category.
Since then, I noticed that attachments were all lost.
Error below when converting from phpBB2 to smf1.1.16:
Converting...
Recalculating forum statistics... Unsuccessful!
This query:
UPDATE `pinecam`.smf_topics
SET ID_FIRST_MSG = '',
ID_MEMBER_STARTED = '0', ID_LAST_MSG = '',
ID_MEMBER_UPDATED = '0', numReplies = '-1'
WHERE ID_TOPIC = 42173
LIMIT 1;
Caused the error:
Duplicate entry '0-2' for key 2
I even typed in the topic id in my url and it got my no where.(Could not find this link) /smf/index.php?topic=42173
Was told to change $sql = "SELECT * FROM users WHERE uid=".$uid;
with (In forum) $sql = "SELECT * FROM users WHERE uid='".$uid."'";
as a last resort used the converter and sql from this forum, different error message this time:
SELECT
p.post_id AS ID_MSG, p.topic_id AS ID_TOPIC, p.post_time AS posterTime,
p.poster_id AS ID_MEMBER,
SUBSTRING(IFNULL(u.user_email, ''), 1, 255) AS posterEmail,
SUBSTRING(IF(IFNULL(pt.post_subject, '') = '', t.topic_title, pt.post_subject), 1, 255) AS subject,
SUBSTRING(IF(IFNULL(p.post_username, '') = '', u.username, p.post_username), 1, 255) AS posterName,
p.enable_smilies AS smileysEnabled, IF(p.post_edit_time > 0, p.post_edit_time, 0) AS modifiedTime,
CONCAT_WS('.', CONV(SUBSTRING(p.poster_ip, 1, 2), 16, 10), CONV(SUBSTRING(p.poster_ip, 3, 2), 16, 10), CONV(SUBSTRING(p.poster_ip, 5, 2), 16, 10), CONV(SUBSTRING(p.poster_ip, 7, 2), 16, 10)) AS posterIP,
SUBSTRING(REPLACE(REPLACE(IF(pt.bbcode_uid = '', pt.post_text, REPLACE(REPLACE(REPLACE(pt.post_text, CONCAT(':u:', pt.bbcode_uid), ''), CONCAT(':1:', pt.bbcode_uid), ''), CONCAT(':', pt.bbcode_uid), '')), '\n', '<br />'), '"', '"'), 1, 65534) AS body,
p.forum_id AS ID_BOARD, '' AS modifiedName, 'xx' AS icon
FROM (`pinecam`.phpbb_posts AS p, `pinecam`.phpbb_posts_text AS pt, `pinecam`.phpbb_topics AS t)
LEFT JOIN `pinecam`.phpbb_users AS u ON (u.user_id = p.poster_id)
WHERE pt.post_id = p.post_id
AND t.topic_id = p.topic_id
LIMIT 485000, 200;
Caused the error:
When I check the scripts it seems to be ok. Is there something I am missing?
This is first time when I'm using SMF Converter. What should I do with these files?
http://wiki.simplemachines.org/smf/Converting
EDIT: This was supposed to go in the phpBB3 thread
Trying to convert but have this error log:
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Unsuccessful!
This query:
SELECT
u.user_id AS id_member, SUBSTRING(u.username, 1, 80) AS member_name,
SUBSTRING(u.username, 1, 255) AS real_name,
SUBSTRING(u.user_password, 1, 64) AS passwd, u.user_lastvisit AS last_login,
u.user_regdate AS date_registered,
SUBSTRING(u.user_from, 1, 255) AS location,
u.user_posts AS posts, IF(u.user_level = 1, 1, IFNULL(mg.id_group, 0)) AS id_group,
u.user_new_privmsg AS instant_messages,
SUBSTRING(u.user_email, 1, 255) AS email_address,
u.user_unread_privmsg AS unread_messages,
SUBSTRING(u.user_msnm, 1, 255) AS msn,
SUBSTRING(u.user_aim, 1, 16) AS aim,
SUBSTRING(u.user_icq, 1, 255) AS icq,
SUBSTRING(u.user_yim, 1, 32) AS yim,
SUBSTRING(u.user_website, 1, 255) AS website_title,
SUBSTRING(u.user_website, 1, 255) AS website_url,
u.user_allow_viewonline AS show_online, u.user_timezone AS time_offset,
IF(u.user_viewemail = 1, 0, 1) AS hide_email, u.user_avatar AS avatar,
REPLACE(u.user_sig, '\n', '<br />') AS signature,
u.user_sig_bbcode_uid AS signature_uid, u.user_avatar_type,
u.user_notify_pm AS pm_email_notify, u.user_active AS is_activated,
'' AS lngfile, '' AS buddy_list, '' AS pm_ignore_list, '' AS message_labels,
'' AS personal_text, '' AS time_format, '' AS usertitle,
'' AS secret_question, '' AS secret_answer, '' AS validation_code,
'' AS additional_groups, '' AS smiley_set, '' AS password_salt,
'' AS member_ip, '' AS member_ip2
FROM `incubus_st****te`.phpbb_users AS u
LEFT JOIN `incubus_st****te`.phpbb_ranks AS r ON (r.rank_id = u.user_rank AND r.rank_special = 1)
LEFT JOIN `incubus_smf`.smf_membergroups AS mg ON (mg.group_name = CONCAT('phpBB ', r.rank_title))
WHERE u.user_id != -1
GROUP BY u.user_id
LIMIT 0, 500;
Caused the error:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
Can this be fixed? Not sure what to change?
Thanks.
Hi and welcome to sm.org ;)
That means that you have tables/columns in your phpBB database with different collations and MySQL can't work that out...
You need to convert everything to utf8_general_ci ;)
Quick question: If I convert all of the utf8_unicode to utf8_general, will that affect the functioning of my current phpbb board? Have backup just in case...
You have to backup, of course :P
It shouldn't cause any issues but I really hate these collations problems :P