Uh oh!
There was an error while loading. Please reload this page.
Enhancement: Run end-to-end tests asserting an HTTP response status code - #900
Conversation
🚀 Commit d8fdb48 Deployed on https://web-php-pr-900.preview.thephp.foundation |
There was a problem hiding this comment.
I copied this file from https://github.com/cubny/php-built-in-server-manager/blob/9a5cbeaad50a108d6058b882b83ba23fbd7722a9/server.
If someone wants to write their own, I'll be happy to copy it.
890ac82 to
0ba2609Compare🚀 Deployed on https://web-php-pr-900.preview.thephp.foundation |
Uh oh!
There was an error while loading. Please reload this page.
0ba2609 to
25bc229Compare🚀 Deployed on https://web-php-pr-900.preview.thephp.foundation |
25bc229 to
bd9fde7Compare🚀 Deployed on https://web-php-pr-900.preview.thephp.foundation |
bd9fde7 to
ba9eb8eCompare🚀 Deployed on https://web-php-pr-900.preview.thephp.foundation |
ba9eb8e to
5daacebCompare🚀 Deployed on https://web-php-pr-900.preview.thephp.foundation |
pronskiy
commented
Dec 19, 2023
@localheinz I tried adding |
5daaceb to
4cf1099Comparelocalheinz
commented
Dec 22, 2023
With 48a8881 and running php -S localhost:8080 .router.phpI can see the following output in the console: [Fri Dec 22 15:21:47 2023] [::1]:49172 Accepted[Fri Dec 22 15:21:47 2023] PHP Fatal error: Message in /Users/am/Sites/php/web-php/search.php on line 12[Fri Dec 22 15:21:47 2023] [::1]:49172 [200]: GET /search.php?show=quickref&pattern= - Message in /Users/am/Sites/php/web-php/search.php on line 12[Fri Dec 22 15:21:47 2023] [::1]:49172 Closing[Fri Dec 22 15:21:47 2023] [::1]:49173 Accepted[Fri Dec 22 15:21:47 2023] [::1]:49173 [200]: GET /favicon.ico[Fri Dec 22 15:21:47 2023] [::1]:49173 ClosingWith 48a8881, the tests fail on GitHub Actions, see https://github.com/php/web-php/actions/runs/7300886487/job/19896408958?pr=900. I do not know why they pass locally and fail on GitHub Actions, but I assume it has something to do with the configuration of PHP. |
a2a8c42 to
30c8014Compare| @@ -0,0 +1,3 @@ | |||
| [PHP] | |||
| display_errors = Off | |||
There was a problem hiding this comment.
According to https://stackoverflow.com/a/28974224/1172545, this should help!
30c8014 to
817e6dcCompareUh oh!
There was an error while loading. Please reload this page.
pronskiy
commented
Jan 15, 2024
@localheinz with the php.ini it works now 🙏 |
57f79e0 to
a18982fComparea18982f to
5fd7ef4Compare5fd7ef4 to
16904ccComparelocalheinz
commented
Jan 23, 2024
Thank you, @pronskiy, @saundefined, and @sy-records! |
This pull request
Also see #605.