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
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
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
"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
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=$
"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";
>
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);
"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
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