health page not working #24

Closed
opened 2017-08-01 19:07:51 +02:00 by tobiasd · 3 comments
tobiasd commented 2017-08-01 19:07:51 +02:00 (Migrated from github.com)

The /health page produces a WSoD due a parsing error.

PHP Parse error: syntax error, unexpected end of file in mod/health.php on line 396 Errors parsing mod/health.php

The `/health` page produces a WSoD due a parsing error. `PHP Parse error: syntax error, unexpected end of file in mod/health.php on line 396 Errors parsing mod/health.php`
tobiasd commented 2017-08-01 19:11:44 +02:00 (Migrated from github.com)

Maybe "just" a missing closing curly bracket fir the health_details function.

Maybe "just" a missing closing curly bracket fir the `health_details` function.
MrPetovan commented 2017-08-02 03:11:05 +02:00 (Migrated from github.com)

I went further than that, fixed the formatting and the multiple PHP notices. I also remove a killme() in the index.php that prevented this page from displaying altogether. 🤔

I went further than that, fixed the formatting and the multiple PHP notices. I also remove a `killme()` in the `index.php` that prevented this page from displaying altogether. 🤔
tobiasd commented 2017-08-02 06:00:21 +02:00 (Migrated from github.com)

The missing bracket was just the 1st thing I saw when I briefly looked at the code for a reason. Thanks for having a look!

The missing bracket was just the 1st thing I saw when I briefly looked at the code for a reason. Thanks for having a look!
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: friendica/dir#24
No description provided.