How to configure Palo 3.2 with SDK? help me

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • How to configure Palo 3.2 with SDK? help me

    I downloaded sdk 3.2, I use Wamp as web server, and palo 3.2
    to configure sdk with wamp i have done:
    1.put libconnectionpool.dll and libpalo_ng.dll from C:\SDK\PHP\lib\32bit\Windows\support to C:\wamp\bin\php\php5.2.5
    2.put php_jedox_palo.dll to C:\wamp\bin\php\php5.2.5\ext
    3.put libconnectionpool.dll and libpalo_ng.dll from C:\SDK\PHP\lib\32bit\Windows\support to C:\Program Files\Jedox\Palo Suite and C:\Windows\System32

    then I try palo_data.php from php demo, the code:

    PHP Source Code

    1. <?php
    2. // define the constants
    3. define('CONN', 'LOCALHOST');
    4. define('HOST', '127.0.0.1');
    5. define('PORT', '7777');
    6. define('USER', 'admin');
    7. define('PASS', 'admin');
    8. // registers a name for a PALO server
    9. $connection = palo_register_server(LOCALHOST, HOST, PORT, "admin", "admin");
    10. // create the variables db_name and cube_name
    11. $db_name = "Demo";
    12. $cube_name = "Sales";
    13. // return the specified data
    14. palo_data(CONN . '/' . $db_name, $cube_name,
    15. 'Desktop L', 'Germany', 'Jan', '2002', 'Budget', 'Units');
    16. ?>
    Display All


    then, Fatal error: Call to undefined function palo_register_server() in C:\wamp\www\PHP\sample\ConnectionString\palo_data.php on line 11 :(

    when I checked palo_register_server.php, I think no problem in there. the code:

    PHP Source Code

    1. <?php
    2. // define the constants
    3. define('CONN', 'LOCALHOST');
    4. define('HOST', '127.0.0.1');
    5. define('PORT', '7777');
    6. define('USER', 'admin');
    7. define('PASS', 'admin');
    8. // registers a name for a PALO server
    9. $connection = palo_register_server(HOST, PORT, "admin", "admin");
    10. ?>
    Display All


    please help me to solve it, how to connect sdk-olap server-wamp?
    Thanks