Subject Re: [firebird-support] Re: service_mgr is not defined - calling from PHP
Author Lester Caine
grip_2ls wrote:
> *****************************
> Service DB - Could not connect: Cannot attach to services manager service var/lib/firebird/2.5/data/grip.fdb:service_mgr is not defined
> *****************************
>
> // connect to the service database
> if (($service = ibase_service_attach($host, $username, $password)) == FALSE) {
> $smarty->assign('msg', 'Service DB - Could not connect: ' . ibase_errmsg());
> $smarty->display('feedback.tpl');
> break;
> }
What are you putting in $host? It should just be the machine name ...
Services run on the server so do not need any reference to a particular database.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php