Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Undefined index: REQUEST_SCHEME #34

Open
gaffling opened this issue Apr 22, 2021 · 4 comments
Open

Notice: Undefined index: REQUEST_SCHEME #34

gaffling opened this issue Apr 22, 2021 · 4 comments

Comments

@gaffling
Copy link

Notice: Undefined index: REQUEST_SCHEME

routes.php zeile 5 und 21

besser

$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";

@BlackScorp
Copy link
Owner

@gaffling kann es sein dass du nicht XAMPP benutzt?

@gaffling
Copy link
Author

Ja, Mac also MAMPP

@BlackScorp
Copy link
Owner

Interessant, HTTPS ist auch nicht überall verfügbar, kommt auf die Version an, ich müsste wohl beides Prüfen

@BibaltiK
Copy link
Contributor

BibaltiK commented Apr 29, 2021

Bei MAMMP gibt es wohl REDIRECT_REQUEST_SCHEME. Aber man findet so keine Informationen darüber.
["REDIRECT_REQUEST_SCHEME"]=>
string(4) "http"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants