Author |
Message |
Rikk03
Worker


Joined: Feb 16, 2004
Posts: 164
|
Posted:
Sat Apr 24, 2004 5:11 pm |
|
My mistake .......oscnukelite is based on nuke 7.1 as I discovered when messing with your nukesql.php file. I was curious to see how it worked and after backing it up and finding that i needed to edit out 3 lines of code in total in the mainfile.php and then renamed the "catelog" module to "no catelog" (notice the space) and similarily with the catelog admin, I found the script telling me that it had been upgraded from 7.1 to 7.2.
Please note that i did not upload the new 7.2 files. So anyway the site seems to work ok ........after unediting out the code and renaming the osc section correctly.
I guess my question is - did the sql database upgrade really work? And what are the major changes in 7.2 - different from 7.1.
I guess you could say that i want to adapt your 7.1 nuke upgrade to 7.2 FOR oscnukelite
What have i forgotten to consider?
Regards
Richard |
|
|
|
 |
Rikk03

|
Posted:
Sat Apr 24, 2004 5:17 pm |
|
99 posts ........lol .......thought id make it 100 and get my extra star  |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sat Apr 24, 2004 7:23 pm |
|
I don't have an 7.1 to 7.2 upgrade so I'm not sure what you're referring to
The best way to see the changes is to just look in the 7.2 changes.txt file and the upgrade sql file. |
|
|
|
 |
AYK
Hangin' Around

Joined: Apr 03, 2004
Posts: 32
|
Posted:
Sun Apr 25, 2004 3:08 am |
|
These are the contents of the upgrade file. I understand pretty much what it means, if you want to know what means what, just ask.
Code:<?php
######################################################
# File to upgrade from PHP-Nuke 7.1 to PHP-Nuke 7.2
# After you used this file, you can safely delete it.
######################################################
# -= WARNING: PLEASE READ =-
#
# NOTE: This file uses config.php to retrieve needed
# variables values. So, to do the upgrade PLEASE copy
# this file in your server root directory and execute
# it from your browser.
#
# IMPORTANT: PHP-Nuke 7.2 doesn't support WebMail module
# anymore. If you still use this module just apply this
# upgrade as is, if you want to remove it proceed to
# delete /modules/WebMail folder and uncomment the two
# queries lines bellow (WebMail Table Remove).
######################################################
include("mainfile.php");
// Forums Table Modification
$db->sql_query("UPDATE ".$prefix."_bbconfig SET config_value='.0.7' WHERE config_name='version'");
// WebMail Table Remove
// IMPORTANT: UNCOMMENT THE FOLLOWING LINES TO REMOVE WEBMAIL MODULE TABLES
//$db->sql_query("DELETE TABLE ".$prefix."_popsettings");
//$db->sql_query("ALTER TABLE nuke_config DROP footermsgtxt, DROP email_send, DROP attachmentdir, DROP attachments, DROP attachments_view, DROP download_dir, DROP defaultpopserver, DROP singleaccount, DROP singleaccountname, DROP numaccounts, DROP imgpath, DROP filter_forward");
// PHP-Nuke Version Number Update
$db->sql_query("UPDATE ".$prefix."_config SET Version_Num='7.2'");
echo "PHP-Nuke Update finished!<br><br>"
."You should now delete this upgrade file from your server.<br><br>";
?>
|
By the way, I just upgraded last week, and it's working great. Good luck  |
|
|
|
 |
Raven

|
Posted:
Sun Apr 25, 2004 6:29 am |
|
Rikk03 wrote: | My mistake .......oscnukelite is based on nuke 7.1 as I discovered when messing with your nukesql.php file. | When I said I didn't have a 7.1 to 7.2 upgrade file, I meant reference to his statement of your just to be sure he wasn't thinking that I (Raven) had issued an update  |
|
|
|
 |
Rikk03

|
Posted:
Sun Apr 25, 2004 7:22 am |
|
So i gathered .......definately best to be clear about these things with all the sniping going on. |
|
|
|
 |
|