1 Reply Latest reply on Jan 4, 2010 7:35 AM by saisri2k2

    actionscript error: HTTP request error

    re-Flexing Level 1

      Why do I get this kind of actionscript error? Everytime my page loads up this error immediately shows up:

       

      [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost/trytryjfsjfs-debug/total.php" errorID=2032]. URL: http://localhost/trytryjfsjfs-debug/total.php"]
          at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\p rojects\rpc\src\mx\rpc\AbstractInvoker.as:220]
          at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder .as:53]
          at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:103]
          at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\ mx\messaging\channels\DirectHTTPChannel.as:362]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at flash.net::URLLoader/onComplete()

       

      I checked the said URL and this is my code of total.php:

       

      <?php

      $projName = mysql_real_escape_string($_POST["projNameTI"]);

       

      $query = "SELECT itemno, divno,descs,qty,unit,unitcost,qty*unitcost as subtotal, SUM(qty*unitcost) as total,psid,project_id FROM projectspecs
      Where project_id = (SELECT project_id FROM project where name='$projName')";

       

      $result = mysql_query($query) or die ("Query failed: ".mysql_error() ."Actual query: ". $query);

      ?>

       

      It seems that this code works perfectly


      Can someone please help me about this problem, just an explanation how to get this well.

      Hoping for a response.