HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/passenger/templates/error_renderer/with_details/src/SummaryView.jsx
/** @jsx h */
import { Component, h } from 'preact';

class SummaryView extends Component {
  render() {
    return (
      <div className="summary-view">
        <h3>Error message</h3>
        <p>
          {this.props.spec.error.summary}
        </p>

        <h3>Learn more</h3>
        <ul>
          <li>
            <a href="#" onClick={this.props.problemDescriptionButtonClicked}>
              Learn what this error means
            </a>
          </li>
          <li>
            <a href="#" onClick={this.props.solutionDescriptionButtonClicked}>
              Learn how to solve this error
            </a>
          </li>
        </ul>

        <h3>Additional information</h3>
        <p>Error ID: {this.props.spec.error.id}</p>
        <pre>{this.props.spec.error.aux_details}</pre>
      </div>
    );
  }
}

export default SummaryView;