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 !!
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12482
Posted:
Sun Apr 02, 2006 4:58 pm
You'd have to use phpMyAdmin to check the version number in your config table
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();
?>
DELETE version.php from your site after use!!!!!!
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
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