Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    PHP i-doit API Client not working

    Scheduled Pinned Locked Moved Development
    2 Posts 2 Posters 1.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gerd9000
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • bheisigB Offline
        bheisig i-doit Team
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post