Re: [qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-11-02 Thread Alex D.
I'm not really a PHP-expert, but i think you should take a look at qooxdoo backend-examples(qooxdoo\backend\php\services\qooxdoo\test.php). This will give you some ideas. UnwiredUniverse.com> writes: "Alex D." tis-gmbh.de> writes: Warning: pg_connect() [funct

Re: [qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-11-02 Thread Stefan
UnwiredUniverse.com> writes: > > "Alex D." tis-gmbh.de> writes: > > > > > Warning: pg_connect() [ > href='function.pg-connect'>function.pg-connect]: Unable to connect to > > PostgreSQL server: FATAL: database "test" does not exist > > in C:\.php on line 267 > > {"error":{"origin

Re: [qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-09-21 Thread Alex D.
Hi Derel, Hi Alex, It's that FATAL error you're receiving that I've not been able to catch. Any time the PHP script outputs anything (including this error message), it gets sent back to the browser. We don't want that. The part of the message that we want is the last line beginning wit

Re: [qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-09-21 Thread Derrell . Lipman
"Alex D." <[EMAIL PROTECTED]> writes: > > Warning: pg_connect() [ href='function.pg-connect'>function.pg-connect]: Unable to connect to > PostgreSQL server: FATAL: database "test" does not exist > in C:\.php on line 267 > {"error":{"origin":2,"code":5,"message":"Kann keine Verbindung

Re: [qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-09-21 Thread Alex D.
Hi Derel, First of all - thank you for your efforts. And i think it's a misunderstanding - the problem is not that the function pg_connect() does not exist, but that the database doesn't exist. I have already secured pg_connect() with: === $db = pg_connect("host=$

Re: [qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-09-20 Thread Derrell . Lipman
"Alex D." <[EMAIL PROTECTED]> writes: > here is a simple function that you can add to test.php in services/qooxdoo: >function method_query($params, $error) >{ >$db = pg_connect("host=localhost dbname=test user=postgres"); >$query = "SELECT * FROM test"; >

Re: [qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-09-18 Thread Alex D.
Hi Derrel, here is a simple function that you can add to test.php in services/qooxdoo:     function method_query($params, $error)     {             $db = pg_connect("host=localhost dbname=test user=postgres");             $query = "SELECT * FROM test";             $result = pg_query($query);  

Re: [qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-09-15 Thread Derrell . Lipman
"Alex D." <[EMAIL PROTECTED]> writes: > i have following problem with qx.io.remote.rpc.callAsync(): > in case of an error in backend( in php-script for example) > qx.io.remote.XmlHttpTransport throws an error: *Could not execute json: * > That's OK, but the problem is that this error doesn't

[qooxdoo-devel] qx.io.remote.rpc error-bubbling

2006-09-15 Thread Alex D.
Hi folks, i have following problem with qx.io.remote.rpc.callAsync(): in case of an error in backend( in php-script for example) qx.io.remote.XmlHttpTransport throws an error: Could not execute json: That's OK, but the problem is that this error doesn't bubble up to my class though i can