FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Translations » phpbb2 -> fudforum doesn't import messages
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
phpbb2 -> fudforum doesn't import messages [message #22839] Fri, 18 February 2005 04:52 Go to next message
bbarnett is currently offline  bbarnett   Canada
Messages: 19
Registered: March 2003
Karma: 0
Junior Member


Hi,

I've jsut downloaded fudforum, and the phpbb2 -> fudforum conversion script seems to work. It imports users and avitars, and even a forum or two, but it doesn't import any messages, or all of the forums.

Any ideas?

Thanks
Re: phpbb2 -> fudforum doesn't import messages [message #22852 is a reply to message #22839] Fri, 18 February 2005 16:26 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
After running the import script, did you run the consistency checker?

FUDforum Core Developer
Re: phpbb2 -> fudforum doesn't import messages [message #22855 is a reply to message #22839] Fri, 18 February 2005 16:27 Go to previous messageGo to next message
bbarnett is currently offline  bbarnett   Canada
Messages: 19
Registered: March 2003
Karma: 0
Junior Member


Yes, I did. I looked at the FUDforum directory, in the message dir, and msg_1 did not have any new messages in it Sad

There are several hundreds, perhaps a thousand messages to convert.
Re: phpbb2 -> fudforum doesn't import messages [message #22857 is a reply to message #22855] Fri, 18 February 2005 16:29 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Really, so msg_1 file is empty (0 bytes)?

Did you run the conversion script via the command line? If you did, did you make sure to unlock your forum 1st so that the script would have permission to access (read/write) to all needed files?


FUDforum Core Developer
Re: phpbb2 -> fudforum doesn't import messages [message #22858 is a reply to message #22857] Fri, 18 February 2005 16:31 Go to previous messageGo to next message
bbarnett is currently offline  bbarnett   Canada
Messages: 19
Registered: March 2003
Karma: 0
Junior Member

No, I ran it via apache (from a web browser).

The forum imported many things.. but not all of the forums themselves were imported :/

Does the importer util have problems with French characters?
Re: phpbb2 -> fudforum doesn't import messages [message #22859 is a reply to message #22858] Fri, 18 February 2005 16:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It should have an issue with characters of any sort. Are you sure the import completed, it is possible it timed out before it had a chance to get to the message importing?

FUDforum Core Developer
Re: phpbb2 -> fudforum doesn't import messages [message #22860 is a reply to message #22839] Fri, 18 February 2005 16:37 Go to previous messageGo to next message
bbarnett is currently offline  bbarnett   Canada
Messages: 19
Registered: March 2003
Karma: 0
Junior Member


No, that shouldn't be the case...

It only took ~ 5 seconds, 10 seconds to run.

I'm going to try an import again, I'll post the log here in ~ 5 minutes...
Re: phpbb2 -> fudforum doesn't import messages [message #22861 is a reply to message #22860] Fri, 18 February 2005 16:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Well if you have as many messages as you say it definately should've taken much longer to run... several minutes @ the very least.

FUDforum Core Developer
Re: phpbb2 -> fudforum doesn't import messages [message #22862 is a reply to message #22839] Fri, 18 February 2005 16:45 Go to previous messageGo to next message
bbarnett is currently offline  bbarnett   Canada
Messages: 19
Registered: March 2003
Karma: 0
Junior Member


Ok, I see the error below, but I don't quite understand it.

That is, this is a brand new, just created forum. The database was empty before this.

Why is it barfing? Should I try to delete the default testing forum, before running this script?




Beginning Conversion Process
Reading phpBB2 config
Done: Reading phpBB2 config
Importing Smilies: 42
Finished Importing Smilies
Importing Avatar Galleries
from: /home/httpd/phpBB2_hold/images/avatars/gallery/

Warning: chdir(): No such file or directory (errno 2) in /home/httpd/html/delta/bleh/phpBB2.php on line 171
from: adm
from: images
from: avatars
from: custom_avatars
from: forum_icons
from: message_icons
from: mime
from: smiley_icons
from: theme
from: default
from: images
from: help
Finished Importing Avatar Galleries, 173 avatars improted
Importing Users 78
Finished Importing Users
Importing Categories 3
Finished Importing Categories
Importing Forums 14
(/home/httpd/FUDforum/include/theme/default/db.inc:122
/home/httpd/FUDforum/include/forum_adm.inc:64
/home/httpd/html/delta/bleh/phpBB2.php:409
) 1050: Table 'fud26_fl_1' already exists
Query: CREATE TABLE fud26_fl_1 (id INT)
_POST: frm_cat_id=2&frm_name=Tournois&frm_descr=Les tournois qui auront lieu à "l'Atelier du Jeu" seront annoncés dans cette section.&frm_forum_opt=16&frm_max_file_attachments=1&frm_max_at tach_size=1024&
Server Version: 3.23.49-log
Re: phpbb2 -> fudforum doesn't import messages [message #22863 is a reply to message #22839] Fri, 18 February 2005 16:50 Go to previous messageGo to next message
bbarnett is currently offline  bbarnett   Canada
Messages: 19
Registered: March 2003
Karma: 0
Junior Member


Well, this shows that one should not work on something, with little sleep.

After dropping the table in mysql, all is fine. The import went perfectly, as far as I can see.

So, I guess the question is, why did it choke on a fresh install?

Anyhow, thanks for your help!
Re: phpbb2 -> fudforum doesn't import messages [message #22866 is a reply to message #22863] Fri, 18 February 2005 17:18 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The locking tables caused a problem, this is a bug to which I will be applying a fix for shortly.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: French update for 2.6.10rc3
Next Topic: Italian translation
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon May 13 21:53:11 GMT 2024

Total time taken to generate the page: 0.03003 seconds