| Author |
Message |
XtremeMotocross
Lieutenant


Joined: Aug 06, 2003
Posts: 217
Location: USA
|
Posted:
Wed Aug 06, 2003 6:27 pm |
  |
I down loaded and installed 6.7 from www.phpnuke.org but when i go to statistics it says that i am running phpnuke version 6.5...is the correct, is this a bug and should i upgrade. And if i do have to upgrade how exactly do i upgrade...im a newbie
thanks,
www.xtrememotocross.com |
|
|
     |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Wed Aug 06, 2003 6:29 pm |
  |
6.7's nuke.sql has the version incorrect, to fix it run this from phpMyAdmin:
UPDATE nuke_config set Version_Num = '6.7'; |
_________________ Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources |
|
    |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Wed Aug 06, 2003 6:30 pm |
  |
That is an error in the 6.7 download. Use phpMyAdmin and edit the nuke_config table an change the version to 6.7 |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
XtremeMotocross
Lieutenant


Joined: Aug 06, 2003
Posts: 217
Location: USA
|
Posted:
Wed Aug 06, 2003 6:31 pm |
  |
i dont have phpmyadmin...can i do it with mysql-front...and is it any different? |
|
|
     |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Wed Aug 06, 2003 6:35 pm |
  |
|
    |
 |
XtremeMotocross
Lieutenant


Joined: Aug 06, 2003
Posts: 217
Location: USA
|
Posted:
Wed Aug 06, 2003 6:43 pm |
  |
i tried to change it...when i did that and uploaded it when i went to my stats page it said phpnuke version: there was nothing there. Then i tried another thing and it just put it back to version 6.5...do you know mysql-front at all raven? |
|
|
     |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Wed Aug 06, 2003 6:47 pm |
  |
Save the following to a file, name it something like version.php, upload it to the same place where mainfile.php is and point your browser to it (i.e. http://www.yoursite.com/version.php) Delete it once done.
| Code: |
<?php
include("mainfile.php");
$db->sql_query("UPDATE ".$prefix."_config SET Version_Num='6.7'");
echo "PHP-Nuke Update finished!<br><br>"
."You should now delete this upgrade file from your server.";
?> |
|
_________________ Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources |
|
    |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Wed Aug 06, 2003 6:50 pm |
  |
Nope. I assumed you did. You need a tool that can read and update MySQL tables.
You could also add this line of code to your config.php after the $sitekey line.
UPDATE nuke_config set Version_num='6.7';
Then call up your site and the setting will be changed. Then remove that line from config.php. |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
XtremeMotocross
Lieutenant


Joined: Aug 06, 2003
Posts: 217
Location: USA
|
Posted:
Wed Aug 06, 2003 6:52 pm |
  |
|
     |
 |
|
|