>>
Site Map
>>
Forums
>>
phpBB Module
Forum module - topics in forum:
phpBB Module - Discussions relating directly to the PHP-Nuke phpBB module.
Upgrade from 2.0.7 to 2.0.8 - Fatal Error
My forum's got a very old version (2.0.7) and I know that I have to upgrade everything step by step. So I downloaded the BBtoNuke 2.0.8 Upgrade Pack from
here and I overwrote all files and uploaded the updatedb.php-file to modules/Forums/ and tried to run this over this link:
http://mydomain.com/modules.php?name=Forums&file=updatedb
But everytime I try to run this, it says:
Fatal error: Cannot redeclare makepass() (previously declared in /usr/export/www/vhosts/funnetwork/hosting/abi2009vpksjg/mainfile.php:82) in /usr/export/www/vhosts/funnetwork/hosting/abi2009vpksjg/mainfile.php on line 81
Did I do anything wrong?
Hope you can help me!
Great site!
~Phil
If you downloaded BBtoNuke, there is a upgradedb which needs to be uploaded into the root. Then execute is like http//www.YOUR-DOMAIN.com/upgradedb.php
But what package you downloaded is still on 2.0.7?
Most of the recommended packages are on 2.0.17.
BL
The file is not in the forums dir and therefore shouldn't be run from there.
It should be run in your nuke root.
http://mydomain.com/updatedb.php
But even so it doesnt do much except update the version number which could've been done manually in the db if you were having problems.
| Code: : |
<?php
######################################################
# File to upgrade from BBtoNuke 2.0.6 to 2.0.7
# 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.
######################################################
include("mainfile.php");
// Forums Upgrade
$db->sql_query("UPDATE ".$prefix."_bbconfig SET config_value='.0.8' where config_name='version'");
echo "BBtoNuke Update finished!<br><br>"
."You should now delete this upgrade file from your server.<br><br>";
?> |
Okay, thanks for your replies. I ran the script but it took me back to the index of Nuke, without any information.
Now the admin-panel of the forum doesn't work...
| Code: : |
Warning: main(db/mysql.php) [function.main]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/abi2009vpksjg/db/db.php on line 57
Warning: main() [function.include]: Failed opening 'db/mysql.php' for inclusion (include_path='.:') in /usr/export/www/vhosts/funnetwork/hosting/abi2009vpksjg/db/db.php on line 57
Fatal error: Cannot instantiate non-existent class: sql_db in /usr/export/www/vhosts/funnetwork/hosting/abi2009vpksjg/db/db.php on line 93 |
And I don't know why I have such an old version, but how can I upgrade the forums, it doesn't work!? 