Project

General

Profile

Actions

Feature #15322

closed

50x and 404 error handling to GUI web server configuration

Added by Jim Pingle about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.03
Release Notes:
Default

Description

If there is a PHP error early enough in the output of a page it ends up returning a 500 error with a blank page. We should handle this better if possible.

The ideal case would redirect to the crash reporter but if PHP itself has a problem that could end up in a loop or similar bad scenario. It seems like the best path is to return a static page that contains a link to the crash reporter along with some other helpful information. It wouldn't need to be much, could be similar to the login screen, a page with the logo and a short message explaining there was a problem.

Adding a 50x error page to the nginx config is easy but we may also have to change fastcgi error interception.

This isn't a blocker but nice to have, can be moved forward if there is no time.

If it's easy enough, once we have a basic appropriate static page we could use it for 404 errors as well.

Actions #1

Updated by Jim Pingle about 1 month ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Jim Pingle about 1 month ago

  • Tracker changed from Todo to Feature
  • Subject changed from Add 500 error handling to GUI web server configuration to 50x and 404 error handling to GUI web server configuration
  • Description updated (diff)
  • Private changed from Yes to No
Actions #3

Updated by Jim Pingle about 1 month ago

  • Status changed from Feedback to Resolved

Appears to be working as expected.

Actions

Also available in: Atom PDF