SW:Rebellion NetworkHosted by the SW:Rebellion Network
Welcome to Evaders Squadron Coding [ESC]
Star Wars fans, Star Wars games, Star Wars community... did we mention Star Wars? The Star Wars Rebellion Network
Home Forums Nuke Patched Core Coding Services Webmaster Services Personal
  Login/Create an Account    

Forums
· Forums FAQ
· Search
· Usergroups
· Profile
· Private Messages

Support Us
This site runs with your support. Please donate:

User Info/Login
Welcome, Anonymous
Nickname
Password
Security Code: Security Code
Type Security Code

(Register)
Membership:
Latest: Talshiar02
New Today: 1
New Yesterday: 0
Overall: 9663

People Online:
Visitors: 7
Members: 0
Total: 7

Link to Us

Affliates
RPG Boards Hosting

Evaders Squadron Coding [ESC] :: View topic - phpBB2phpNuke
phpBB2phpNuke
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    Evaders Squadron Coding [ESC] Forum Index -> Coding Services
View previous topic :: View next topic  
Author Message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Sun Jul 22, 2007 8:34 pm    Post subject: Reply with quote

Glad you got it working
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
p17blo
Newbie
Newbie


Joined: Jul 23, 2007
Posts: 3

PostPosted: Mon Jul 23, 2007 5:55 pm    Post subject: Reply with quote

Hi,

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

Do you have any suggestions?

Thanks very much in advance

Paul
Back to top
View user's profile Send private message
hacker02
Newbie
Newbie


Joined: Jul 20, 2007
Posts: 9

PostPosted: Mon Jul 23, 2007 11:30 pm    Post subject: Reply with 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.


Quote:


$dbhost = "localhost";
$dbuname = "username_DB-USERNAME";
$dbpass = "12345";
$dbname = "username_DB-NAME";

$nuke_prefix = "nuke";
$user_prefix = "nuke";

$phpbb_prefix = "phpbb";




the username should be what u use to login into your cpanel so if u use pablo, then it'd b

Quote:



$dbhost = "localhost";
$dbuname = "pablo_DB-USERNAME";
$dbpass = "12345";
$dbname = "pablo_DB-NAME";



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.
Back to top
View user's profile Send private message
p17blo
Newbie
Newbie


Joined: Jul 23, 2007
Posts: 3

PostPosted: Tue Jul 24, 2007 3:42 am    Post subject: Reply with quote

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_

Paul
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Tue Jul 24, 2007 8:41 am    Post subject: Reply with quote

If you are just seeing the text code like
Code:

"; $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
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
hacker02
Newbie
Newbie


Joined: Jul 20, 2007
Posts: 9

PostPosted: Tue Jul 24, 2007 12:25 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
p17blo
Newbie
Newbie


Joined: Jul 23, 2007
Posts: 3

PostPosted: Tue Jul 24, 2007 1:52 pm    Post subject: Reply with quote

Evaders99 wrote:
If you are just seeing the text code like
Code:

"; $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)

Paul
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Tue Jul 24, 2007 11:08 pm    Post subject: Reply with quote

It just means your server didn't enable PHP short tags. I'll make a note of that for the future
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Piacn
Newbie
Newbie


Joined: Sep 11, 2007
Posts: 1

PostPosted: Tue Sep 11, 2007 2:08 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Tue Sep 11, 2007 4:55 pm    Post subject: Reply with quote

You must upgrade your phpNuke forums using the BBToNuke packages.

Download them at http://www.nukeresources.com

They are not cumulative. So you will need to get BBToNuke 2.0.21 and 2.0.22
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
harrienak
Newbie
Newbie


Joined: Nov 19, 2007
Posts: 2

PostPosted: Mon Nov 19, 2007 11:14 am    Post subject: Reply with quote

can someone help me? i read the manuals but i dont understand anything of it Sad 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
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Mon Nov 19, 2007 7:04 pm    Post subject: Reply with quote

If you've run my script, post the error messages you get here.
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
harrienak
Newbie
Newbie


Joined: Nov 19, 2007
Posts: 2

PostPosted: Tue Nov 20, 2007 4:01 am    Post subject: Reply with quote

ok i get this error:

Cannot connect to phpNuke's bbconfig table. Please check your phpNuke prefix settings in phpbb2phpnuke_config.php


my config looks like this:

$dbhost = "localhost";
$dbuname = "lotusju_phpbb2";
$dbpass = "*******";
$dbname = "lotusju_phpbb1";

$nuke_prefix = "nuke";
$user_prefix = "nuke";

$phpbb_prefix = "phpbb";

?>


i put the 2 php-files in the same directory where i installed nuke.
Back to top
View user's profile Send private message
Evaders99



Joined: Jan 11, 2002
Posts: 3064
Location: USA

PostPosted: Tue Nov 20, 2007 2:58 pm    Post subject: Reply with quote

You need to have the phpNuke tables already installed and placed in the same database as the phpBB tables.
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
nashslash
Newbie
Newbie


Joined: Jan 20, 2008
Posts: 2

PostPosted: Sun Jan 20, 2008 6:12 am    Post subject: Reply with quote

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…

Thanks in anticipation
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Evaders Squadron Coding [ESC] Forum Index -> Coding Services All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 9 of 10

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

^Top
Home Your Account Forums Downloads F.A.Q. Submit News Hosting Contact Us

© 2005 - 2007 by Evaders99. All Rights Reserved.
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters.
You can syndicate our news using the file backend.php
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 10.9 Seconds