I m trying with amfphp in localhost, but i get a fatal error in the amfphp 2.1 brower because of a simple french word with accent 'problème'. Flash returns the word with a bad ending (a chineese character) Written like this, 'probleme', there's no error and everything works fine.
Charset seems to be ok, in utf-8. Since i'm novice, I can't find the solution.
There might be something to do.
Can someone help me please?
Here's the simple code of the service with accent on the e :
And the error from browser:
Fatal error: Uncaught exception 'Exception' with message 'service called failed. server response: null request:
{"serviceName":"org/bytearray/test/Echanges", "methodName":"premierAppel", "parameters":[]}'
in C:\EasyPHP539\www\echanges\BackOffice\ServiceCaller.php:56 Stack trace: #0
C:\EasyPHP539\www\echanges\BackOffice\ServiceBrowser.php(110):
Amfphp_BackOffice_ServiceCaller->makeAmfphpJsonServiceCall('org/bytearray/t...', 'premierAppel', Array) #1 {main} thrown in C:\EasyPHP539\www\echanges\BackOffice\ServiceCaller.php on line 56
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I m trying with amfphp in localhost, but i get a fatal error in the amfphp
2.1 brower because of a simple french word with accent 'problème'. Flash
returns the word with a bad ending (a chineese character) Written like
this, 'probleme', there's no error and everything works fine.
Charset seems to be ok, in utf-8. Since i'm novice, I can't find the
solution.
There might be something to do.
Can someone help me please?
Here's the simple code of the service with accent on the e :
And the error from browser:
Fatal error: Uncaught exception 'Exception' with message 'service called
failed. server response: null request:
{"serviceName":"org/bytearray/test/Echanges", "methodName":"premierAppel",
"parameters":[]}'
in C:\EasyPHP539\www\echanges\BackOffice\ServiceCaller.php:56 Stack trace:
0
C:\EasyPHP539\www\echanges\BackOffice\ServiceBrowser.php(110):
Amfphp_BackOffice_ServiceCaller->makeAmfphpJsonServiceCall('org/bytearray/t...',
'premierAppel', Array) #1 {main} thrown in
C:\EasyPHP539\www\echanges\BackOffice\ServiceCaller.php on line 56
I m trying with amfphp in localhost, but i get a fatal error in the amfphp 2.1 brower because of a simple french word with accent 'problème'. Flash returns the word with a bad ending (a chineese character) Written like this, 'probleme', there's no error and everything works fine.
Charset seems to be ok, in utf-8. Since i'm novice, I can't find the solution.
There might be something to do.
Can someone help me please?
[amfphp 2.1, ActionScript3, Php5.3.9, Apache 2.2 VC9, Win7]
Here's the simple code of the service with accent on the e :
And the error from browser:
Fatal error: Uncaught exception 'Exception' with message 'service called failed. server response: null request:
{"serviceName":"org/bytearray/test/Echanges", "methodName":"premierAppel", "parameters":[]}'
in C:\EasyPHP539\www\echanges\BackOffice\ServiceCaller.php:56 Stack trace: #0
C:\EasyPHP539\www\echanges\BackOffice\ServiceBrowser.php(110):
Amfphp_BackOffice_ServiceCaller->makeAmfphpJsonServiceCall('org/bytearray/t...', 'premierAppel', Array) #1 {main} thrown in C:\EasyPHP539\www\echanges\BackOffice\ServiceCaller.php on line 56
Hi,
I just ran a quick test with 2.2, and it works fine. Would you try with
2.2? The service browser now allows you to make both JSON and AMF calls.
Also maybe try using a packet sniffer
http://www.silexlabs.org/amfphp/documentation/using-a-packet-sniffer/
Ariel Sommeria-Klein
team lead for http://silexlabs.org/amfphp/
http://baguetteamf.com
On Fri, Feb 21, 2014 at 11:58 AM, figueiredo mario90@users.sf.net wrote:
--
cordialement,
Ariel Sommeria-Klein