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

    Verwendung der API mit i-doit API Client Library for PHP

    Scheduled Pinned Locked Moved Entwicklung
    2 Posts 2 Posters 840 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.
    • C Offline
      cgarling
      last edited by

      Hallo zusammen,

      ich habe wie hier (https://bitbucket.org/dstuecken/i-doit-api-clients/wiki/PHP) beschrieben den API Client eingerichtet. Ich bekomme sowohl bei der Benutzung der Examples wie auch bei eigenen Testskripten diesen Fehler:

      
      PHP Parse error:  syntax error, unexpected '$categoryType' (T_VARIABLE), expecting identifier (T_STRING) in /usr/local/share/i-doit-api-clients/php/idoit/Api/CMDB/Category/G/General.php on line 34
      
      

      Ich verwende i-doit 1.8 Revision 21800 unter Ubuntu Server 16.04 mit PHP5.6. Weitere Infos reiche ich bei Bedarf gerne nach.

      Gruß, Christian

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

        Hallo Christian,

        wie in diesem Thread bereits beschrieben, scheint dies ein Bug im API-Client zu sein. Der Entwickler freut sich über ausführliche Bug Reports.

        Den Fehler kann ich unter Ubuntu 16.10 mit PHP 7.0.8 ebenfalls reproduzieren.

        Viele Grüße
        Benjamin

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post