HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


IPB 2.0.x -> OCF import failure

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#21829 (In Topic #5253)
Avatar

Fan in training

I have an older copy of IPB 2.0.4 running that I want to import into a new setup of ocPortal's forum.  I've gone down the list one item at a time and so far gotten Usergroups, Members, Member Files, Custom Comcode, Custom Profile Fields, Categories, Forums, and Topics.  I'm on the step to import the Posts and it'll run for maybe a minute or two then stop with an error message.

500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

I've got about 3500 posts in the old IPB forums.  The only special addon I have in IPB is some code changes to add [spoiler][/spoiler] tags to the system which are only used in a couple posts.  I've tried running it under IE7 and FireFox to the same error.  My PHP error file is empty as is the ocPortal error file.  I've read through these forums and made several php.ini changes to increase memory amounts and a couple other changes but nothing seems to help so far.
Back to the top
 
Posted
Rating:
#21848
Avatar

Welcome to the forums brentil.

As this seems to be a server malfunction, or at least a configuration issue, ocProducts can't treat it as a bug. However, if you'd like us to have a look at it for you and make sure your import does get successfully completed, then we could do this in the 'free consultancy' hours that come with a registration.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#21874
Avatar

Fan in training

Thanks for the reply.  Unfortunately the idea was to avoid paying more money which is why I wanted to ditch IPB.  I'm just running forums for a small group of friends so we can keep in touch with each other so we've only got like 5-6 active members.  I'll keep trying things then and see if I can get it working.
Back to the top
 
Posted
Rating:
#21877
Avatar

There are a few ways to get a free licence as detailed on the Licensing page of our main website. It takes a bit of time, but if you manage one of those then we'll get this sorted for you :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#21878
Avatar

Fan in training

Chris Graham said

There are a few ways to get a free licence as detailed on the Licensing page of our main website. It takes a bit of time, but if you manage one of those then we'll get this sorted for you :).
Thanks, I'll look into those and see if any of them are options i can try to do/fulfill.
Back to the top
 
Posted
Rating:
#21880
Avatar

Just so this is out there, we aren't the only people capable of fixing this. If you poke around in your web server's error log, you might get a clue or two as to what it is, and possibly patch it yourself.

Back to the top
 
Posted
Rating:
#21884
Avatar

Fan in training

It's a hosted system so unfortunatly I don't have access to the system logs just my php error logs.  However I could always install it on a local test server and do the conversion and then move the DB up along with the portal files.  Well I've got some things to try now so I'll go back to it.  Thanks again.
Back to the top
 
Posted
Rating:
#22192
Avatar

Fan in training


Just wanted to comment back that I got past this issue.  Even though I set the php.ini execution limit my host still had a CGI time limit in place so it would never let it complete in one run.  I moved the scripts down to my test server (IIS instead of Apache) and I set the php.ini execution limit to a high value and the IIS CGI timeout limit to and equally high value.  Even my local test server would still time out after about 4-5 minutes.  However I realized that data was still going into the DB each time I ran it so I just had to keep running the Posts import about 20 times.  The only problem with the imported posts is any post that had a QUOTE tag in it looks bad since it appears it wasn't imported correctly.  My forum is now riddled with;

Comcode validation error (The tag'html' was closed but it was not the last tag in that level to beopened, which was 'semihtml') at line 0
Source
"old post riddled with html and such"
Back to the top
 
Posted
Rating:
#22193
Avatar

Fan in training

Also every time I make a post with two spaces after a period here and on my new forums I get eronius   code as you can see in the post above.
Back to the top
 
Posted
Rating:
#22195
Avatar

Fan in training

Most of the QUOTED items on the forum come out as they do above, but some come out like this (minus the spaces around the code items I put in to get them to show);

QUOTE(MemberName @ Jul 20 2006, 08:21 AM)
Old Post text
[ right ][ snapback ]6814[ /snapback ][ /right ]
Back to the top
 
Posted
Rating:
#22209
Avatar

I'm unable to reproduce the   problem. Could you tell us what web browser you're using, and how you made the post? We need to know if you used the WYSIWYG editor, and if you previewed before you posted.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#22210
Avatar

For my sake I'm going to number each of the problems here:

1)  . Status: awaiting further details to help reproduce the problem.

2) Ugly quotes. Status: this is due to how IPB stores the quotes using pure HTML. If you look at the HTML source then I believe you'll find references to CSS class names from IPB. You need to copy those CSS classes from IPB's stylesheets into ocPortal's.

3) html/semihtml/closing. Status: Investigating

4) Left-unparsed IPB-BBCode. Status: Investigating


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#22215
Avatar

This bug report deals with problems (3) and (4):
ocPortal.com - Entry: IPB2 import problems


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#22220
Avatar

Fan in training

I started with the WYSIWYG using FireFox 2 beta20060815 (todays nightly build) and did a preview and made my post.

I'm going to do some testing because now I realize I had done more then just post.  I had added the pasted content from the other forum, then added color coding in the WYSIWYG then posts.  After posting I saw erroneous color tags so I re-edited the post.  Going to see if I can replicate it now.

Comcode validation error (The tag'html' was closed but it was not the last tag in that level to beopened, which was 'semihtml') at line 0

Source


Back to the top
 
Posted
Rating:
#22221
Avatar

Fan in training

There we go.  It's when I copy/paste data from the forums I have the imported data into it must be bringing over object data that I don't see at first.  When I highlight the line and use the WYSIWYG to make that line of code red then I click Preview it gives me an error at the bottom.  I didn't see that the first time I posted, I just hit preview then edit post.  So this is actually my fault for not seeing the error message the first time and continuing to post anyways.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: