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

Home » FUDforum Development » Converters » phpbb3 conversion to 3.03RC1 - stuck (Migration Assistant and 3.03 RC1??)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
phpbb3 conversion to 3.03RC1 - stuck [message #165644] Sat, 30 July 2011 01:23 Go to next message
ShineOn is currently offline  ShineOn   United States
Messages: 53
Registered: July 2011
Karma: 1
Member
I have installed FUDforum 3.0.3 RC1 - it installed like a dream, by the way - kudos to whomever put together that installer.

I am now trying to convert an existing forum from PHPBB to FUD.

I am using the latest migration assistant from sourceforge - is it compatible with FUD 3.0.3 RC1? It gets through importing the users and stops - no activity on the MySQL server or in Apache, nothing further logged to the browser, it just stops logging anything and doesn't appear to be converting anything else. I need to convert the forums, topics, pm's and anything else that should be converted from phpbb.

I am starting out on phpBB2, converting that to phpBB3 and now trying to convert that to FUD, but no joy.

Will I have start over with FUD - install FUD 3.0.2, do the migration, then upgrade to FUD3.0.3 RC1?
Re: phpbb3 conversion to 3.03RC1 - stuck [message #165647 is a reply to message #165644] Sat, 30 July 2011 03:43 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yes, the upgrade pack is for FUDforum 3.0.2. We will release the new upgrade scripts with the final 3.0.3 release.

For now, please use the latest upgrade scripts in the SVN repository (trunk). You can also use FUDforum 3.0.2, but I would actually discourage it, as I won't be keen on fixing any potential problems you may get with it.

Alternatively, if you can provide me with backup of your forum (files + SQL), I can write a PHPBB v2 -> FUDforum 3.0.3 converter for you.
Re: phpbb3 conversion to 3.03RC1 - stuck [message #165936 is a reply to message #165647] Sun, 28 August 2011 19:04 Go to previous messageGo to next message
ShineOn is currently offline  ShineOn   United States
Messages: 53
Registered: July 2011
Karma: 1
Member
Speaking of a phpbb2 converter -

I was looking at the old converters - did a diff on the old phpbb2 > fud2 and old phpbb3 > fud2 converters - and was stepping through the latest (for 3.03RC2) phpbb3 conversion map to see if it could be tweaked to make a phpbb2 conversion map, and it looks like it wouldn't be all too hard to do,

HOWEVER

I did notice that the old conversion scripts included attachment conversion, and I don't see anything in the phpbb3 map that mentions attachments.

Are attachments lost when converting phpbb3 to fud3.03RC2, or are they handled generically in the main conversion script, so they don't have to be in the phpbb3 conversion map, and by extension, wouldn't have to be included in a hypothetical phpbb2 conversion map?
Re: phpbb3 conversion to 3.03RC1 - stuck [message #165939 is a reply to message #165936] Sun, 28 August 2011 21:30 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Exactly! It should be very easy to add a phpBB2 map. Let me know if you need some help. I can even write it for you if you have a test forum we can practice on.

All atachements should be converted (see function source_load_attachments() in phpBB3.map). Please ensure you have the latest version. If not, download it from sourceforge.net.
Re: phpbb3 conversion to 3.03RC1 - stuck [message #166067 is a reply to message #165939] Sun, 11 September 2011 05:52 Go to previous messageGo to next message
ShineOn is currently offline  ShineOn   United States
Messages: 53
Registered: July 2011
Karma: 1
Member
Trying a conversion from phpbb3 to 3.03RC2, and the host server apparently doesn't have enough spare ram to let the conversion complete.

Getting an error

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7560 bytes) in /home/shineon/datafud/include/theme/default/smiley.inc on line 17


Is there a way to break the conversion into steps, with the memory used by each step being freed before continuing on to the next step?
(By the way, converting from phpbb2 to phpbb3 didn't have any memory issues, and I can't believe they are better coders than you...)


Re: phpbb3 conversion to 3.03RC1 - stuck [message #166068 is a reply to message #166067] Sun, 11 September 2011 07:30 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Please edit convert.php with a text editor and replace:
ini_set('memory_limit', '128M');
with
ini_set('memory_limit', '-1');
Re: phpbb3 conversion to 3.03RC1 - stuck [message #166070 is a reply to message #166068] Sun, 11 September 2011 16:43 Go to previous messageGo to next message
ShineOn is currently offline  ShineOn   United States
Messages: 53
Registered: July 2011
Karma: 1
Member
Thanks, that worked.

Now I have two error conditions I'd like to resolve, and I'd like your help.

1) The avatar galleries aren't converting because there's and extra slash being inserted into the source and target path:

WARNING: Cannot find custom uplaoded avatar [/home/shineon/html/smbb3//images/avatars/gallery/791805159809dcf7d28ce401df6caee2_4640.jpg]

Warning: copy(/home/shineon/html/smbb3//images/avatars/gallery/791805159809dcf7d28ce401df6caee2_4640.jpg) [function.copy]: failed to open stream: No such file or directory in /home/shineon/html/smfud/convert.php on line 253
WARNING: Cannot copy custom uploaded avatar [/home/shineon/html/smbb3//images/avatars/gallery/791805159809dcf7d28ce401df6caee2_4640.jpg] to [/home/shineon/html/smfud//images/custom_avatars/791805159809dcf7d28ce401df6caee2_4640.jpg]!


2) the $GLOBALS variable hack_id isn't defined:
Notice: Undefined variable: hack_id in /home/shineon/html/smfud/convert.php on line 432


I apologize in advance if these have been covered in other posts already. For some strange reason I can't seem to find what I'm looking for when I run a search.

Re: phpbb3 conversion to 3.03RC1 - stuck [message #166071 is a reply to message #166070] Sun, 11 September 2011 18:00 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
For 1: Are you sure the extra slash makes a difference? Please check if the path is correct without the slash. If so, I can create a quick patch to solve the problem.

For 2: See http://fudforum.svn.sourceforge.net/fudforum/?rev=5386&view=rev

Best regards.

Frank
Re: phpbb3 conversion to 3.03RC1 - stuck [message #166072 is a reply to message #166071] Sun, 11 September 2011 19:13 Go to previous messageGo to next message
ShineOn is currently offline  ShineOn   United States
Messages: 53
Registered: July 2011
Karma: 1
Member
Thanks for the quick fix for the hack_id thing.

WRT the avatar path issue - could it be because the phpbb3 avatar gallery has subfolders and not images at the phpbb3 config avatar gallery path? The config avatar_gallery_path setting is 'images/avatars/gallery' and the path has multiple folders with the avatar images in those folders, sort of like this:

... /phpbb3/images/avatars/gallery/<folder1>/<avatar images>
... /phpbb3/images/avatars/gallery/<folder2>/<avatar images>
...
etc.
<edit> never mind - I think I understand... I am checking now to see if the skipped avatars even exist in the source path. They may just be in the database...

<edit> checking things out after conversion I see this in the Avatar management panel:
Notice: Undefined offset: 0 in /home/shineon/html/smfud/adm/admavatar.php on line 256

Related or not? I'm running RC2 still, not knowing if the migration assistant for RC2 will work OK with the released 3.0.3... was planning to run the upgrade script after conversion...

[Updated on: Sun, 11 September 2011 19:50]

Report message to a moderator

Re: phpbb3 conversion to 3.03RC1 - stuck [message #166074 is a reply to message #166072] Tue, 13 September 2011 13:28 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
The migration assistant should work fine with 3.0.3RC2, and even better with 3.0.3!

The notice can be ignored, but if you insist, here's a patch:
http://fudforum.svn.sourceforge.net/fudforum/?rev=5387&view=rev
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Importing from a non-forum user database
Next Topic: phpb2 converter and smilies mod
Goto Forum:
  

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

Current Time: Wed Dec 11 21:17:48 GMT 2024

Total time taken to generate the page: 0.02377 seconds