Welcome, Guest
  • Author Topic: New store not loading data  (Read 1027 times)

    Anairda

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    New store not loading data
    « on: 05/02/12, 18:29 »
    Hi!!!!!
    I need your help, I have this same problem -->http://www.flash-db.com/Board/index.php/topic,16478.0.html, the gateway function ok!, and i did what Jorge said to the guy  in there to

    Uncoment this line:

    myLogger.onLog = function( message:String ):Void {
     trace( "myLogger-->>>"+message );
    }

    and i get this :

    myLogger-->>>5/2 18:11:28 [INFO] logger1: Creating Service for shopping
    myLogger-->>>5/2 18:11:28 [INFO] logger1: Creating gateway connection for null../flashservices/app/Gateway.php
    myLogger-->>>5/2 18:11:28 [INFO] logger1: Successfully created Service
    myLogger-->>>5/2 18:11:28 [INFO] logger1: Invoking getFamily on shopping

    can someone help me please!!!
    Thanks!

    Anairda

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re: New store not loading data
    « Reply #1 on: 05/02/12, 23:56 »
    SOMEONE!!! please HELP!!!

    A local web server with PHP support----> wamp check!!
    - A My SQL database ---> wamp check!!
    - Remoting Flash classes---> http://sordalion.blogspot.mx/2012/01/remoting-flash-mx-y-su-instalacion-en.html   check!!
    - The amphp Remoting library ---->amfphp-0.9.0   check!
    ... and Flash MX 2004 Pro, of course ---> check!!

    I have :
    wamp/www/shop/flashservices

    wamp/www/shop/newstore


     inc_sql :

    define ("USERNAME","root");
    define ("PASSWORD",'');
    define ("HOSTNAME","localhost");
    define ("DATABASE","shopping");
    define ("DEBUG", "true");

    and in the gateway :

    <?php
       //default gateway
        include "../flashservices/app/Gateway.php";
       
        $gateway = new Gateway();
        $gateway->setBaseClassPath("./services/");
        $gateway->service();

    ?>


    and in flash:

    myLogger.onLog = function( message:String ):Void {
     trace( "myLogger-->>>"+message );
    }
    //IMPORTANT -> Change to the proper path
    _global.svc = new Service(   
        "../flashservices/app/Gateway.php",
         myLogger,
         "shopping",
         null,


    and ..
    myLogger-->>>5/2 23:55:36 [INFO] logger1: Creating Service for shopping
    myLogger-->>>5/2 23:55:36 [INFO] logger1: Creating gateway connection for null../flashservices/app/Gateway.php
    myLogger-->>>5/2 23:55:36 [INFO] logger1: Successfully created Service
    myLogger-->>>5/2 23:55:36 [INFO] logger1: Invoking getFamily on shopping


    someone???


    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: New store not loading data
    « Reply #2 on: 05/03/12, 02:17 »
    I do not realy understand your problem.

    Did you install Charles, to make sure the data is traveling as expected?
    happy flashing
    8)
    Ronald

    Anairda

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re: New store not loading data
    « Reply #3 on: 05/03/12, 08:04 »
    Hi Ronald!

    I download Charles, and when i try to see the page or phpadmin it appears  on my browser  :

    Charles Error Report

    Failure

    C:/wamp/www/remoting/flashdb_newstore.html

    The actual exception reported was:

    com.xk72.proxy.ProxyException: C:/wamp/www/remoting/flashdb_newstore.html
    Charles Proxy, http://www.charlesproxy.com/


    Its the first time i use these program so i dont know what it means...

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: New store not loading data
    « Reply #4 on: 05/03/12, 09:50 »
    How do you access the site?

    There should NEVER be a drive name in the path.

    You allways have to access content via the web server - in this case the local host.
    happy flashing
    8)
    Ronald

    Anairda

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re: New store not loading data
    « Reply #5 on: 05/03/12, 12:16 »
    I open my browser  an write       localhost//remoting/flashdb_newstore.html


    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: New store not loading data
    « Reply #6 on: 05/04/12, 02:44 »
    and the flash requests the data the same way?
    happy flashing
    8)
    Ronald