Config.php in roseonlineCMS

Status
Not open for further replies.
Newbie Spellweaver
Joined
Sep 1, 2006
Messages
76
Reaction score
0
I have seen a lot of people doing this so heres a thread clearing this up. The following is a piece of the default config.php in the _inc folder of elements roseonlineCMS 3.2 lite:
Code:
<?php

// Database
$cms['db']['host']             =         ''; // Database Host
$cms['db']['user']             =         ''; // Database User
$cms['db']['pass']             =         ''; // Database Pass
$cms['db']['name']             =         ''; // Database Name

// Site
... ... ...
When configuring this file, it should look very similar to this:
Code:
<?php

// Database
$cms['db']['host']             =         'localhost'; // Database Host
$cms['db']['user']             =         'root'; // Database User
$cms['db']['pass']             =         'PaSsWoRd123'; // Database Pass
$cms['db']['name']             =         'roseon'; // Database Name

// Site
... ... ...
Everything on the left side of the screen should stay the same. The only things that need to be added are between the apostrophes. i.e. 'root' or 'localhost'
The password should be changed to yours. If you never set a password, it should be left blank. i.e. ''; // Database User



This will likely go in a guide I will make myself, but I also give permission for others to use this, credit is nice but not necessary.
 
hey i did that correct and it just comes up with, Index of /, with a bunch of files and i don't know how to register through it T_T
 
yea i took the index.php and put it into the htdocs and default template what should i put?

Code:
$cms['site']['temp']		= 		'default'; // The default template to be used.
 
Re:help me.problem with cms..

what shud i do if i get these errors when i test the website?

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\EasyPHP 2.0b1\www\templates\default\index.php on line 1

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\EasyPHP 2.0b1\www\templates\default\index.php on line 1

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\Program Files\EasyPHP 2.0b1\www\templates\default\index.php on line 1

and why cant i set password on my Navicat?
 
Status
Not open for further replies.
Back