Author: RomMaster, Location: IrelandPosted: 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 !!
Author: Evaders99, Posted: 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_Genova, Posted: Sun Oct 08, 2006 3:06 pm Post subject:
yes, it is in the main control panel
Author: dezina, Location: EnglandPosted: 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
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();
?>