Hallo,
ich suche mal wieder Hilfe bei einem komischen Problem.
Ich möchte JSON Daten über file_get_contents in einem Contao-Template (Rocksolid Custom Elements) holen.
Dies funktioniert nicht. Außerhalb von Contao funktioniert es.
Hier meine Anfrage:
PHP-Code:
$data = 'https://h4a.it4sport.de/spo/spo-proxy.php?format=json&cmd=data&lvTypeNext=team&lvIDNext=342689';
$json_data = file_get_contents($data);
echo $json_data;
Ich habe mal die Errors und Warnings angeschaltet und bekomme folgende Meldung:
Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in templates/rsce_custom_table.html5 on line 10
Ich habe nichts passendes hierzu im Forum gefunden - weiß jemand Rat?
Lesezeichen