Yes,

now it works fine ;)

thanks

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL 
PROTECTED]
Gesendet: Freitag, 12. Januar 2007 20:54
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] rpc-Backend Problem - fixed

"Tobias Koller (GERMO GmbH)" <[EMAIL PROTECTED]> writes:

> Warning: Call-time pass-by-reference has been deprecated - argument passed
> by value; If you would like to pass it by reference, modify the declaration
> of [runtime function name](). If you would like to enable call-time
> pass-by-reference, you can set allow_call_time_pass_reference to true in
> your INI file. However, future versions may not support this any longer.
>
> Services require JSON-RPC
>
> So I had to change the value allow_call_time_pass_reference in my php.ini to
> "On".
>
> I didn't know that.

As stated previously, you should certainly not have to change any php.ini
settings.

Please change allow_call_time_pass_reference back to "Off" and make the
following change in index.php.  The call-time pass-by-reference is no longer
necessary, so can just be deleted.

Near the end of index.php, you'll find this:

    /* Call the requested method passing it the provided params */
    $output = $service->$method($jsonInput->params, &$error);

Remove the ampersand before $error, so that it now looks like this:

    /* Call the requested method passing it the provided params */
    $output = $service->$method($jsonInput->params, $error);

Everything should still work properly, and you should no longer get the
warning.

Please verify that this fixes the problem for you.

Cheers,

Derrell

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to