What should I know before I upgrade? [message #159686] |
Tue, 16 June 2009 19:53 |
thebugnut
Messages: 87 Registered: June 2005
Karma: 0
|
Member |
|
|
I am currently using FUD 2.6.15 and want to get up to date. Do I need to update my database sequentially with ever release? or can I I just from 2.6 to 2.7 and finally 2.8.1
I would like to avoid spending unnecessary time doing update after update but at the same time I don't want to kill the forum.
|
|
|
|
|
|
|
|
|
|
|
Re: What should I know before I upgrade? [message #159699 is a reply to message #159694] |
Wed, 17 June 2009 01:54 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
thebugnut wrote on Tue, 16 June 2009 15:37 | Need more "idiot proof" instructions please.
|
There is No such thing! They just keep creating better idiots, all we can do is try and educate those that can and will learn, but I will try, if you will.
naudefj will correct me on this if I am wrong so don't take my word as gospel, I am no expert.
It's long so click the spoiler. (Don't blame me you asked for idiot proof).
Toggle Spoiler
It sounds a lot more difficult than it actually is, it's just difficult to wrap your mind around unless you are a coder or programming type and very familiar with the system.
But:
Try and think of it like a video tape of your grandmother's birthday!
You stick it into the vcr and press a button and it plays, and depending on your wishes, knowledge and ability you can leave it as is or you can attach a mike and dub sound describing what is happening etc etc.
All is well and good with the world! Until someone presses the record buttons and suddenly it's all gone replaced by something else.
That's a simplistic explanation of what happened to all your hard work, Now if you have a backup copy you can fairly easily rebuild it, or maybe you just have a copy of the original before you added your changes, in which case you have to start from scratch (or give up).
You with me so far?
Now with your tape you can protect it by popping that little tab out of the back, which prevents it from being recorded over, unless it is deliberately taped over to allow it to be recorded, and you have the only access to tape (you are the tape admin so to speak).
You have been around long enough to know that periodically the developers come out with an upgrade, and when they do and you apply it you are recording over what is already on the program including any changes you have made with the default files and data the developers use for the upgrade.
Got that?
So if you are like most people the only significant changes you made to your forum installation beyond the global settings and permissions, would be to change the CSS, header, footer, theme files and maybe the registration agreement and or welcome messages (if you have done more than that you should be helping others rather than asking for help).
And these are all files that are derived from the default and path info templ files and rewritten when the upgrade is done.
Just so you understand; these are all files that are seldom if ever changed by the developers, in fact I believe the recent change to the header is the only one I can recall since 2006, So what you need/want to do is make your own Tmpl files and thus protect your changes (Just like popping the tab or using the tape) that way you save all your hard work.
That way when all your changes are re written during the upgrade, they are automatically restored when the themes are rebuilt, But! ..................Wait for it!
They are rebuilt using your Tmpl files instead of the default tmpl files, and all of your modifications are changed to your tmpl files when you make them so you save yourself all that hard work because it has already been done for you By you.
At the very worst you will need to reinstall/upload your tmpls and rebuild your themes by pressing the rebuild key in the themes manager. And to be honest there is not much reason for the developers to modify the header, footer, CSS, or the welcome registration agreement etc to begin with, and it would not matter much any how because you have it your way and probably want to keep it that way.
By now you are asking but where are instructions on how do this, which means that you forgot that you asked for idiot proof instructions!
Naudefj has already told you how (in his own way), and where, (in his own way) just as I am doing now! Just as you are and have done for others, and as I hope you will do for others in the future.
I am just now grasping the extent of the templating system myself although I do comprehend it and that is what I am trying to do now by helping you comprehend it, but I am not writing this just for you I am writing it for myself and for all those who will come along later.
The blind leading the blind so to speak, but if you are a sharp cookie by the time I finish writing the idiot proof version you will already understand it better, and I hope this will help some newbie understand.
It sounds to me like you are making all your changes to your default files, and as long as you do that they will be over written more often than you like.
I should have your how-to done tonight or tomorrow at the latest!
Hope this helps, young jedi
"I'm a Witcher, I solve human problems; not always using a sword!"
[Updated on: Wed, 17 June 2009 01:55] Report message to a moderator
|
|
|
Re: What should I know before I upgrade? [message #159704 is a reply to message #159699] |
Wed, 17 June 2009 14:52 |
thebugnut
Messages: 87 Registered: June 2005
Karma: 0
|
Member |
|
|
Thanks for all the info.
I re-installed 2.6.15
Imported my Datadump. (Everything is Good)
Went to my Theme Manager and and created a new template set based on the "Default"
Then created a new Theme called "hotrod" using my new "hotrod" template
I enabled the theme and everything was good.
Download and ran the 2.8.1 upgrade.
Theme is now all the default for 2.8.1 (All blue and stuff)
Went to admin, Enabled the "hotrod" theme. Everything is also Blue like the default. So even tho I pulled out the tab on my video tape it looks like someone put a piece of tape over the hole and recorded over my video.
Any other ideas?
I thought someone told me I have to do the updates all in order. But I can't find the replay to any of my posts on this issue in the past. This issue it the main reason I have avoided upgrading.
[Updated on: Wed, 17 June 2009 14:55] Report message to a moderator
|
|
|
|
|
|
|
|
Re: What should I know before I upgrade? [message #159717 is a reply to message #159714] |
Wed, 17 June 2009 21:28 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
naudefj wrote on Wed, 17 June 2009 15:38 | Unfortunately you will have to byte the bullet and retrofit you theme to 2.8.1. Your installation is too old to try and figure out where compatibility was broken. If you were on a recent release with a non-default theme, you would have a valid support case.
|
How to create a theme on his current version would be the same would it not?
Or is there some issue I am not comprehending, it sounds to me like he is just trying to create a template set, and a new theme in one felt swoop, rather than one step at a time or am I mis understanding.
Either way, I am going to do a step by step as I make and install one, if for no other reason than I need to clarify this for myself.
This will be where I put your needful things (FUD on a thumb), which I need to do before the domain it is on expires.
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
Re: What should I know before I upgrade? [message #159718 is a reply to message #159716] |
Wed, 17 June 2009 21:34 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
thebugnut wrote on Wed, 17 June 2009 16:23 | Should I be able to upgrade to 2.7.X without killing my themes?
Maybe I will just upgrade 1 version at a time to get as close to being up-to-date as I can on my life forum. I will then setup a new 2.8.1 forum and create a new theme from scratch. This would go along with any other site changes I have planned and launch the new version of the site down the road.
What does everyone think?
|
As long as you have good backups, the original installation files, and all the proper information to go back if you need to.
If the situation were reversed, I would continue as long as someone was trying to help until I was sure what the outcome is.
You already have a test installation, to practice on, and like i said I am going forward working on the "idiot proof instructions" either way.
I am just doing it on a new installation rather than an old.
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|
|
|
|
|
|
|
|
|
|
Re: What should I know before I upgrade? [message #159794 is a reply to message #159751] |
Thu, 25 June 2009 17:40 |
thebugnut
Messages: 87 Registered: June 2005
Karma: 0
|
Member |
|
|
Well I have some time again to mess around.
I did a fresh install of 2.6.15 just they way I have in the past. Everything works fine. Then I try to import forum data from my backup and I get an error...
Fatal error: SQL Error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in
After that the site is broken. I am not doing anything different from before.
Any ideas?
[Updated on: Thu, 25 June 2009 17:40] Report message to a moderator
|
|
|
|
|
|