[flexcoders] Re: Pb with Amfphp

2010-03-19 Thread valdhor
I would also need to see your remoting-config.xml file to see the destinations 
you have created.

--- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... 
wrote:

 Please, find below my services-config file:
 services-config
   services
   service id=amfphp-flashremoting-service 

 class=flex.messaging.services.RemotingService 

 messageTypes=flex.messaging.messages.RemotingMessage
   destination id=amfphp
   channels
   channel ref=my-amfphp/
   /channels
   properties
   source*/source
   /properties
   /destination
   /service
   /services
   
   channels
   channel-definition id=my-amfphp 
 class=mx.messaging.channels.AMFChannel
   endpoint 
 uri=http://www.mywebsite.com:80/amfphp/gateway.php; 
 class=flex.messaging.endpoints.AMFEndpoint/
   /channel-definition
   /channels
 /services-config
 
 Thank you,
 Christophe,
 
 --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
 
  How are you setting up the channel for AMFPHP? Is it with AS3 code or with 
  a services-config.xml file?
  
  If it is the latter, check to see if you have channels set up in the XML 
  and that you have a child channel-definition named amfphp with the endpoint 
  set to the location of the gateway.php file inside your installation of 
  AMFPHP.
  
  If you want, I can post the relevant sections of my services-config.xml 
  file (Even though I use WebORB. It should be the same except for the 
  location of the gateway.php file).
  
  --- In flexcoders@yahoogroups.com, Christophe christophe_jacquelin@ 
  wrote:
  
   Hello, 
   
   In local, my application is working but with the server I have this 
   error: 
   
   Message:
   [MessagingError message='Destination 'amfphp' either does not exist or 
   the destination has no channels defined (and the application does not 
   define any default channels.)']
   
   Detail:
   Couldn't establish a connection to 'amfphp'
   
   What is the reason of this message ?
   
   Thank you,
   Christophe,
  
 





[flexcoders] Re: Pb with Amfphp

2010-03-19 Thread valdhor
Forget the last message. It looks like you are not loading in a 
remoting-config.xml file.

You could try adding the following to the services-config.xml file (This is 
actually in my remoting-config.xml file)...

default-channels
channel ref=my-amfphp/
/default-channels


--- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... 
wrote:

 Please, find below my services-config file:
 services-config
   services
   service id=amfphp-flashremoting-service 

 class=flex.messaging.services.RemotingService 

 messageTypes=flex.messaging.messages.RemotingMessage
   destination id=amfphp
   channels
   channel ref=my-amfphp/
   /channels
   properties
   source*/source
   /properties
   /destination
   /service
   /services
   
   channels
   channel-definition id=my-amfphp 
 class=mx.messaging.channels.AMFChannel
   endpoint 
 uri=http://www.mywebsite.com:80/amfphp/gateway.php; 
 class=flex.messaging.endpoints.AMFEndpoint/
   /channel-definition
   /channels
 /services-config
 
 Thank you,
 Christophe,
 
 --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
 
  How are you setting up the channel for AMFPHP? Is it with AS3 code or with 
  a services-config.xml file?
  
  If it is the latter, check to see if you have channels set up in the XML 
  and that you have a child channel-definition named amfphp with the endpoint 
  set to the location of the gateway.php file inside your installation of 
  AMFPHP.
  
  If you want, I can post the relevant sections of my services-config.xml 
  file (Even though I use WebORB. It should be the same except for the 
  location of the gateway.php file).
  
  --- In flexcoders@yahoogroups.com, Christophe christophe_jacquelin@ 
  wrote:
  
   Hello, 
   
   In local, my application is working but with the server I have this 
   error: 
   
   Message:
   [MessagingError message='Destination 'amfphp' either does not exist or 
   the destination has no channels defined (and the application does not 
   define any default channels.)']
   
   Detail:
   Couldn't establish a connection to 'amfphp'
   
   What is the reason of this message ?
   
   Thank you,
   Christophe,
  
 





[flexcoders] Re: Pb with Amfphp

2010-03-18 Thread valdhor
How are you setting up the channel for AMFPHP? Is it with AS3 code or with a 
services-config.xml file?

If it is the latter, check to see if you have channels set up in the XML and 
that you have a child channel-definition named amfphp with the endpoint set to 
the location of the gateway.php file inside your installation of AMFPHP.

If you want, I can post the relevant sections of my services-config.xml file 
(Even though I use WebORB. It should be the same except for the location of the 
gateway.php file).

--- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... 
wrote:

 Hello, 
 
 In local, my application is working but with the server I have this error: 
 
 Message:
 [MessagingError message='Destination 'amfphp' either does not exist or the 
 destination has no channels defined (and the application does not define any 
 default channels.)']
 
 Detail:
 Couldn't establish a connection to 'amfphp'
 
 What is the reason of this message ?
 
 Thank you,
 Christophe,





[flexcoders] Re: Pb with Amfphp

2010-03-18 Thread Christophe
Please, find below my services-config file:
services-config
services
service id=amfphp-flashremoting-service 
 
class=flex.messaging.services.RemotingService 
 
messageTypes=flex.messaging.messages.RemotingMessage
destination id=amfphp
channels
channel ref=my-amfphp/
/channels
properties
source*/source
/properties
/destination
/service
/services

channels
channel-definition id=my-amfphp 
class=mx.messaging.channels.AMFChannel
endpoint 
uri=http://www.mywebsite.com:80/amfphp/gateway.php; 
class=flex.messaging.endpoints.AMFEndpoint/
/channel-definition
/channels
/services-config

Thank you,
Christophe,

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 How are you setting up the channel for AMFPHP? Is it with AS3 code or with a 
 services-config.xml file?
 
 If it is the latter, check to see if you have channels set up in the XML and 
 that you have a child channel-definition named amfphp with the endpoint set 
 to the location of the gateway.php file inside your installation of AMFPHP.
 
 If you want, I can post the relevant sections of my services-config.xml file 
 (Even though I use WebORB. It should be the same except for the location of 
 the gateway.php file).
 
 --- In flexcoders@yahoogroups.com, Christophe christophe_jacquelin@ wrote:
 
  Hello, 
  
  In local, my application is working but with the server I have this error: 
  
  Message:
  [MessagingError message='Destination 'amfphp' either does not exist or the 
  destination has no channels defined (and the application does not define 
  any default channels.)']
  
  Detail:
  Couldn't establish a connection to 'amfphp'
  
  What is the reason of this message ?
  
  Thank you,
  Christophe,
 





[flexcoders] Re: Pb with Amfphp : Insert Into

2009-10-15 Thread valdhor
That's a PHP problem. Does it work outside of AMFPHP?

--- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... 
wrote:

 Hello, 
 
 I have a problem with INSERT INTO sql function in Php Script when I use 
 amfphp :
 
 $query=INSERT INTO utilisateurs (Last, First, Adress) VALUES ('$last', 
 '$first', '$adress');
  
 
 When I use 3 parameters (Last, First, Adress) it is working but with more 
 than 3 parameters it is not working.
 
 Thank you,
 Christophe