You are missing our premiere tool bar navigation system! Register and use it for FREE!




Nuke Cops -> Upgrading

All times are GMT - 8 Hours

Page 1 of 1

Powered by phpBB © 2001,2002 phpBB Group
NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 

Author: Evaders99PostPosted: Sun Apr 02, 2006 4:58 pm    Post subject:

You'd have to use phpMyAdmin to check the version number in your config table

Author: Legno_GenovaPostPosted: Sun Oct 08, 2006 3:06 pm    Post subject:

yes, it is in the main control panel

Author: dezinaLocation: EnglandPostPosted: Sun Oct 08, 2006 11:07 pm    Post subject:

Copy code below, name file version.php,
upload to your phpnuke site, where your mainfile.php
resides, then call via browser
i.e. younukesite.com/version.php
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 254 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Want to upgrade - how do I determine current version ? Want to upgrade - how do I determine current version ?

Nuke Cops -> Upgrading

Author: RomMasterLocation: Ireland PostPosted: Sun Apr 02, 2006 12:23 pm    Post subject: Want to upgrade - how do I determine current version ?

Hi All,
I want to Upgrade to the latest specifically because some idiot hacked my current version.
I have deleted all his stupid hacks (As far as I can see) but I would like to upgrade to the latest version, however I can't determine my current version.
You used to be able to look at the Statistics page but it's not there now (http://www.mameromlinks.com/modules.php?name=Statistics) so is there some php file or similar I can use to determine my version ?
Thanks !!
Code:
<?php
require_once("mainfile.php");
if (!isset($Version_Num))
{
  if ($result = $db->sql_query("SELECT Version_Num FROM ".$prefix."_config"))
  {
    list($Version_Num) = $db->sql_fetchrow($result);
    $db->sql_freeresult($result);
  }
  else
  {
    $Version_Num = "Unknown";
  }
}
echo "Your PHP-Nuke version is $Version_Num";
die();
?>

DELETE version.php from your site after use!!!!!!
Wink
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.182 Seconds - 334 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
added by Evaders - DO NOT REMOVE
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::