On Thu, Jun 18, 2009 at 4:00 PM, panyasan <[email protected]> wrote:
>
> Ok, I see what the problem is. The codebase I used to write the OO-Style
> server was the PHP4-version of Derrell's server script, which he had
> updated
> in the meantime to PHP5 only. I am still aiming for PHP4 compatibility,
> since there are plenty of servers left which run PHP4 ( I still run both)
> --
> at least for the next stable release, after that we can of course drop PHP4
> support. A PHP5-only implementation is done by using the JsonRpcServerPhp5
> class. It would be great, Derrell, if you could have a look at that, it
> didn't really do what it was supposed to do last time I checked.
>
If you can run RpcExample, all tabs, using your server and an
*unaltered*test.php and remoteTableTest.php
*copied from 1.0.0*, then you've likely got a properly working server. In
particular, the third and fourth tabs, the sync and async tests, run through
each of the primitive functional capabilities I believe. You do need to look
at the output in the debug console to ensure you're getting proper results.
If the test runs to completion, you'll get an exception for the getError()
call that references an *application* error (42, I think) if it worked
properly. Note also that getError() is called twice. The first time, the
$error return value is used; the second time, a new JsonRpcError is thrown.
You should get the same alert at the browser for each of them.
Derrell
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel