Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 51
3 members and 48 guests
buynm6ymobcha8b, cliaw9cckhereto, int5nwernetmarx
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
import phpBB2phpBBmodule problem.
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 15
Join Date: Jan 2003
import phpBB2phpBBmodule problem. - 01-18-2003, 05:03 PM

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?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-18-2003, 05:47 PM

Are you installing the phpBB ported Forums into your Nuke site or trying to setup PHP-Nuke?

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
01-18-2003, 08:55 PM

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.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-18-2003, 09:09 PM

Quote:
powweb.com
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 15
Join Date: Jan 2003
01-18-2003, 09:34 PM

Quote:
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..
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 15
Join Date: Jan 2003
01-18-2003, 09:37 PM

Quote:
Originally Posted by mikem
Quote:
powweb.com
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.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
01-18-2003, 09:49 PM

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;
}
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 15
Join Date: Jan 2003
01-18-2003, 09:56 PM

It looks identical...
But it will not connect to a different mysql server than localhost for some reason.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 15
Join Date: Jan 2003
01-18-2003, 09:58 PM

xxxxxxxxxx
link showing the error I'm getting.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
01-18-2003, 10:20 PM

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?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import phpbb to nuke platinum database jendean71 Open topics 2 06-21-2006 03:35 PM
Poll/Survey problem! (restriced area?) EDIT: new problem! erazor Nuke 7.x - General 3 04-12-2005 11:27 AM
How to import a modded phpBB? 993ti Purged Topics 5 07-02-2003 09:35 AM
Problem with smartDark problem. Sign up doesn't work. DJ-Loki Theme packs 4 02-18-2003 03:40 PM
install registration hack BEFORE db import? IACOJ Purged Topics 4 01-08-2003 10:18 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31