|
|
| Author |
Message |
Truden Major

Joined: 23 Jul 2003 Posts: 280 Location: Johannesburg
|
Posted: Sun Nov 02, 2003 5:06 pm Post subject: How to upgrade PHP-Nuke |
|
|
|
Hi Friends
May be I'm asking already answerd question, but
How to UPGRADE PHPNuke
I have PHPNuke 6.8 installed.
I have the whole PHPNuke 6.9 downloaded.
I've seen the "upgrade" directory, but I can not understand what actualy must I do.
Could you help me please?
Which files must I overwrite with the new one?
Why there is no list of the new files that must be changed?
Please HELP me
Love to All
Truden _________________ Thank you for being with you! |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6257 Location: Outer Space
|
Posted: Mon Nov 03, 2003 8:17 am Post subject: |
|
|
|
We have a thread on this (How to upgrade painlessly from 6.0 to 6.5), but it does not apply to you, since you have a newer version. From the INSTALL file that came with your PHP-Nuke (tip-tip ) (setting to bold by me):
| Quote: | Upgrading from previous versions
--------------------------------
To upgrade a prevoius PHP-Nuke installation to this new version you need to edit the selected upgrade file from upgrades directory and launch your web browser to:
http://www.yourdomain.com/upgrade35-4.php
all the new tables will be added and updated automagically without touch your old data.
IMPORTANT: Remember to backup always your database before any upgrade, just in case. If something goes wrong don't come crying to me.
 |
The theory is that it should be as simple as that - point your browser to the right upgrade file and you are done. If you upgrade to a version that is more than one version numbers ahead, then you should apply all upgrade scripts inbetween. The location of the upgrade files is somewhat different than stated above (there are 1.x , 2.x, 3.x, 4.x, 5.x, 6.x directories "inbetween"), but it's all very intuitive. That's the theory.
Remember: In theorry, theory and practice are the same thing, but in practice they are different.
So trust me about the backups. _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
Truden Major

Joined: 23 Jul 2003 Posts: 280 Location: Johannesburg
|
Posted: Mon Nov 03, 2003 10:04 pm Post subject: Let me do it now... |
|
|
|
OK
Let me do it now, like 30 years ago in the school
So, I upload everything that I already have in my server but from the newest verssion (6.9)
Befor that I config the config.php like I did with the previous version.
Everything is ready to upgrade.
Now the question comes:
What must I change in the upgrade68-69.php?
There is nothing to be changed!!!
I must just run it from my browser.
Isn't that so?
And one more question:
must I upload the sql and the docs directories
But I can still say:
Thank You, Chris
Love to All
Truden _________________ Thank you for being with you! |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6257 Location: Outer Space
|
Posted: Tue Nov 04, 2003 7:35 am Post subject: Re: Let me do it now... |
|
|
|
| Truden wrote: | Now the question comes:
What must I change in the upgrade68-69.php?
 |
Nothing.
| Quote: | I must just run it from my browser.
 |
Exactly.
| Quote: | must I upload the sql and the docs directories
 |
No. You only need to upload the relevant upgrade-xxx.php file, in order to be able to point your browser to it.
The sql directory is not needed, as you already installed the nuke.sql file in it when you installed the previous version, didn't you? We are still talking about an upgrade, not a fresh install, don't we?
The docs directory contains the PHP-Nuke HOWTO, so I definitely advise you to install it.
Check the Formats section on my site though - there is a PHP-Nuke module version of it and I don't know if FB included it in the docs. For a PHP-Nuke site, it is definitely better to install the PHP-Nuke module version of the PHP-Nuke HOWTO, since it will appear just as every other module of your site and integrate nicely in the layout. _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
Truden Major

Joined: 23 Jul 2003 Posts: 280 Location: Johannesburg
|
Posted: Wed Nov 05, 2003 9:22 pm Post subject: |
|
|
|
OK
Thank You, Chris
I'll do so.
But must I upgrade if I'm happy with my curent version?
Just an advice, please.
Next time I'll give you nice mathematical present in the Maths forum.
Be ready
Love to All
Truden _________________ Thank you for being with you! |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6257 Location: Outer Space
|
Posted: Thu Nov 06, 2003 6:50 am Post subject: |
|
|
|
| Truden wrote: | But must I upgrade if I'm happy with my curent version?
 |
Not at all! If you don't badly miss any of the new features (of whatever version), if you have taken away all the bugs that bothered you, then why introduce new bugs? Remember, each version may correct old bugs, but introduces new ones...
Especially the way PHP-Nuke is being versioned, there is no reason to get in panic if the 7.x version is out, while you are still working with an "old" 6.x one. The major number in PHP-Nuke versions have nothing to do with major changes in the software, or incompatibilities with older major versions.
You may be wondering why this is so, so let me explain:
Normally, major version numbers, like the "6" in 6.x and the "7" in 7.x, imply that a new, major change has happened and that compatibility with the previous major version is not assured anymore because of that.
With PHP-Nuke, it means that Francisco got out of digits in the decimal system and was forced to use a higher digit of the "major" category: every month, with predictable timing, he brings out a new version with a higher minor number. This is because he promises his club member exclusive access to that "hot" version for one month, so, if they don't get a new version every month, they will feel that they pay a monthly fee for nothing. Thus, versions come out because they *must* come out - and they are just numbered sequencially 6.1, 6.2, 6.3, ..., 7.0, 7.1, 7.3....
This is marketing (as a mathematician I am tempted to say it is just sequencial numbering in 0,1 steps... ) and not real versioning, so don't worry about new versions, unless...
...well, as I said, unless you burn to use some new feature it introduces.
| Quote: | Next time I'll give you nice mathematical present in the Maths forum.
Be ready
 |
I look forward to see it.  _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
Truden Major

Joined: 23 Jul 2003 Posts: 280 Location: Johannesburg
|
Posted: Fri Nov 07, 2003 5:41 pm Post subject: Thank You, Chris :) |
|
|
|
Thank You, Chris
Very sharp and descriptive (like always)...
Thank You for the detailed answer.
It fully reflects my understanding of the subject, but I wanteted to hear it from You.
Your answer made me to take the decision to stay with PHP Nuke 6.8
Love to You and All
Truden
You got my promissed present in the Math Forum  _________________ Thank you for being with you! |
|
| Back to top |
|
 |
zadreamer Private

Joined: 12 Mar 2005 Posts: 4
|
Posted: Sat Mar 12, 2005 5:49 am Post subject: |
|
|
|
chris,,
what if i want to install a fresh copy of pnpnuke 7.6 patched and import the phpnuke 7.5 database to the new one ( not upgrading ) ???
plzzzzz help me with this  |
|
| Back to top |
|
 |
Skull Dragon Warrant Officer

Joined: 07 Feb 2005 Posts: 67 Location: Jackson, New Jersey
|
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6257 Location: Outer Space
|
Posted: Mon Mar 14, 2005 1:04 pm Post subject: |
|
|
|
| zadreamer wrote: | chris,,
what if i want to install a fresh copy of pnpnuke 7.6 patched and import the phpnuke 7.5 database to the new one ( not upgrading ) ???
 |
When you upgrade, you do exactly that - you replace the old files with the new ones, then start the upgrade scripts. So there is no real difference between your fresh install and an upgrade, as long as you only install the files of the fresh install, not the database (which will be imported from the old installation by the upgrade scripts). _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
|
|
 |
|
|