Config.php problem

Corza

New Member
Parse error: syntax error, unexpected T_STRING in /home/corza/public_html/includes/config.php on line 47

how can i fix it?
 
Look for a line in the information that you entered that doesn't have a semicolon at the end of the line. Make sure the database your entered is wrapped in single quotes. Line 47 may not be where the problem is, in my config.php its a blank line. Check all your data inputs.
 
wait now its this error

Error description: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) /home/corza/public_html/includes/class_core.php on line 311

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.
 
Code:
$config['MasterServer']['username'] = 'username';
$config['MasterServer']['password'] = 'password';
You need to put the username and password for your database in these two lines of your config.php.
 
Back
Top