> Seems that the rich text editor doesn't work and has stripped out all the 
> formatting so here is the error message and code again:
>
> *****************************
> Service DB - Could not connect: Cannot attach to services manager service 
> var/lib/firebird/2.5/data/grip.fdb:service_mgr is not defined
> *****************************

I've no idea about the PHP usage, but the string above looks a bit 
weird. The first part shouldn't be the path to database, but the 
server/port information. E.g. the following is valid:

localhost:service_mgr

or

localhost/3051:service_mgr

Perhaps you are mixing something related to a database connection path 
vs. server name when using the ibase_service_attach call?

-- 
With regards,
Thomas Steinmaurer
http://www.upscene.com/




> // 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;                     
> }
>
> Thanks
>
> Neil
>
> --- In [email protected], "grip_2ls" <lists@...> wrote:
>>
>> Hi
>> I am trying to write a PHP script to create a new Firebird user but when
>> I run the code I get the following:
>> Service DB - Could not connect: Cannot attach to services manager
>> service var/lib/firebird/2.5/data/grip.fdb:service_mgr is not defined
>> I am running Firebird 2.5 on Ubuntu.
>> This is the PHP code:
>> // 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;    }
>> Can I do this on Firebird and if so how?
>> Thanks
>> Neil
>>
>>
>>
>> [Non-text portions of this message have been removed]
>>
>
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu.  Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>


Reply via email to