News:

Wondering if this will always be free?  See why free is better.

Main Menu

[WIP - Converter] IPB 3.2/3.3/3.4

Started by emanuele, May 17, 2012, 03:44:15 PM

Previous topic - Next topic

Ventic

yes dude i applied both of them in smf folder

emanuele



Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.


Ventic

got this error now Duplicate entry '10567' for key 'PRIMARY'

ThorstenE

Quote from: Ventic on September 22, 2012, 01:28:41 PM
got this error now Duplicate entry '10567' for key 'PRIMARY'
Wich step? Please post the full error message, thank you.

Ventic

Quote from: Thorsten Eurich on September 23, 2012, 02:09:08 AM
Quote from: Ventic on September 22, 2012, 01:28:41 PM
got this error now Duplicate entry '10567' for key 'PRIMARY'
Wich step? Please post the full error message, thank you.
this was the msg

Ventic

#106
after finishing members,topics,boards and went to posts it converted the 150.000 from 300.000 posts and i got this error

Converting posts (this may take some time)...
MySQL server has gone away

i use localhost

//edit

tried to re - convert only posts and again

Converting posts (this may take some time)...
MySQL server has gone away

ThorstenE

in ipb3_to_smf.sql find:
---* {$to_prefix}messages 200
---{


replace with:
---* {$to_prefix}messages 25
---{
$ignore =  true;


then re-run the converter.

Ventic

why that happens

edit:new error

Converting posts (this may take some time)...
Got a packet bigger than 'max_allowed_packet' bytes

ThorstenE

Quote from: Ventic on September 23, 2012, 12:50:21 PM
Got a packet bigger than 'max_allowed_packet' bytes
Do you have access to the mysql configuration file my.cnf? then you could modify the parameter max_allowed_packet_size...

Elsewise we can try to decrease the amount of concurrent imported posts to avoid this error.

find
---* {$to_prefix}messages 25
change to
---* {$to_prefix}messages 10

Ventic

cause it's converting slower the posts now i am able to change any configuration in order not to get the same error for mysql?

Ventic

#111
all fine but now i got problem with posts and names

example of post:γειά..  <- its greek characters

edit:tried greek iso but same problem

Ventic

Quote from: phantomm on June 28, 2012, 02:00:28 PM
IPB is in ISO (latin1), SMF in UTF8.

But Polish characters can be easily fixed in Notepad++. Bigger problem are this broken emoticons links.
In IPB database it is saved as:
<img src='http://example.com/public/style_emoticons/<#EMO_DIR#>/125.gif' class='bbc_emoticon' alt=':)' />
after conversion:
<img src=\\''http://example.com/public/style_emoticons/<#EMO_DIR#>/125.gif\\'' class=\\''bbc_emoticon\\'' alt=\\'':)\\'' />

or links in signature (after finished conversion):

<p>[center][url=\\\\\\\"http://example.com\\\\\\\"][img]http://img803.imageshack.us/img803/4601/smfpluserbarv3.png[/img][/url]<br />
<br />
[url=\\\\\\\"http://example.com\\\\\\\"][img]https://www.unixstorm.org/images/UNIXSTORM-banner7.png[/img][/url][/center]</p>


got the same problem.what to do

ThorstenE

character issues are mostly related to the source forum's character set. I suspect your IPB was installed with UTF-8. Please try to install SMF with UTF-8 (you can choose that in install.php) and use UTF-8 as character set for the converter.

Ventic

from the converter i used utf - 8 character

ThorstenE

Quote from: Ventic on September 24, 2012, 06:16:32 AM
from the converter i used utf - 8 character
SMF needs to be installed with UTF-8 support too,or we have a mixed structure which results in charset issues.

Ventic

i did that again

same problem again.greek chars appears like chinese

ThorstenE

mhh, please go to admin - maintenance - database and use the maintenance task "convert HTML entities to UTF8-Characters".. hopefully that one fixes your charset issues.

Ventic

Quote from: Thorsten Eurich on September 24, 2012, 07:07:58 AM
mhh, please go to admin - maintenance - database and use the maintenance task "convert HTML entities to UTF8-Characters".. hopefully that one fixes your charset issues.
did it too :)

edit:lol fixeddd :d

now i got one problem with post counts.it counts posts from boards that i have disabled the ability of getting posts


Advertisement: