where do i specify the connection to database
Code:
1. define('DB_SERVER', 'exchange');
2. define('DB_SERVER_USERNAME', 'regal');
3. define('DB_SERVER_PASSWORD', '-----);
4. define('DB_DATABASE', 'catalog'');
5. define('USE_PCONNECT', 1);
I am thinking it is in line 1 of the code..the DB_SERVER.. what is that supposed to be if i am just hosting it locally?
Next, when i open up the admin page. it displays but with these errors above the page..
Code:
Warning: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\admin\includes\include_once.php on line 4
Warning: Failed opening 'includes/languages/english/' for inclusion (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\admin\includes\include_once.php on line 4
I checked that file
include_once.php Code:
1. <?
2. if (!defined($include_file . '__')) {
3. define($include_file . '__', 1);
4. include($include_file);
5. }
6. ?>
So I think the problem is probably in the
application_top.php
So anyone have some wise words for me.. i am really learning quickly!