PHP i-doit API Client not working



  • Hi, when I try to initialize the client  ( https://bitbucket.org/dstuecken/i-doit-api-clients ) with make, I get the error:

    
    Writing dynamic codesets into idoit/Api/CMDB/...Request error: Invalid parameters (Category DAO "isys_cmdb_dao_category_s_lic_overview" does not exist.)
    
    

    When I call an example from the example directory of the client this error appears:

    
    Parse error: syntax error, unexpected '$categoryType' (T_VARIABLE), expecting identifier (T_STRING) in /var/www/html/test/new/php/idoit/Api/CMDB/Category/G/General.php on line 34
    
    

    Version 1.4.8 OPEN


  • i-doIT Team

    Hi,

    It seems that this could be an issue within the API client. So this has nothing to do with i-doit itself. I recommend to raise a new issue. While doing so please post some more information, e. g.:

    • API client version

    • Complete output of make initialize

    • Used PHP version and operating system

    I am able to reproduce your second error with the latest version of the API client and PHP 7.0.8 (Ubuntu 16.10).

    Greetings,
    Benjamin


Log in to reply
 


Datenschutz / Privacy Policy