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

Undefined index warnings #1018

Open
jonocodes opened this issue May 10, 2024 · 2 comments
Open

Undefined index warnings #1018

jonocodes opened this issue May 10, 2024 · 2 comments
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.

@IrAlfred IrAlfred self-assigned this Sep 28, 2024
@IrAlfred
Copy link
Member

I’ve been working on this trying to reproduce the issue, it seems that the problem no longer occurs. The functionality appears to be working as expected. Could you please test on your end as well to confirm that the issue has been resolved? Let me know if you encounter any further issues or if additional testing is needed from my side.

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

4 participants