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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined index warnings #1018

Open
jonocodes opened this issue May 10, 2024 · 1 comment
Open

Undefined index warnings #1018

jonocodes opened this issue May 10, 2024 · 1 comment
Assignees

Comments

@jonocodes
Copy link
Contributor

馃悰 Bugreport

I am seeing a bunch of warnings about server variables.

cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_ORIGIN in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_REFERER in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_ACCEPT_CHARSET in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTPS in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_X_REQUESTED_WITH in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_HOST in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | 127.0.0.1 -  10/May/2024:18:57:07 +0000 "GET /index.php" 200
cypht-1  | 127.0.0.1 - - [10/May/2024:18:57:07 +0000] "GET / HTTP/1.1" 200 507898 "-" "curl/7.83.1"
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_REFERER in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_ACCEPT_CHARSET in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTPS in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | NOTICE: PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_HOST in /usr/local/share/cypht/lib/framework.php on line 213
cypht-1  | 127.0.0.1 -  10/May/2024:18:57:31 +0000 "POST /index.php" 200

@jacob-js perhaps related to 40f45b5

Steps to reproduce

  1. check out the docker branch here: Docker refresh聽#1001
  2. make docker-up
  3. visit http://localhost
  4. see warnings in console
@marclaporte
Copy link
Member

@esaiemuhasa please advise.

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