[eluser]Kentus[/eluser]
Hi everyone.
This is my problem:
I have postgres server on my pc at localhost:5432, i can see pgadmin at this address: localhost:8080/phppgadmin.
i have xampp for server.
When i installed postgresql he's come with another appache that runs on localhost:8080.
My settings for database on codeigniter:
Code:
$active_group = 'default';
$active_record = TRUE;
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'postgres';
$db['default']['password'] = 'andreea';
$db['default']['database'] = 'earthwar';
$db['default']['dbdriver'] = 'postgres';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = FALSE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;
$db['default']['port'] = 5432;
my error on page:
A PHP Error was encountered
Severity: Warning
Message: require_once(C:/xampp/xampp/htdocs/earthwar/system/database/drivers/postgres/postgres_driver.php) [function.require-once]: failed to open stream: No such file or directory
Filename: database/DB.php
Line Number: 129
Fatal error: require_once() [function.require]: Failed opening required 'C:/xampp/xampp/htdocs/earthwar/system/database/drivers/postgres/postgres_driver.php' (include_path='.;C:\xampp\xampp\php\PEAR') in C:\xampp\xampp\htdocs\earthwar\system\database\DB.php on line 129
Thanks