|
|
| Author |
Message |
vaiso Private

Joined: 11 Nov 2003 Posts: 5
|
Posted: Tue Nov 11, 2003 1:48 pm Post subject: How to upgrade PHP-Nuke |
|
|
|
I have installed an old version of PHPNuke from my web hosting companies auto installer.
I want to upgrade to the latest version but don't know how.
I have downloaded all the files but whiich ones do I need to upload to my webserver?
Having uploaded them what do I then do?
Many thanks for your help.
Regards
Geoff |
|
| Back to top |
|
 |
arnoldkrg President

Joined: 29 Jun 2003 Posts: 1554 Location: United Kingdom
|
|
| Back to top |
|
 |
vaiso Private

Joined: 11 Nov 2003 Posts: 5
|
Posted: Tue Nov 11, 2003 9:09 pm Post subject: Apologies |
|
|
|
I dont know what version I have - how do I find out?
Also surely I dont just upload the files from the upgrade directory do I? Do I have to upload the full installation to the current location before running these files.
If it is an old version I have to run each file in tyrn - correct?
Sincere thanks |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6257 Location: Outer Space
|
Posted: Wed Nov 12, 2003 6:44 am Post subject: Re: Apologies |
|
|
|
| vaiso wrote: | I dont know what version I have - how do I find out?
 |
We have covered this one too: Which PHP-Nuke version am I running?
| Quote: | Also surely I dont just upload the files from the upgrade directory do I?
 |
No, you also have to "run" them from the MySQL prompt on your server:
| Code: |
mysql < upgradexXX-YY.sql
|
| Quote: | Do I have to upload the full installation to the current location before running these files.
 |
If you mean the files of the new version (only those under the html directory), then yes. But you should backup your config.php file, otherwise it will be overwritten with a new, standard one and you will not be able to look at the values you had entered in the old one. Backup config.php (actually, it is a good idea to backup everything), delete the whole directory with the old version, upload the contents of the html directory of the new version, edit the new config.php, enter the values you had in the old, saved one, then upload the upgrade script(s), run it (them) and you should be done.
Ah...backup your database too! Backup, backup, backup!
| Quote: | If it is an old version I have to run each file in turn - correct?
 |
Correct. Each file that moves you from the version you have, to a higher one, from that one, to the next etc. _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
vaiso Private

Joined: 11 Nov 2003 Posts: 5
|
Posted: Wed Nov 12, 2003 6:24 pm Post subject: Apologies |
|
|
|
Chris
My sincere apologies for bothering you further.
I am having real problems. If I were to upload the html directory to our web server would you kindly help with the upgrade. I am prepared to offer something for your trouble.
I am completely stuck.
Many thanks |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6257 Location: Outer Space
|
Posted: Wed Nov 12, 2003 8:18 pm Post subject: |
|
|
|
Unfortunately I have no time these days.
But please describe your problem. Either me or someone else may be able to guide you through. _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
vaiso Private

Joined: 11 Nov 2003 Posts: 5
|
Posted: Wed Nov 12, 2003 9:17 pm Post subject: Understand |
|
|
|
I fully understand.
the reason for wanting to upgrade is :-
1. I receive errors when carrying our certain actions as a user
2. I want to take advantage of the latest enhancements
I will upload and try myself if you can confirm the procedure is as follows :-
1. Take a copy of the config file
2. Upload both the upgrade and html folders and overwrite the current ones
3. Apply each upgrade file in turn by pointing my web browser at the appropriate file
Please confirm these are the correct procedures and I will give it a go.
Many thanks |
|
| Back to top |
|
 |
arnoldkrg President

Joined: 29 Jun 2003 Posts: 1554 Location: United Kingdom
|
Posted: Wed Nov 12, 2003 9:30 pm Post subject: upgrading |
|
|
|
That is exactly right vaiso. You need all the new files in the html folder replacing the ones in your old PHP-Nuke installation. Then you need to reset the information in the new config.php file to be the same as in the old one. then call each upgrade script in turn till you get to the final one to upgrade the database tables to the new version.
REMEMBER TO BACK UP EVERYTHING FIRST _________________
 |
|
| Back to top |
|
 |
vaiso Private

Joined: 11 Nov 2003 Posts: 5
|
Posted: Wed Nov 12, 2003 10:26 pm Post subject: Many thanks |
|
|
|
| Sincere thanks for your help. Will give it a go. |
|
| Back to top |
|
 |
Guardian Staff Sergeant

Joined: 19 Sep 2003 Posts: 47 Location: UK Northwest
|
Posted: Fri Nov 14, 2003 2:12 am Post subject: Site Upgrade |
|
|
|
Let us know how you got on with the upgrade.
If you get stuck you can PM me and I'll take a look as I'm on holiday for the next couple of days. _________________ be all that you can be.. |
|
| Back to top |
|
 |
|
|
 |
|
|