[vz-dev] Runtime Error: Die Eigenschaft "some"

Andreas Goetz cpuidle at gmail.com
Tue Feb 2 16:47:33 CET 2016


2016-02-02 15:28 GMT+01:00 Christian Schnellrieder <
schnellrieder.cs at gmail.com>:

> Hallo.
>
> Also ich bin jetzt kein Webserver Spezialist aber die Abfragen sehen rein
> vom Pfad her komisch aus.
>

Das passt schon- sieht unter Windows und ohne mod_rewrite einfach anders
aus.

Viele Grüße,
Andreas



>
> Deine Abfrage:
> GET /volkszaehler/htdocs/middleware.php/data.json?from=1454328 von der URL"
> http://localhost/volkszaehler/htdocs/frontend/"
>
> Zum Vergleich eine Abfrage wie diese bei mir im Log kommt:
> GET
> /middleware.php/data/8c1deda0-7050-11e5-8781-4fdfab77ae12.json?from=0&tu
> von der URL http://127.0.0.1/frontend/
>
> Was kommt denn bei dir wenn du die URL http://127.0.0.1/frontend/ öffnest?
>
>
>
> Grüße
>
>
> Dominik Benner <dominik at benner.ws> schrieb am Di., 2. Feb. 2016 um
> 13:11 Uhr:
>
>> So wie ich das sehen kann wird dieser Aufruf gemacht:
>>
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET /volkszaehler/htdocs/frontend/
>> HTTP/1.1" 304 - "http://localhost/volkszaehler/htdocs/" "Mozilla/5.0
>> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
>> Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/vendor/jquery-ui/jquery-ui.min.css HTTP/1.1"
>> 304 - "http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0
>> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
>> Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/stylesheets/style.css HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/stylesheets/sprites.css HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/vendor/jquery/jquery-2.1.3.min.js HTTP/1.1"
>> 304 - "http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0
>> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
>> Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/vendor/jquery-ui/jquery-ui.min.js HTTP/1.1"
>> 304 - "http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0
>> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
>> Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/javascripts/jquery/jquery-ext.min.js
>> HTTP/1.1" 304 - "http://localhost/volkszaehler/htdocs/frontend/"
>> "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
>> Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/vendor/flot/flot.min.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/vendor/autobahn.min.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/javascripts/helper.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/javascripts/init.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/javascripts/functions.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/javascripts/entities.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/javascripts/wui.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/javascripts/entity.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/javascripts/options.js HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/images/blank.png HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/images/sprites.png HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/vendor/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png
>> HTTP/1.1" 304 - "http://localhost/volkszaehler/htdocs/frontend/"
>> "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
>> Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/middleware.php/capabilities.json HTTP/1.1" 200 16172 "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/middleware.php/entity.json?uuid%5B%5D=7a208200-c927-11e5-8262-7b2a722fbfcf&nostrict=1
>> HTTP/1.1" 200 201 "http://localhost/volkszaehler/htdocs/frontend/"
>> "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
>> Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/frontend/images/loading.gif HTTP/1.1" 304 - "
>> http://localhost/volkszaehler/htdocs/frontend/" "Mozilla/5.0 (Windows NT
>> 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0
>> Safari/537.36 Edge/13.10586"
>> 192.168.178.26 - - [02/Feb/2016:13:08:11 +0100] "POST
>> /volkszaehler/htdocs/middleware.php/data/b29dd240-c927-11e5-bc1f-e39286145e17.json
>> HTTP/1.1" 200 26 "-" "vzlogger/0.5.1 (libcurl/7.38.0 OpenSSL/1.0.1k
>> zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3)"
>> ::1 - - [02/Feb/2016:13:08:11 +0100] "GET
>> /volkszaehler/htdocs/middleware.php/data.json?from=1454328491254&to=1454414891254&tuples=391&uuid%5B%5D=7a208200-c927-11e5-8262-7b2a722fbfcf
>> HTTP/1.1" 200 387 "http://localhost/volkszaehler/htdocs/frontend/"
>> "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
>> Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:12 +0100] "GET
>> /volkszaehler/htdocs/frontend/vendor/jquery-ui/images/ui-icons_888888_256x240.png
>> HTTP/1.1" 304 - "http://localhost/volkszaehler/htdocs/frontend/"
>> "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
>> Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>> ::1 - - [02/Feb/2016:13:08:12 +0100] "GET
>> /volkszaehler/htdocs/frontend/vendor/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png
>> HTTP/1.1" 304 - "http://localhost/volkszaehler/htdocs/frontend/"
>> "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
>> Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
>>
>> Am 2. Februar 2016 um 12:01 schrieb Andreas Goetz <cpuidle at gmail.com>:
>>
>>> Versuch mal composer show oder composer info. Das sollte eigentlich den
>>> git hash ausgeben.
>>>
>>> Viele Grüße,
>>> Andreas
>>>
>>>
>>> 2016-02-02 11:09 GMT+01:00 Dominik Benner <dominik at benner.ws>:
>>>
>>>> Hey,
>>>>
>>>> Blöde Frage meinerseits:
>>>>
>>>> Ich hab VZ via Composer auf Windows installiert. Wie finde ich denn da
>>>> die Version raus?
>>>>
>>>> Gruß
>>>>
>>>> Dominik
>>>>
>>>> Am 2. Februar 2016 um 11:07 schrieb Andreas Goetz <cpuidle at gmail.com>:
>>>>
>>>>> Moin,
>>>>>
>>>>> mein Fehler. Ich habe die Frage im Wiki ergänzt:
>>>>>
>>>>> - Middleware/ Frontend Version (git log -n 1 im Ordner /var/www/
>>>>> volkszaehler.org)
>>>>>
>>>>> Viele Grüße,
>>>>> Andreas
>>>>>
>>>>>
>>>>> 2016-02-02 10:45 GMT+01:00 Dominik Benner <dominik at benner.ws>:
>>>>>
>>>>>> Hallo Andreas,
>>>>>>
>>>>>> vzlogger läuft problemlos und logt 3 Meters mit (2x EDl21 SML
>>>>>> Stromzähler und 1x S0 Wasseruhr).
>>>>>> Die Daten werden über die Middleware in die Datenbank geschrieben
>>>>>> (auch einsehbar über access.log des Apache).
>>>>>>
>>>>>> Rufe ich jetzt das Frontend auf um die Daten anzeigen zu lassen kommt
>>>>>> der Fehler sobald ich einen Kanal zum Anzeigen hinzufüge. Ein Graph wird
>>>>>> nicht aufgebaut.
>>>>>> Ich kann auch die Eigenschaften der Kanäle nicht mehr ändern, da eine
>>>>>> Änderung nicht abgespeichert wird.
>>>>>> Das passiert im MS Edge im IExplorer und im Chrome
>>>>>>
>>>>>> Gruß
>>>>>>
>>>>>> Dominik
>>>>>>
>>>>>> Date: Tue, 2 Feb 2016 10:13:33 +0100
>>>>>> From: Andreas Goetz <cpuidle at gmail.com>
>>>>>> To: "volkszaehler.org" <volkszaehler-dev at demo.volkszaehler.org>
>>>>>> Subject: Re: [vz-dev] Runtime Error: Die Eigenschaft "some"
>>>>>> Message-ID:
>>>>>>         <
>>>>>> CAD+a8MhDH-NBhNyF8tcqmHi_S-5SHfBWSBiVr8rYUqK3_T2F_g at mail.gmail.com>
>>>>>> Content-Type: text/plain; charset="utf-8"
>>>>>>
>>>>>> Du willst http://wiki.volkszaehler.org/howto/debug damit wir
>>>>>> ?berhaupt mal
>>>>>> verstehen wo der Fehler denn auftritt...
>>>>>>
>>>>>> Viele Gr??e,
>>>>>> Andreas
>>>>>>
>>>>>>
>>>>>> 2016-02-02 10:06 GMT+01:00 Dominik Benner <dominik at benner.ws>:
>>>>>>
>>>>>> > Hallo,
>>>>>> >
>>>>>> > nach dem Beginn des produktiven Loggings kommt im Frontend immer der
>>>>>> > Fehler:
>>>>>> >
>>>>>> > Unable to get property 'some' of undefined or null reference.
>>>>>> >
>>>>>> > Dieser tritt immer auf, wenn ich einen channel zum anzeigen
>>>>>> ausw?hle.
>>>>>> > Als noch keine Daten in der Datenbank waren wurde mir auch alle 5
>>>>>> Channel
>>>>>> > korrekt angezeigt im Frontend.
>>>>>> >
>>>>>> > DB: MSSQL Server 2014
>>>>>> > OS: Windows10 64bit
>>>>>> >
>>>>>> >
>>>>>> > Gru?
>>>>>> >
>>>>>> > Dominik
>>>>>> >
>>>>>> -------------- next part --------------
>>>>>> An HTML attachment was scrubbed...
>>>>>> URL: <
>>>>>> http://demo.volkszaehler.org/pipermail/volkszaehler-dev/attachments/20160202/050c378f/attachment.html
>>>>>> >
>>>>>>
>>>>>> ------------------------------
>>>>>>
>>>>>
>>>>>
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-dev/attachments/20160202/3c4b31ef/attachment-0001.html>


More information about the volkszaehler-dev mailing list