Neu Netzwerkfehler

Tendoxe

Neues Mitglied
19. Januar 2023
1
0
Hallo, ich wollte mir gerade einen JTL- Shop einrichten aber ich bekam folgenden Fehler bei dem 1. Schritt zum Einrichten.
Bei Hilfe wäre ich sehr dankbar!


Netzwerkfehler:
'Invalid PHP version: ' . PHP_VERSION]); exit; } $protocol = (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) === 'on' || (int)$_SERVER['HTTPS'] === 1)) || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') ? 'https://' : 'http://'; $port = ''; $requestURI = $_SERVER['REQUEST_URI']; if (strpos($requestURI, '.php')) { $nPos = strrpos($requestURI, '/') + 1; $requestURI = substr($requestURI, 0, strlen($requestURI) - (strlen($requestURI) - $nPos)); } if ((int)$_SERVER['SERVER_PORT'] !== 80) { $port = ((int)$_SERVER['SERVER_PORT'] === 443 && $protocol === 'https://') ? '' : (':' . (int)$_SERVER['SERVER_PORT']); } $host = !empty($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : $_SERVER['HTTP_HOST']; $full = $protocol . $host . $port . $requestURI; $parsed = parse_url($full); $path = str_replace('/' . basename(__DIR__), '', $parsed['path']); $url = $parsed['scheme'] . '://' . $parsed['host'] . $port . $path; define('URL_SHOP', $url); define('SHOP_LOG_LEVEL', E_ALL); define('SMARTY_LOG_LEVEL', E_ALL); define('ES_DB_LOGGING', false); require_once PFAD_ROOT . 'includes/defines.php'; require_once PFAD_ROOT . PFAD_INCLUDES . 'autoload.php'; if (isset($_GET['task'])) { (new VueInstaller($_GET['task'], !empty($_POST) ? $_POST : null))->run(); }
 

Star Piercing

Sehr aktives Mitglied
1. Dezember 2012
1.185
283
Welche Shopversion? Welche PHP Version ist installiert?

Ich bin absolut kein Profi, aber die ersten Worte in diesem Fehler deuten auf eine falsche PHP Version.
 

Ähnliche Themen