Welcome Guest, Not a member yet? Register   Sign In
CI AMFPHP FLEX
#1

[eluser]Shouvik-S-Mazumdar[/eluser]
I am trying to integrate flex with code igniter using the AMFPHP lib found in the wiki

i keep getting this error :

Code:
(mx.messaging.messages::ErrorMessage)#0
  body = (Object)#1
  clientId = (null)
  correlationId = "BAE40917-88D2-48F8-16FF-759334641CB1"
  destination = ""
  extendedData = (null)
  faultCode = "Client.Error.MessageSend"
  faultDetail = "Channel.Security.Error error Error #2048 url: 'http://www.*****.com/dev/amfphp/gateway.php'"
  faultString = "Send failed"
  headers = (Object)#2
  messageId = "DA6BA440-0EFF-1C63-12D4-7593370A5A28"
  rootCause = (mx.messaging.events::ChannelFaultEvent)#3
    bubbles = false
    cancelable = false
    channel = (mx.messaging.channels::AMFChannel)#4
      authenticated = false
      channelSets = (Array)#5
        [0] (mx.messaging::ChannelSet)#6
          authenticated = false
          channelIds = (Array)#7
            [0] "my-amfphp"
          channels = (Array)#8
            [0] (mx.messaging.channels::AMFChannel)#4
          clustered = false
          connected = false
          currentChannel = (mx.messaging.channels::AMFChannel)#4
          messageAgents = (Array)#9
            [0] (mx.rpc::AsyncRequest)#10
              authenticated = false
              autoConnect = true
              channelSet = (mx.messaging::ChannelSet)#6
              clientId = (null)
              connected = false
              defaultHeaders = (null)
              destination = "amfphp"
              id = "F8FF21BE-6AB4-4205-9531-759334515E6B"
              reconnectAttempts = 0
              reconnectInterval = 0
              requestTimeout = -1
              subtopic = ""
      connected = false
      connectTimeout = -1
      enableSmallMessages = true
      endpoint = "http://www.*****.com/dev/amfphp/gateway.php"
      failoverURIs = (Array)#11
      id = "my-amfphp"
      mpiEnabled = false
      netConnection = (flash.net::NetConnection)#12
        client = (mx.messaging.channels::AMFChannel)#4
        connected = false
        objectEncoding = 3
        proxyType = "none"
        uri = "http://www.*****.com/dev/amfphp/gateway.php"
      piggybackingEnabled = false
      polling = false
      pollingEnabled = true
      pollingInterval = 3000
      protocol = "http"
      reconnecting = false
      recordMessageSizes = false
      recordMessageTimes = false
      requestTimeout = -1
      uri = "http://www.*****.com/dev/amfphp/gateway.php"
      url = "http://www.*****.com/dev/amfphp/gateway.php"
      useSmallMessages = false
    channelId = "my-amfphp"
    connected = false
    currentTarget = (mx.messaging.channels::AMFChannel)#4
    eventPhase = 2
    faultCode = "Channel.Security.Error"
    faultDetail = "Error #2048 url: 'http://www.*****.com/dev/amfphp/gateway.php'"
    faultString = "error"
    reconnecting = false
    rejected = false
    rootCause = (flash.events::SecurityErrorEvent)#13
      bubbles = false
      cancelable = false
      currentTarget = (flash.net::NetConnection)#12
      eventPhase = 2
      target = (flash.net::NetConnection)#12
      text = "Error #2048"
      type = "securityError"
    target = (mx.messaging.channels::AMFChannel)#4
    type = "channelFault"
  timestamp = 0
  timeToLive = 0
#2

[eluser]philpalmieri[/eluser]
which one form the wiki are you using? - try: [url="http://codeigniter.com/wiki/AMF_Codeigniter_Library_No_Zend_No_Hooks_Etc./"]this one[/url]
#3

[eluser]Shouvik-S-Mazumdar[/eluser]
I did download your example. I need a solution in Flex and the solution at
http://codeigniter.com/wiki/Amfphp_and_CI/


looked great . Creating a remote object and calling direct methods of CI is a cool concept .

If you can explain how to impleemnt ur integration @ flex ..it would be great




Theme © iAndrew 2016 - Forum software by © MyBB