Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
Rikk03
Worker
Worker


Joined: Feb 16, 2004
Posts: 164

PostPosted: Sat Apr 24, 2004 5:11 pm Reply with quote

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 Razz

What have i forgotten to consider?

Regards

Richard
 
View user's profile Send private message
Rikk03
PostPosted: Sat Apr 24, 2004 5:17 pm Reply with quote

99 posts ........lol .......thought id make it 100 and get my extra star Mr. Green
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sat Apr 24, 2004 7:23 pm Reply with quote

I don't have an 7.1 to 7.2 upgrade so I'm not sure what you're referring to Smile

The best way to see the changes is to just look in the 7.2 changes.txt file and the upgrade sql file.
 
View user's profile Send private message
AYK
Hangin' Around


Joined: Apr 03, 2004
Posts: 32

PostPosted: Sun Apr 25, 2004 3:08 am Reply with quote

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 Smile
 
View user's profile Send private message Visit poster's website
Raven
PostPosted: Sun Apr 25, 2004 6:29 am Reply with quote

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 Smile
 
Rikk03
PostPosted: Sun Apr 25, 2004 7:22 am Reply with quote

So i gathered .......definately best to be clear about these things with all the sniping going on.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©