|
» Online Users: 67 |
| 0 members and 67 guests |
| No Members online |
| Most users ever online was 611, 03-21-2008 at 11:10 PM. |
|
» .::. |
Web Hosting - web hosting, dedicated servers and web design services
|
Online Degree - search for 1000+ online degrees, online colleges & online universities.
|
Tattoo - we are a group of tattoo enthusiasts
|
Gexa Energy - your absolute best choice in electric service
|
|
|
|
|
|
|
|
|
|
|
About this Page This is a discussion on import phpBB2phpBBmodule problem. within the Purged Topics forums, part of the NM Staff category; having a rough time importing my SQL dbase.
Got the importer file, and adjusted settings.
Here I have a problem..
[... |
|
 |
|
 |
|
 |

01-18-2003, 06:03 PM
|
|
Junior Member
|
|
Join Date: Jan 2003
Posts: 15
|
|
|
import phpBB2phpBBmodule problem.
having a rough time importing my SQL dbase.
Got the importer file, and adjusted settings.
Here I have a problem..
[code] Software error:
Can't connect(DBI:mysql01.powweb.com:xxxx xxxx xxxx HASH(0x8138a94)), no database driver specified and DBI_DSN env var not set at /www/w/w_n_jb/cgi-bin/importer/phpBBusers2nukeusers.pl line 28
MySQL is not located at 'localhost' but at a different machine.
[code]
Line 28 :my $dbhnuke = DBI->connect("DBI:mysql01.host_name.com:$conf->{nuke_database}","$conf->{nuke_username}","$conf->{nuke_password}",{RaiseError => 1})
[/code]
How can I enter in my SQL servername, dbase name, uname, and pass and have it access the dbase and import old files?
|

01-18-2003, 06:47 PM
|
|
Senior Member
|
|
Join Date: Sep 2002
Posts: 2,905
|
|
|
Are you installing the phpBB ported Forums into your Nuke site or trying to setup PHP-Nuke?
mikem
|

01-18-2003, 09:55 PM
|
|
Moderator
|
|
Join Date: Nov 2002
Posts: 737
|
|
|
Mikem,
That is an error from the importer script.
WnJBirds
From first glance your script is in the wrong place, UNLESS you manually went in and changed, where it is supposed to look for the next portion of script, in each file.
How old is the script, and did you get it from the downloads section or the forums of bbtonuke ? There are three different versions.
Are you using Nuke 6/phpbbport 2.0.6 or a previous vs?
I'm guessing that you are using your own server So you just change the name 'localhost' to your server name
As far as entering the other information it tells you where to do that in the read me files. IF your prefix is NOT nuke. you will have to go through the other 6 files and check them.
I would suggest that you do a search in the bbtonuke forums, and IF you are using Nuke 6/phpbb 2.0.6 you get the importer that is available through the forums. There are pages of questions about the importer, how it works, errors etc.
|

01-18-2003, 10:09 PM
|
|
Senior Member
|
|
Join Date: Sep 2002
Posts: 2,905
|
|
I see that in his post, so I would guess he is on powweb.com servers.
He is trying to use the importer file that chatserv made to import the nuke.sql database tables.
Make sure you set in the config.php file that you upload from the html folder in the PHP-Nuke package you extracted has the correct settings for
$dbname
$dbuname
$dbpass
$dbhost
mikem
|

01-18-2003, 10:34 PM
|
|
Junior Member
|
|
Join Date: Jan 2003
Posts: 15
|
|
|
Originally Posted by mikem
|
Are you installing the phpBB ported Forums into your Nuke site or trying to setup PHP-Nuke?
mikem
|
Already installed, trying to import dbase from existing phpBB..
|

01-18-2003, 10:37 PM
|
|
Junior Member
|
|
Join Date: Jan 2003
Posts: 15
|
|
|
Originally Posted by mikem
|
I see that in his post, so I would guess he is on powweb.com servers.
He is trying to use the importer file that chatserv made to import the nuke.sql database tables.
Make sure you set in the config.php file that you upload from the html folder in the PHP-Nuke package you extracted has the correct settings for
$dbname
$dbuname
$dbpass
$dbhost
mikem
|
the one I have doesn't have $dbhost, nut has the other three.
|

01-18-2003, 10:49 PM
|
|
Moderator
|
|
Join Date: Nov 2002
Posts: 737
|
|
Does your common.pl have these?
|
Code:
|
#######################################################################
###### Configuration variables. Change these settings ######
#######################################################################
sub config {
my %conf = ( nuke_database => '', # phpNuke database name
nuke_username => '', # phpNuke database uname
nuke_password => '', # phpNuke database password
nuke_prefix => '', # phpNuke table prefix
phpbb_database => '', # phpBB database name
phpbb_username => '', # phpBB database uname
phpbb_password => '', # phpBB database password
phpbb_prefix => '' # phpBB table prefix
);
return \%conf;
} |
|

01-18-2003, 10:56 PM
|
|
Junior Member
|
|
Join Date: Jan 2003
Posts: 15
|
|
|
It looks identical...
But it will not connect to a different mysql server than localhost for some reason.
|

01-18-2003, 10:58 PM
|
|
Junior Member
|
|
Join Date: Jan 2003
Posts: 15
|
|
|
xxxxxxxxxx
link showing the error I'm getting.
|

01-18-2003, 11:20 PM
|
|
Moderator
|
|
Join Date: Nov 2002
Posts: 737
|
|
|
Are you using the same database for both phpbb and for nuke? Just with different prefixes?
example nuke database php
nuke user YOUR log in name to the database
nuke password your password
Nuke prefix nuke
phpbb database php
phpbb uname Same as above if same database
phpbb password same password if same database
phpbb prefix phpbb
Did you configure it that way?
Or do you have completely seperate databases for the two?
|
 |
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|