server-status-project/server-status

[BUG]

Opened this issue · 9 comments

[https://user-images.githubusercontent.com/70025692/98031725-36f26800-1e13-11eb-8ead-cd920023c0a4.png]

Serveradress: https://rezureax.net/status/login


image

We'll review soon and report back

@IanDog4115 Quick fix is to create an empty head.txt file in the admin folder.

@yigitkeremoktay I think it would be a better if we moved the inclusion of head.txt file as a db config option.

@thnilsen this issue does not exist in the latest version. Did we not publish it as a release?

@yigitkeremoktay The bug exists in the current dev branch, so i don't think it has been looked at before. It happens because /template.php where head.txt is injected, is also included in /admin/index.php and /admin/options.php.

If we made the head.txt feature into an option as a DB read string it would prevent the issue all together.

@yigitkeremoktay The bug exists in the current dev branch, so i don't think it has been looked at before. It happens because /template.php where head.txt is injected, is also included in /admin/index.php and /admin/options.php.

If we made the head.txt feature into an option as a DB read string it would prevent the issue all together.

We can do that sure. But this in not the case for the latest master. We use a php file instead.

That is correct, as the master code uses include and not "fopen() or die". From the error message that @IanDog4115 posted I would assume he is using the dev branch.

@thnilsen Fixed. Please verify :)

@thnilsen Fixed. Please verify :)

Nope it's not. We have to merge master with the dev. We can't merge from master. It just gets rid of all new features.

Closing because of inactivity.