Ankündigung

Einklappen
Keine Ankündigung bisher.

xxAPI Version: undefined

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    HS/FS xxAPI Version: undefined

    Hello,
    I've been trying to set the xxAPI up on my HS. Unfortunatly I can't find the solution to it.
    I looked through the forum to find a fix but none of them worked for me.
    When I type http://hs-ip/opt/hsav1/start.htm everything works. The page loads but the xxapi doesn't seem to load.
    when I type javascript:alert("ajax.js Version: "+xxAPI.ajaxVersion+"\nxxAPI Version: "+xxAPI.VERSION)
    I do get xxAPI Version: undefined and ajax.js Version: 1.00
    I made a folder called hsav1 with the file from the zip folder xxAPI.v1.00 .

    greets

    Marco

    #2
    Your XXAPI is not loadet from the Server.

    Create a Button on the XXAPI-init Page, with Action "Web Site auswerten" link it to the "XXAPI Webabfrage"

    Kommentar


      #3
      Hi Micha,

      I've tried your solution but no success. I still have the same. The xxAPI won't load.
      Maybe some more info will help.
      I run Windows 7 and tried FF 3.6.13 en IE 8.
      Any more ideas? If you like screenshots I can make some if it makes thinks easier?
      I'll not be able to click on the button to load the xxAPI since it goes straight to my start page. Do you want me to remove the jump to my home page on the xxAPI init page?

      Kommentar


        #4
        Hi Marco

        If it gos straight to your Startpage , the XXAPI should be loadet. Have a look at the Debug Site. There should be a "Event Bi-Dir" to the KNX-User-Forum"
        GET /knx_xxAPI/xxAPI.php?webver=2&load=version&ver=stable HTTP/1.0

        with the result:
        (Gesamt: 7) (Work: 7) (Typ: Liste) (OK: 1)

        Otherwise you can make a Dynnamic sign with the IKO "XXAPI loadet".
        If XXAPI is loadet, the IKO sould be "1"
        Or you define a Text on your startpage with the IKO "xxAPI.loadedVersion" It should be 1.05

        Please clear the Cache of your Browser....

        Kommentar


          #5
          Hoi Micha,

          Thanks for your help but I finally found my mistake through this forum. I had to assign the benutzerrechte for the xxAPI to my login.
          Everything is working now. I load the 1.05. Is this the latest one?
          Now I can start figuring out how to use the xxframe and xxlink

          Greets

          Marco


          Keep up the good work. It makes a good product even better.

          Kommentar


            #6
            Now everything is ok

            Yes 1.05 is the latest version.

            Kommentar


              #7
              Ich glaube ich habe das gleiche Probleme, xxAPI wird geladen (laut KO und debug-Seite), aber ich sehe auch ein "undefined" bei der Javascript Abfrage.

              Wo muß ich die Benutzerrechte denn vergeben? Ich habe bis jetzt nur die Einstellungen entsprechend dem Screenshot gefunden/gesetzt...
              Angehängte Dateien

              Kommentar


                #8
                You'll have to go to the xxAPI-Init page in the visu.
                Then select the 14byte-text and you'll see benutzergroup. There you have to select the users. You'll have to do the same with the other elements on the xxapi-init page.

                Kommentar


                  #9
                  Hmm, I dont see a reference to "Benutzergruppe" here, but I don't have them enabled globally at all, maybe that makes the difference? Do I have to enable User Groups in the project to be able to use xxAPI?
                  Angehängte Dateien

                  Kommentar


                    #10
                    Hi,
                    Zitat von ctr Beitrag anzeigen
                    Hmm, I dont see a reference to "Benutzergruppe"
                    I guess your problem is solved by now...
                    otherwise, you have to
                    double-click on the object [14-Byte/Text], then go to Benutzergruppe, add Administrators, Users, remove all others
                    double-click on the object Load xxAPI, then go to Benutzergruppe, add Administrators, Users, remove all others

                    I've been plagued with this access rights problem for many days...
                    It is a bit of a pitty that the sample has been distributed with non standard access rights.
                    If you are still stuck, have a look at this

                    Kommentar


                      #11
                      Unfortunately its not solved: I enabled "Benutzergruppen" in the main project settings and assigned my user Read and Adminstration access on group "1" and assigned all objects on the original Visu and xxAPI-INIT page to group "1" but I'm still having the same problem: The iKO and also HS-Debug indicate that xxAPI has been loaded, but I get the "undefined" on xxAPI version when using the Javascript...

                      Kommentar


                        #12
                        Zitat von ctr Beitrag anzeigen
                        The iKO and also HS-Debug indicate that xxAPI has been loaded, but I get the "undefined" on xxAPI version when using the Javascript...
                        You are almost through...
                        You might have an infrastructure problem, not related to xxAPI.
                        Which OS ? browser ?

                        While assigning the Benutzergruppe, did you remove the extraneous entries ?

                        As I said, I've been strugling with this xxAPI access rights problem for many days... that's why I've written my own procedure
                        Did you have a look at this ? disregard the text, just follow the screen shots to make sure you haven't skipped a step.

                        Some raw ideas...
                        did you try to start from a standard clean Ajax.js ?
                        does a simple Ajax pop-up work ?
                        can you post a screen shot of your Benutzergruppe settings ?

                        Kommentar

                        Lädt...
                        X