I tried to intragate but I get this error I tried to intragate but I get this error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

I tried to intragate but I get this error

Started by condiman, April 08, 2004, 08:45:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

condiman

I had it up and running but when I tried to intragate with the phpbb board I get this error when I go to the address of where it was

Coppermine critical error:
Unable to connect to phpBB Board database !

MySQL said: Access denied for user: 'root@localhost' (Using password: NO)
Please forgive me for my ignorance I am new at this.

photoman13

does your MySQL database require a password?
If so you may want to put your password and database username into the bridge file.

condiman

I used the same name and psswd that I use to access my cpanel or is it a different psswd and name


bb
Please forgive me for my ignorance I am new at this.

photoman13

it should be your database name and password to your MYSQL server unless you used the same for both... wish wouldn't be a good thing to do.

it should be the same database name and password that you used to configure your phpbb that granted it rights to read the database. Not your admin name and password, but database. make sense?

condiman

I tried a few things and I get this error now

Parse error: parse error in /home/coralfor/public_html/coppermine/bridge/phpbb.inc.php on line 30
Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'corlfor@localhost' (Using password: YES)
Please forgive me for my ignorance I am new at this.

photoman13

Quote from: "condiman"MySQL said: Access denied for user: 'corlfor@localhost' (Using password: YES)

I just have mine set to "localhost"

$CONFIG['dbserver'] =    "localhost";        // Your database server
$CONFIG['dbuser'] =       "USER-Name";        // Your mysql username
$CONFIG['dbpass'] =       "********";                // Your mysql password
$CONFIG['dbname'] =      "databasename";        // Your mysql database name (tablename inside MySQL)


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                "cpg_";


I think usually the username and password is the same as what the host gave you for your FTP rights. (Which you can change in your SQL section of user control panel that most hosts give you)

try see if that helps?!?!?!

Joachim Müller

take care of the parse error first - there's something wrong in your bridge file - see http://coppermine.sourceforge.net/demo/docs/faq.htm#commonPHP%20errors

GauGau

condiman

I dont see anything about a parce error on that link.
Please forgive me for my ignorance I am new at this.

Joachim Müller

OK, sorry - try this link: http://coppermine.sourceforge.net/demo/docs/faq.htm#commonPHPerrors

In fact it means that your php syntax is bad - you have fiddled with single quotes or semi-colon, curly brackets or another thing that forms the basic part of the PHP syntax. What I was going to say: correct the parse error first - the "can't connect" error should only be a result of the parse error.

GauGau

condiman

I have been putzin with it for the past week or so and now I get this

Parse error: parse error in /home/coralfor/public_html/coppermine/bridge/phpbb.inc.php on line 26
Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'corlfor@localhost' (Using password: YES)

I can not seem to figure it out
Please forgive me for my ignorance I am new at this.

Joachim Müller

"parse error" means you have an error in your php syntax, most often caused by single or double quotes that are missing (or too much), or brackets, curly braces, comas or semicolons at the wrong place. If you can't figure out what's wrong with your code, copy'n paste the relevant bits into your posting (the lines you modified in your bidge file) - make sure not to show your password. Also, make sure that none of your entries contain
Quote" ' , ; . : ( ) { }

GauGau

condiman

This is line 26

define('PHPBB_BD_HOST', 'localhost'); "localhost"
Please forgive me for my ignorance I am new at this.

Nibbler

It should be:

define('PHPBB_BD_HOST', 'localhost'); // The name of the database server

condiman

Please forgive me for my ignorance I am new at this.

Joachim Müller

Sure, it is localhost, but you have to respect the PHP syntax.

GauGau

condiman

Quote from: GauGau on April 22, 2004, 06:19:14 AM
Sure, it is localhost, but you have to respect the PHP syntax.

GauGau

What do you mean by respect the PHP syntax?

Please forgive me for my ignorance I am new at this.

Joachim Müller

refer to Nibbler's posting above, I'm not going to argue... ::)

GauGau

condiman

I know you guys are gettin sick of me but I am sorry to be such a pain.  I have gone through everything that you guys have pointed out but I still can not get anywhere.  I am just gettin really stumped ??? ???
Please forgive me for my ignorance I am new at this.

Casper

Have you changed line 26 from this;
Quote from: condiman on April 21, 2004, 01:53:29 AM
define('PHPBB_BD_HOST', 'localhost'); "localhost"

to this;
Quote from: nibblerdefine('PHPBB_BD_HOST', 'localhost'); // The name of the database server

or this;
define('PHPBB_BD_HOST', 'localhost');

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

condiman

I tried those two and I still get this error


Parse error: parse error in /home/coralfor/public_html/coppermine/bridge/phpbb.inc.php on line 26

Fatal error: Call to undefined function: udb_authenticate() in /home/coralfor/public_html/coppermine/include/init.inc.php on line 167
Please forgive me for my ignorance I am new at this.