myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


upgrade to phpbb3 progress
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Forum Blogs
Site Admin
Site Admin
Joined: 22 May 2005
Posts: 19357

View user's profile Send private message Send e-mail

A Blog by - admin (no pm's please)



Virtual Cash: 43000
phpbb3 comes with an upgrade system.

The first thing I notice about it, is that is can be expected to return fatal errors. For example if two users have names that conflict under the new rules for user names.

As such it makes sense that we maintain the basic structure of this system. e.g. You don't ask for an upgrade and wait for us to do it.

You go into the upgrade function yourself and if need be have to deal with some issues yourself and try again.

Technically if you start off in your forums phpbb2 admin panel you are totally isolated from the phpbb3 environment.

So phpbb3 will have to be called by bringing up a web page that will have to be passed some token that you have the authority to perform the upgrade.

I was thinking that you would go to a web page like:

http://myforum.phpbb3.myfreeforum.org/upgrade.php?auth=jkasnjdsn

and so in effect this web page would be on the same system as the final forum, but I think:


http://slarti.myfreeforum.org/con...amp;forum=myforum.myfreeforum.org


is going to be more sensible. This will be going to a cut down system that is in many ways more restricted in what it can do, but which crucially will be able to access both old and new versions of the forum.

It will I think work a little differently from our standard client server architecture, as it will know that it is on the same server as source and destination it can be a lot more direct, which might duplicate code, but only code that is practically as short as the code required when working client server.


_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Author Message
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jan 27, 2008 8:42 pm    Post subject: Reply with quote

A very small step 1 made, the phpbb3 converter is installed but has no idea what to do as it wants a blank phpbb3 there for it to install to.

Next step I guess is to give it what it wants.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Jan 28, 2008 1:54 pm    Post subject: Reply with quote

A few more microscopic steps forward, removing extraneous options from the installer so you can only see the converter, adding our own intro text and making the name of the forum to be converted get passed around.

This means we are up to the previous stopping point, but cleanly.

Now the real work has to start  
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Jan 28, 2008 4:56 pm    Post subject: Reply with quote

database blank now created along with associated paths etc.

This is actually pretty good going, as not least the code is geared to raid on the fly the same information used when creating forums, it would have been easier to just copy stuff, but that would create two sets of code to be maintained.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Jan 28, 2008 8:24 pm    Post subject: Reply with quote

Quite close now to actually calling the conversion process

Of course even if this works it will not yet convert any of the extras.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Jan 28, 2008 8:59 pm    Post subject: Reply with quote

Got past the options verification stage, to the user this will look annoying, but thats tough it only happens once.

Basically it verifies options that the user will not actually get to enter as the values are now prefilled. But there is little point in disrupting the structure of the conversion process to remove this.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 29, 2008 12:26 am    Post subject: Reply with quote

An upgrade is currently under way, a lot of errors though as it has got some paths wrong. Not exactly surprising as we are running a conversion in one phpbb3 directory structure that is in fact aimed at populating another directory structure  
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 29, 2008 3:23 am    Post subject: Reply with quote

Last conversion of the night still bombed out at the very end, but has produced what looks like a working forum
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 29, 2008 11:35 am    Post subject: Reply with quote

Just been struggling in the office with php creating "barmy" directory permissions, the "barmy" term coming from comments from a user on the php manual pages having similar issues.

I am trying to get avatars to copy across which is the final ordinary part of an upgrade before we get to the myff profile field parsing.

I may leave people to recreate their own portals, there is just to much risk of dragging issues across to phpbb3, as not all portals are on phpbb3 and there is the odd little difference.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 29, 2008 1:19 pm    Post subject: Reply with quote

Looks live avatars are making it across, but fail to show.

Also looks like there is a bug in the avatar display code on our version of phpbb3 anyway.

problem with the upgrade is the database path to the avatars gets set wrong.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 29, 2008 1:30 pm    Post subject: Reply with quote

and finally avatars show

From here on in it should be downhill.

The profile updates will be tricky but perfectly doable.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 29, 2008 6:59 pm    Post subject: Reply with quote

In theory the code is there to populate the phpbb3 profile fields from the xprofile fields.... but the code is not there yet to create the profile fields in the first place.

I am a bit concerned the process will be slower than need be, there is not a direct correspondence between user ids on phpbb2 and phpbb3 and I have chickened out of mechanisms used to deal with this in the rest of the conversion code.

This also someone settles another conversion point with portals, the portals that use the database would be another source of potential problems if converted.

I think we are much better off with a solid upgrade that requires people to add a few things back in, than with trying to drag everything into phpbb3.

There is even a decent case for not converting the xprofile fields. A lot of them will correspond to features like KARMA that are not there in phpbb3, and some will duplicate other features now available in the user profiles in phpbb3.

Any thoughts?
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 29, 2008 8:16 pm    Post subject: Reply with quote

I think I am coming round to the idea of not converting.

There is a much less than perfect match, and I know I'd want an upgrade to be as solid as possible.

So I think I may quit whilst ahead and get to work on finalizing this.

The "authorization" is yet to be written, currently anyone could start an upgrade for a forum  

Let alone the tricky business of finalizing the upgrades in the DNS.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 29, 2008 9:10 pm    Post subject: Reply with quote

Well I think I'll be more secure in the decision if the code to convert is actually tried and tested, at least then it is not a cop out!
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jan 30, 2008 1:54 am    Post subject: Reply with quote

A bit more musing on the sequence of things.

Probably the next logical step once the upgrade code is written is not actually making it available, but a full phpbb3 deployment. This would actually (hopefully) be an invisible process.
In essence we have a client server system, each domain like myfreeforum.org is considered a server, each server can deal with either phpbb2 or phpbb3, but currently only one server myfabforum.org has the up to date code, the same goes for the clients, each client represents one of our servers and can again deal with either forum type, but only Zaphod is running the up to date code.
Bringing things into line is important to getting us ready for the deployment of the upgrade option.
It is one of those big rollouts that are scary from this end, but should just happen invisibly at the forum level.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Forum Blogs All times are GMT + 1 Hour
Goto page 1, 2, 3, 4  Next
Page 1 of 4
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum