PHP-Nuke 7.8

SadistBlue

New Member
Messages
62
Reaction score
0
Points
0
Introduction:
-This is on the assumption you are using the fantastico version, and it's fully stable. (In honesty I did this cute little operation on another server, but I used cPanel X and everything else that came along with that) I hold no responsibility for what you may break. I'm unsure if fantastico can happily delete this once it's upgraded btw, never tested.

Requirements:
- FTP Tool (Worst case use the internet explorer, I used WS_FTP Pro)
- Stable Working Version of PHP-Nuke 7.7 (The one fantastico installs)

Backing it up (Optional, but highly suggested):
Download the backup of your database.
-cPanel X -> Backup -> Download a MySQL Database Backup -> ????_nuke1
Download the base of your PHP-Nuke portal
- Favorite FTP -> "/public_html/????"
- Note: Inside are folders calls blocks, modules, admins, ect. So if those are in it, you know that's it. You should really know what it's called just by creating it though.

If you decide not to back anything up, you must backup the config.php for later reference.

Download the latest PHP-Nuke 7.8:
Download
- http://phpnuke.org/modules.php?name=Downloads&d_op=getit&lid=528
Extract
- Just place it somewhere you can access it from your local desktop.

Reconfiguring the new Config.php
- Remember that old one we backed up? Go find that, and open it in a text editor. (For the challenged, just open notepad, and drag it in there.) You will find your preconfigured things fantastico assigned you.
- Now find the new config.php we need to play with. "\html\config.php" open that in a second instance of notepad.
- You are going to replace all of the new values with our older ones. Below is a sample of what variables are going to need replacing (It's not too hard too miss.)

SAMPLE (Should be the 7.8 default)
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "S·kQSd5%W@Y62-dm29-.-39.3a8sUf+W9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$advanced_editor = 0;


- End result is an updated "\html\config.php" with your older config.php values.
-Save that and move on.

Uploading...
Upload the newer version right over the old one; aka an overwrite.
- So select all the data within the folder "\html\"
- Note: Should be folders includes, language, themes, modules, ect
- Upload it as normal (It's a lot of data, so might take you awhile

Updating the Database

- Upload the "\upgrades\7.x\upgrade77-78.php" to your root PHP-Nuke folder "/public_html/????"
- Access the file via a browser. http://NAME.x10hosting.com/????/upgrade77-78.php
- You should get a confirmation that the database was updated.
- Now you can delete the "/public_html/????/upgrade77-78.php" file from your server for security reasons.

You should be able to happily function within your PHP-Nuke Portal 7.8
 
Last edited:

TheJeffsta

New Member
Messages
984
Reaction score
0
Points
0
Thanks for that tutorial, Im sure this will help those people that were writing regarding the old version of php-nuke that can be installed via Fanstico
 
Top