07-10-2014, 11:43 PM
Ok so if u can assist - Links.Zip working great... on instructions it asks to enter DB info into config... but config is empty and i have no idea how it wants the info to be put in ? Can u help here mate ?
-----------------------------------------------------------
So Then, go to the system folder, and edit the file named
config.php
, and insert your database infos, like username...
-----------------------------------------------------------
By any chance did u delete the contents of Config.php to remove ur info, and if so could u pls provide the original, or at least demonstrate how to enter the db details ie. as variables, as db declartion/function... thanks
To give example what i mean, usually config file has a template...like this... it is never the same, i dont knw of a "Default" way of entering db details, so either the documentation is poor, or i am missing something, or file has had the content removed. not sure man, but seems like im stuck either way, hope u can help
-----------------------------------------------------------
So Then, go to the system folder, and edit the file named
config.php
, and insert your database infos, like username...
-----------------------------------------------------------
By any chance did u delete the contents of Config.php to remove ur info, and if so could u pls provide the original, or at least demonstrate how to enter the db details ie. as variables, as db declartion/function... thanks
To give example what i mean, usually config file has a template...like this... it is never the same, i dont knw of a "Default" way of entering db details, so either the documentation is poor, or i am missing something, or file has had the content removed. not sure man, but seems like im stuck either way, hope u can help
PHP Code:
class DATABASE_CONFIG {
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost', // Change To Your Own Host
'login' => 'user', // Change To Your Own Username
'password' => 'pass', // Change To Your Own Password
'database' => 'dbname', // Change To Your Own Database
'prefix' => '',
);
}