Am 30.06.2015 um 20:39 schrieb Bernd Nemetz:
> Hallo Kai,

Hey der Bernd,

sry fürs erst jetzt antworten …

> wenn ich das ffp-apdb Script laufen lasse bekomme ich das hier um die Ohren 
> gehauen.
> 
> Ist irgendwas auf Juri kaputt?
> 
> […]
> 
> <b>Notice</b>:  Undefined index: boardtype in 
> <b>/var/www/user_freifunkweb/chroot/htdocs/www/apdb/ap.php</b> on line 
> <b>107</b><br />
> <br />
> <b>Notice</b>:  Undefined index: boardflags in 
> <b>/var/www/user_freifunkweb/chroot/htdocs/www/apdb/ap.php</b> on line 
> <b>108</b><br />

Das ist echt komisch … – Ich habe gerade mal in die zwei Scripte
geschaut und festgestellt, dass in dem Backfire-Script beide Variablen
nicht mit an den Server (juri) übermittelt werden. Das war schon immer
so (wahrsch. weil es nvram nicht mehr gibt und ich beide Angaben nicht
anders ermitteln konnte).
→ Wesh. das jetzt (erst) nen Fehler warf, weiß ich nich …
Ich habe mal das Server-Skript angepasst.

> <b>Warning</b>:  file_get_contents(): http:// wrapper is disabled in the 
> server configuration by allow_url_fopen=0 in 
> <b>/var/www/user_freifunkweb/chroot/htdocs/www/apdb/ap.php</b> on line 
> <b>27</b><br />
> <br />
> <b>Warning</b>:  file_get_contents(http://[email protected]): failed to 
> open stream: no suitable wrapper could be found in 
> <b>/var/www/user_freifunkweb/chroot/htdocs/www/apdb/ap.php</b> on line 
> <b>27</b><br />

Auch hier habe ich mal angepasst und von file_get_contents() auf curl
gewechselt. (Hatte ich letztens schon mal an ner anderen Stelle gemacht,
aber hier vergessen/übersehen …)

> <b>Notice</b>:  Trying to get property of non-object in 
> <b>/var/www/user_freifunkweb/chroot/htdocs/www/apdb/ap.php</b> on line 
> <b>56</b><br />
> <br />
> <b>Notice</b>:  Trying to get property of non-object in 
> <b>/var/www/user_freifunkweb/chroot/htdocs/www/apdb/ap.php</b> on line 
> <b>57</b><br />
> <br />
> <b>Notice</b>:  Trying to get property of non-object in 
> <b>/var/www/user_freifunkweb/chroot/htdocs/www/apdb/ap.php</b> on line 
> <b>58</b><br />

*hmmm* Diese drei Meldungen kommen auch von schlechtem PHP … :-/
Das ist die Stelle, wo für unsere erweiterte Ansicht/Tabelle die
Informationen zur Uplink-IP von ipinfo.io geholt werden.
Und  wir überschreiten wohl aktuell die kosten-/frei zugängliche Anzahl
von 1000 Anfragen pro Tag [0] und somit kommen die Information nicht so
zurück, wie erwartet …
Auch hier habe ich etwas gefixt, wenn auch nicht schön …

[0] <https://ipinfo.io/pricing>

Somit läuft bei meinem AP das Skript wieder.

Grüßle
der Kai

-- 
Kai Sommer                    | http://sok.ai
Schopenhauerstraße 29         | http://ka.i-sommer.de
14467 Potsdam                 | xmpp: [email protected]
sig: CB0E 7DC5 5F32 456A 94A4 | pubkey: http://ma.ximi.se/mekey

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Users mailing list
[email protected]
https://lists.freifunk-potsdam.de/listinfo/users

Antwort per Email an