Need Help With PHP

Status
Not open for further replies.

rubenj

New Member
Messages
56
Reaction score
0
Points
0
Here Is What I put. I GET AN ERROR, THOUGH.

Please Help.

Here is my link: ruben.exofire.net/forum

Here is my code:

<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'localhost';
$dbport = 3306;
$dbname = 'rubenj_ruben';
$dbuser = 'rubenj_forum';
$dbpasswd ='**PRIVATE**';

$table_prefix = 'phpbb';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
//@define('DEBUG', true);
//@define('DEBUG_EXTRA', true);
?>
 

rubenj

New Member
Messages
56
Reaction score
0
Points
0
I did. I get this, again.
SQL ERROR [ mysql4 ]

Access denied for user 'rubenj_forum'@'localhost' (using password: YES) [1045]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.

ruben.exofire.net/froum

Thanks.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
The user you have assigned to that database is: "rubenj_rubenj" not "rubenj_forum"

-Corey
 

rubenj

New Member
Messages
56
Reaction score
0
Points
0
<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'localhost';
$dbport = 'database port if not default';
$dbname = 'rubenj_forum';
$dbuser = 'rubenj_rubenj';
$dbpasswd ='never post your database password :)';

$table_prefix = 'phpbb';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
//@define('DEBUG', true);
//@define('DEBUG_EXTRA', true);
?>

Here it is :)

ruben.exofire.net/froum

Sorry. Can't fix it.
 
Last edited by a moderator:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
PHP:
     			     			     			     		     		     		     		<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql'; 
$dbhost = 'localhost';
$dbport = '';
$dbname = 'rubenj_forum';
$dbuser = 'rubenj_rubenj';
$dbpasswd ='';

$table_prefix = 'phpbb';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
//@define('DEBUG', true);
//@define('DEBUG_EXTRA', true);
?>
Give that a try. Make sure you put in your database password.
 
Last edited:

rubenj

New Member
Messages
56
Reaction score
0
Points
0
Look at it again. Changes made. It was like this before and after the post you made.

ruben.exofire.net/forum
Edit:
// phpBB 3.0.x auto-generated configuration file // Do not change anything in this file! $dbms = 'mysql'; $dbhost = 'localhost'; $dbport = ''; $dbname = 'rubenj_forum'; $dbuser = 'rubenj_rubenj'; $dbpasswd =''; $table_prefix = 'phpbb'; $acm_type = 'file'; $load_extensions = ''; @define('PHPBB_INSTALLED', true); //@define('DEBUG', true); //@define('DEBUG_EXTRA', true); ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/rubenj/public_html/forum/config.php:17) in /home/rubenj/public_html/forum/common.php on line 161

This is how it is now.

ruben.exofire.net/forum
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
You need the starting php tag <?php

You also need to fill in the database password.
 

rubenj

New Member
Messages
56
Reaction score
0
Points
0
I did. BUT SINCE I HAVE BEEN SO ABSENT-MINDED I FORGOT TO SAVE!
I don't mean to waste your time! I have had three huge tests this week. Bare with me. :)
Edit:
check it out. I looked at it for about ten minutes. ruben.exofire.net/forum
 
Last edited:

rubenj

New Member
Messages
56
Reaction score
0
Points
0
I not quite sure what you mean, Christopher.
Edit:
I don't know what you mean, Chirsopher.
Edit:
I don't know what you mean, Christopher.
 
Last edited:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Right now the problem is part of your phpBB database is missing. I suggest reinstalling it.
 

rubenj

New Member
Messages
56
Reaction score
0
Points
0
How Might I reinstall it. You mean the forum, not the database. Right?
Comma Splice. I know! :)
Edit:
Solved
 
Last edited:
Status
Not open for further replies.
Top