Advertisement:

Author Topic: From Agora Forum to SMF  (Read 24875 times)

Offline !Beevan

  • Newbie
  • *
  • Posts: 1
Re: From Agora Forum to SMF
« Reply #20 on: June 27, 2011, 05:04:33 PM »
OK....was being very thick.....

I didnt put the full database name in :-[  :-[

ok got past that....

now we have anew error:

Unssucessful :....


Caused the error:

Duplicate entry '62' for key 1

If I recall correctly a friend in a related field was having a similar issue. I will send him an e-mail and see if maybe he knows anything about a fix.

Offline Tinny77

  • Newbie
  • *
  • Posts: 1
Re: From Agora Forum to SMF
« Reply #21 on: June 05, 2012, 03:11:40 AM »
Sorry to bump such an old topic, but the problem I got is related to this one...
Tried the converter but I always get duplicated Primary errors.
Tried an insert ignore but 3 messages out of four were missing.
Anyone wnows how to fix this problem?
Tried toset primary to auto increment, tried to edit it tomanother number after it has been inserted... No luck... I wanna move from Agora and I can't

Online emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,883
  • Gender: Male
  • Because Orange is Orange
Re: From Agora Forum to SMF
« Reply #22 on: June 08, 2012, 05:58:49 PM »
Don't know if it works in your case, but what I notice is that from time to time reduce the number of "items" converted in one step helps.
For example if you open the agora_to_admf.sql file you can find this line:
Code: [Select]
---* {$to_prefix}messages 200that means that at each rount the converter will take 200 messages and convert all of them and the insert the result into the SMF database, try with a lower number, for example:
Code: [Select]
---* {$to_prefix}messages 50doing this will result into a slower conversion process, but at least should avoid/reduce similar issues...unless I'm completely wrong and in my case it was just a case... ;)

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