Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » SQLSRV Driver (How to setup config.inc for multi database option with one of them being 'sqlsrv' )
Re: SQLSRV Driver [message #4735 is a reply to message #4732] Tue, 12 May 2015 04:31 Go to previous messageGo to previous message
rafs is currently offline  rafs
Messages: 69
Registered: May 2015
Member
Still having an issue; this time it is when trying to add a remote pgsql db to the servers array from this config.inc:

// server 0
$servers[0]['dbhost'] = 'my.fqdn.com';
//$servers[0]['dbhost'] = '10.206.29.212';
$servers[0]['dbengine'] = 'pgsql';
$servers[0]['dbusername'] = 'mydbuser';
$servers[0]['dbuserpass'] = 'mydbpwd';
$servers[0]['dbport'] = '5432';
$servers[0]['dbsocket'] = '';
$servers[0]['dbprefix'] = '';
$servers[0]['PGSQL_dbname'] = 'radicore';
$servers[0]['dbnames'] = 'newscheme,*';
$servers[0]['ssl_key'] = '';
$servers[0]['ssl_cert'] = '';
$servers[0]['ssl_ca'] = '';
$servers[0]['ssl_capath'] = '';
$servers[0]['ssl_cipher'] = '';
// server


Error:
Fatal Error: Undefined variable: unbuffered_query
Error in line 77 of file 'C:\xampp\radicore\includes\dml.pgsql.class.inc'.
PHP_SELF: /radicore/dict/database(add1)import.php
CURRENT DIRECTORY: C:\xampp\htdocs\radicore\dict
SERVER_ADDR: ::1
SERVER_NAME: localhost
HTTP_HOST: localhost
User Id: MGR
Role Id: GLOBAL
REMOTE_ADDR: ::1
REQUEST_URI: /radicore/dict/database(add1)import.php?session_name=menu21

Line 77: trigger_error('No value supplied for PGSQL_dbname', E_USER_ERROR);

I am looking in std.table.class.inc and dict_database_s01.class.inc. Can't find any place where PGSQL_dbname is retrieved from $servers array.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Failed opening required 'include.general.inc'
Next Topic: Error: This application has encountered an unrecoverable error
Goto Forum:
  


Current Time: Thu Nov 28 05:46:12 EST 2024

Total time taken to generate the page: 0.01698 seconds