» Log in
User Name:

Password:

Not a member yet?
Register Now!
» 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
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

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.. [...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2003, 10:09 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
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
  #5 (permalink)  
Old 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..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2003, 10:37 PM
Junior Member
 
Join Date: Jan 2003
Posts: 15
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
  #7 (permalink)  
Old 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;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-18-2003, 10:58 PM
Junior Member
 
Join Date: Jan 2003
Posts: 15
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
  #10 (permalink)  
Old 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?
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 04:35 PM
Poll/Survey problem! (restriced area?) EDIT: new problem! erazor Nuke 7.x - General 3 04-12-2005 12:27 PM
How to import a modded phpBB? 993ti Purged Topics 5 07-02-2003 10:35 AM
Problem with smartDark problem. Sign up doesn't work. DJ-Loki Theme packs 4 02-18-2003 04:40 PM
install registration hack BEFORE db import? IACOJ Purged Topics 4 01-08-2003 11:18 PM


All times are GMT -5. The time now is 07:55 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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