PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Rikk03
Worker
Worker


Joined: Feb 16, 2004
Posts: 164

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

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
Worker
Worker


Joined: Feb 16, 2004
Posts: 164

PostPosted: Sat Apr 24, 2004 5:17 pm Reply with quote Back to top

99 posts ........lol .......thought id make it 100 and get my extra star Mr. Green
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
AYK
Hangin' Around


Joined: Apr 03, 2004
Posts: 32

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

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
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Apr 25, 2004 6:29 am Reply with quote Back to top

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Rikk03
Worker
Worker


Joined: Feb 16, 2004
Posts: 164

PostPosted: Sun Apr 25, 2004 7:22 am Reply with quote Back to top

So i gathered .......definately best to be clear about these things with all the sniping going on.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum