Glad you got it working _________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
Hope you can help. I scoured the net looking for something to allow me to use my existing phpbb with php nuuke. Several hours later and several dead links I find quite a few pointers to this thread.
I have downloaded the script and followed these steps:
1) Complete dump of my existing phpbb sql
2) Changed the create & use statements in above file and created a new nuke mysql db
3) Run the nuke sql file on the same db
4) created a user with full access to db
5) changed config.php on phpnuke
6) created admin in phpnuke
So I have a DB with 2 lots of tables (one set prefixed nuke and the other prefixed phpbb). I am able to get in and adminster the phpnuke site
I have amended your config file and uploaded the two php files in the root folder for phpnuke and load the phpbb2phpnuke.php in my browser and I get a 'load' of the following errors:
Quote:
"; $dbcheck = mysql_connect($dbhost, $dbuname, $dbpass); if (!$dbcheck) { echo "
Cannot connect to database server. Please check your database settings in phpbb2phpnuke_config.php
"; echo "
I have checked and doublechecked and the settings seem fine.
I have even made the specified mysql user a full admin of ALL dbs
if it says that then you have it wrong the script can't lie, so make sure you have it right, tell me did u insert the user prefix in ur dbuname and dbname, it should be like this.
another thing that people get mixed up is the "$dbpass" is actually your password to the database, the one you entered the the user when u created it and added it to the database, so make sure you are using that password and not the password for your cpanel.
Well I think that something else is wrong assuming that the script can't lie!
Quote:
if it says that then you have it wrong the script can't lie, so make sure you have it right, tell me did u insert the user prefix in ur dbuname and dbname, it should be like this.
No, I entered just the db name, the db username and the db user password, no prefixs, double chekced against the php-nuke config.php which is exactly the same.
Quote:
the username should be what u use to login into your cpanel so if u use pablo
I am not using cpanel. I am using a local WAMP server currently but will be migrating this over to my live hosted server which is not cpanel either.
Quote:
another thing that people get mixed up is the "$dbpass" is actually your password to the database, the one you entered the the user when u created it and added it to the database, so make sure you are using that password and not the password for your cpanel.
Yep I specifically setup a new DB with it's own username and password for this task and as I mention above the same credentials are working with the PHP-NUKE install.
What is the $user_prefix variable used for? Could this possibly need changing for something else?
To confirm, my nuke tables are prefixed with nuke_ and my phpbb tables are prefixed with phpbb_
"; $dbcheck = mysql_connect($dbhost, $dbuname, $dbpass); if (!$dbcheck) { echo "
Cannot connect to database server. Please check your database settings in phpbb2phpnuke_config.php
"; echo "
Then something may be corrupted. The file is a PHP file and should be parsed when executed by your server. It shouldn't show the actual code.
If what you're seeing outputted is just
Code:
Cannot connect to database server. Please check your database settings in phpbb2phpnuke_config.php
then one of your config settings must be wrong. You should be able to get the correct settings from your current phpNuke or phpBB config _________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
actually i think you should remove the "_" from your prefixes in phpbb2phpnuke.php because i had it like that and it didnt work for me, and when i removed the underscore it did work so try that.
"; $dbcheck = mysql_connect($dbhost, $dbuname, $dbpass); if (!$dbcheck) { echo "
Cannot connect to database server. Please check your database settings in phpbb2phpnuke_config.php
"; echo "
Then something may be corrupted. The file is a PHP file and should be parsed when executed by your server. It shouldn't show the actual code.
Yep you are right, but the problem is with your download. I took a further look at the download and both files are missing php beside the first <?. I don't know enough about php to state whether this is only applicable in certain versions of php but adding this to both files allowed it to work (somewhat as it errored on the significant parts - I can work on that tho)
It just means your server didn't enable PHP short tags. I'll make a note of that for the future _________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
I run a phpBB standalone version [2.0.22] and as I understand it the standalone version has to be the same in phpnuke when you want to convert a standalone version to a nuked version. But the "latest" phpnuke version comes with phpBB version [2.0.20].
So what do I do? Wait for a nuke version that has [2.0.22] in it?
They are not cumulative. So you will need to get BBToNuke 2.0.21 and 2.0.22 _________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
can someone help me? i read the manuals but i dont understand anything of it cause i dont have any mysql experience.
So i already get stuck with merging the phpbb-db with the nuke one.
this is what i tried:
- i installed a clean nuke-installation.
- then i made a backup of my phpbb-forum
- then i opened with phpmyadmin the nuke-db and tried to import the phpbb-db but somehow it doesnt work. I also renamed some phpbb tables with the nuke-prefixes.
will be very thankfull if anyone could give me some help
If you've run my script, post the error messages you get here. _________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
You need to have the phpNuke tables already installed and placed in the same database as the phpBB tables. _________________ Evaders99 Webmaster Administrator Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -
I’ve been scratching my head over this for a few days now and I came across your site including this tool. Before I start could you tell me if you could foresee any problems for me my phpbb version number is 2.0.22 and I’ve installed php 7.9 and the BB version is phpBB port v2.0.7.
what is the lastest script i need to download and use please?
I can see you’ve been asked about 2 million times already, I am quite a novice really too. Willing to learn. But please put it simple if I dare need to use the phpmyadmin tool…
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