PHPBB2 to E107 Conversion script with BBCode

e107 CMS » Forums » e107 v1.x Support » Third Party Code / Theme Support << Previous thread | Next thread >>
Go to page  1 2 3 4
steved
Jun 13 2006, 01:57PM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8942
After a fair amount of testing (thanks Rashan) the updated PHPBB2 to E107 conversion script is now available for others to test/use - 2dopey has kindly agreed to host it here: [-link-]

It includes the mods made to the 'distribution' converter in CVS, plus some other tweaks and, most important for some users, bbcodes can now be allowed through, reformatted and even changed.
Most of it is table driven, so should be reasonably easy to adjust to specifc requirements.

Comments good and bad please - either here or by pm to me.
[ Edited Jul 17 2012, 12:00AM ]
Go to top
joe-k
Jun 13 2006, 02:53PM
Registered Member #28173
Joined: Jun 09 2006, 07:19AM
Posts: 27
erm ok!

well it didnt work completely im afraid to say

heres what it did do, the script ran but timed out.

it copied the users, and the forum headings, but alas not threads/posts.

one added thing it did do was add the phpbb admins. so thats one more step towards completion
[ Edited Jun 13 2006, 03:13PM ]
Go to top
joe-k
Jun 13 2006, 03:05PM
Registered Member #28173
Joined: Jun 09 2006, 07:19AM
Posts: 27
if you want to have a good look please email me and ill show you the site/mysql etc
Go to top
steved
Jun 14 2006, 12:31AM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8942
If you have a large database, you might need to increase the maximum script execution time beyond the typical defaults of 30-60 seconds.
Go to top
joe-k
Jun 14 2006, 12:50AM
Registered Member #28173
Joined: Jun 09 2006, 07:19AM
Posts: 27
sorry to sound stupid but where can i change that? the script runs on my pc browser for about 5-10 mins,

my database is roughly 45-50mb in size.

when the script is running i have checked its progress in phpadmin and it pretty much instantly copies the users and forum structure, then spends about 3-5 minutes seemingly doing nothing as it doesnt copy any posts.

is there anything else you would like me to test?

Regards

[edit]

also, i have run the script again, it timed out below you can see the time running (453) and the state (copying to tmp table) strangely there is also another (locked) process below it seemingly doing nothing.

i personally dont know much about this stuff, but maybe it will shed more light on the problem

85587 grimire localhost grimire_phpbb1 Query 453 Copying to tmp table SELECT * FROM phpbb_topics\nLEFT JOIN phpbb_posts_text ON (phpbb_topics.topic_title = phpbb_posts_tex

85857 grimire localhost grimire_phpbb1 Sleep 273 NULL

85858 grimire localhost grimire_phpbb1 Query 273 Locked SELECT * FROM phpbb_topics\nLEFT JOIN phpbb_posts_text ON (phpbb_topics.topic_title = phpbb_posts_tex
[ Edited Jun 14 2006, 01:36AM ]
Go to top
steved
Jun 14 2006, 05:28AM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8942
You'd normally get an error message if script execution timed out, I think. But its probably set in php.ini - worth checking.
It might be an obvious question (so obvious its not in the docs) but had you installed the forum plugin before running the script?
Go to top
joe-k
Jun 14 2006, 05:34AM
Registered Member #28173
Joined: Jun 09 2006, 07:19AM
Posts: 27
steved wrote ...

You'd normally get an error message if script execution timed out, I think. But its probably set in php.ini - worth checking.


ill get onto my provider asap.

steved wrote ...

It might be an obvious question (so obvious its not in the docs) but had you installed the forum plugin before running the script?


why yes, yes i had installed it prior to the script, should i have not?
Go to top
steved
Jun 14 2006, 05:50AM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8942
You should have had the forums installed, so that's fine. It just never occurred to me that someone wouldn't.
I'll try and digest this lot properly, but might not be for a day or two.
Go to top
joe-k
Jun 14 2006, 05:53AM
Registered Member #28173
Joined: Jun 09 2006, 07:19AM
Posts: 27
no rush there fella, ill change the timeout and see how i get along with that.
Go to top
joe-k
Jun 15 2006, 08:18AM
Registered Member #28173
Joined: Jun 09 2006, 07:19AM
Posts: 27
hello there steved.

ok i have asked my provider, but he is unwilling to change the vars in php.ini as its a shared server.

he has offered shell access but im at a bit of a loss as to what i could do with that.

any advice would be greatly appreciated.
Go to top
PSUFAN
Jun 16 2006, 10:13AM
Registered Member #27728
Joined: May 22 2006, 06:59AM
Posts: 34
I am interested in importing phpBB users - the posts and PMs can stay.

Has anyone ever done this? I'm also on a shared server, and the execution time is not something I will be able to access.
Go to top
steved
Jun 16 2006, 10:39AM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8942
Wouldn't expect any problem with users - that's a relatively quick part of the script (and, I think, the bit that seems to work for everyone)
Go to top
joe-k
Jun 16 2006, 11:36AM
Registered Member #28173
Joined: Jun 09 2006, 07:19AM
Posts: 27
the users part of it works 100% perfectly and would highly recommend it.
Go to top
steved
Jun 16 2006, 01:12PM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8942
Joe, I hope to have a look at this over the weekend - please PM any info that shouldn't appear in the forum. And if you're giving me the opportunity to break things, please back up!

If its not too big, a copy of your phpbb database might be a good start, then I can play off-line.
[ Edited Jun 16 2006, 01:12PM ]
Go to top
Jesper L
Jun 17 2006, 11:42AM
Registered Member #25995
Joined: Mar 21 2006, 07:59AM
Location: Denmark
Posts: 71
Hmm...all I get is this message:
Attempting to connect to phpBB database [ Phpbb2 @ localhost ] ...
Successfully connected to phpBB and e107 databases ...

Nothing else happens - any idea?
Go to top
Website
steved
Jun 17 2006, 12:37PM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8942
Jesper L - you followed the instructions OK about logging in as admin? And you've installed the forum plugin?
And you realised there are two files now? phpbb2_new.php, and import_mapper.php?
Go to top
Jesper L
Jun 17 2006, 12:39PM
Registered Member #25995
Joined: Mar 21 2006, 07:59AM
Location: Denmark
Posts: 71
steved wrote ...

Jesper L - you followed the instructions OK about logging in as admin? And you've installed the forum plugin?
And you realised there are two files now? phpbb2_new.php, and import_mapper.php?


Do I have to use the import_mapper as well?
Go to top
Website
joe-k
Jun 17 2006, 12:42PM
Registered Member #28173
Joined: Jun 09 2006, 07:19AM
Posts: 27
upload mapper to the same folder as the import script

what info would you like steved?
Go to top
Jesper L
Jun 17 2006, 12:44PM
Registered Member #25995
Joined: Mar 21 2006, 07:59AM
Location: Denmark
Posts: 71
Hehe..forgot that one.

Worked now - thanks
Go to top
Website
steved
Jun 21 2006, 12:14AM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8942
Sorry Joe, missed your post.

Depends a bit what you're willing to do.

If your phpbb database is small enough for me to have a copy , probably first move is for me to try and run that on my own PC to see whether I can replicate the problem.

Otherwise any debugging would have to be done on your actual site (or a test site), for which I'd need an admin access to E107 plus FTP access to the E107 directories and the access information for the phpbb database.

Incidentally, have you tried a different browser in case that's the problem?
Go to top
Go to page  1 2 3 4  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System