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

Home » FUDforum » FUDforum Installation Issues » phpBB2 convert failing...
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
phpBB2 convert failing... [message #5186] Thu, 22 August 2002 21:12 Go to next message
aitrus is currently offline  aitrus   United States
Messages: 8
Registered: August 2002
Karma: 0
Junior Member
Hello All,
I'm trying to move from phpBB2 (yuk!) to FUD, and am having some troubles with the convert.

Here is the output of the convert:

Beginning Conversion Process
Reading phpBB2 config
Importing Smilies: 31
Finished Importing Smilies
Importing Avatar Galleries
from: /home/httpd/html-www/forums/images/avatars/gallery/
from: adm
from: help
from: images
from: custom_avatars
from: mime
from: smiley_icons
from: message_icons
from: forum_icons
query failed: %( INSERT INTO fud_avatar (img,descr) VALUES('icon10.gif','Resource id #44 icon10.gif') )% because %( Duplicate entry 'icon10.gif' for key 2 )%

I'm not sure what to do at this point. icon10.gif doesn't exist anywhere in my filesystem (unless it is in a db somewhere).

Ideas?

j
Re: phpBB2 convert failing... [message #5187 is a reply to message #5186] Thu, 22 August 2002 21:19 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
Actually phpBB2 keeps images inside database eeewwww, which is why you cannot find them on disk.
I did find the cause for the problem you are seeing, attached upgrade script should no longer be affected by it.
  • Attachment: phpBB2.php
    (Size: 28.87KB, Downloaded 649 times)


FUDforum Core Developer
Re: phpBB2 convert failing... [message #5188 is a reply to message #5187] Thu, 22 August 2002 23:01 Go to previous messageGo to next message
aitrus is currently offline  aitrus   United States
Messages: 8
Registered: August 2002
Karma: 0
Junior Member
I'm still getting the following output now:

Beginning Conversion Process
Reading phpBB2 config
Importing Smilies: 31
Finished Importing Smilies
Importing Avatar Galleries
from:
from:
from:
from:
from:
from:
from:
from:
from:
query failed: %( INSERT INTO fud21_avatar (img,descr) VALUES('icon10.gif','forum_icons icon10.gif') )% because %( Duplicate entry 'icon10.gif' for key 2 )%
Re: phpBB2 convert failing... [message #5189 is a reply to message #5188] Thu, 22 August 2002 23:19 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
Hmmm you actually had duplicate images... I see... Allright, no big deal, this one should do the trick.
  • Attachment: phpBB2.php
    (Size: 29.00KB, Downloaded 706 times)


FUDforum Core Developer
Re: phpBB2 convert failing... [message #5190 is a reply to message #5189] Thu, 22 August 2002 23:51 Go to previous messageGo to next message
aitrus is currently offline  aitrus   United States
Messages: 8
Registered: August 2002
Karma: 0
Junior Member
Did I miss something in the install?

Beginning Conversion Process
Reading phpBB2 config
Importing Smilies: 31
Finished Importing Smilies
Importing Avatar Galleries
from: /home/httpd/html-www/forums/images/avatars/gallery/
from: adm
from: help
query failed: %( SELECT id FROM avatar WHERE img='blank.gif' )% because %( Table 'fud.avatar' doesn't exist )%

You know... I still have my original phpBB (1.4.4) database that I could import from if that would be easier...

j
Re: phpBB2 convert failing... [message #5191 is a reply to message #5190] Fri, 23 August 2002 00:21 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
Nah, the importer works only with phpBB2.
Man I am really careless today, made another typo.

Btw are you installing FUDforum into the same dir phpBB2 was installed in? (not a good idea).

  • Attachment: phpBB2.php
    (Size: 29.03KB, Downloaded 624 times)


FUDforum Core Developer
Re: phpBB2 convert failing... [message #5201 is a reply to message #5191] Fri, 23 August 2002 02:08 Go to previous message
aitrus is currently offline  aitrus   United States
Messages: 8
Registered: August 2002
Karma: 0
Junior Member
No, I'm installing fresh.

Is importing the user ranks the last thing that the script does, or is that just where it stopped because of the error?


Importing User Ranks (post count based) 3
Couldn't copy user rank image from (/home/httpd/html-www/forums.phpBB2/runroom.gif) to (/usr/local/apache/htdocs/html-www/forums/images/)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Installed ok, but appears without stylesheet on all but localhost
Next Topic: Every account has been blocked from posting
Goto Forum:
  

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

Current Time: Wed Dec 04 19:34:07 GMT 2024

Total time taken to generate the page: 0.02584 seconds