PHPackages                             marketo/silverstripe-universalerrorpage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. marketo/silverstripe-universalerrorpage

AbandonedArchivedSilverstripe-module[Utility &amp; Helpers](/categories/utility)

marketo/silverstripe-universalerrorpage
=======================================

Set SilverStripe to use a pre-defined shared HTML or PHP file on the server rather than generating one from the theme/templates.

35.2k1[1 PRs](https://github.com/Marketo/SilverStripe-UniversalErrorPage/pulls)PHP

Since Apr 19Pushed 10y ago5 watchersCompare

[ Source](https://github.com/Marketo/SilverStripe-UniversalErrorPage)[ Packagist](https://packagist.org/packages/marketo/silverstripe-universalerrorpage)[ RSS](/packages/marketo-silverstripe-universalerrorpage/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

SilverStripe Universal Error Page Module
========================================

[](#silverstripe-universal-error-page-module)

Documentation
-------------

[](#documentation)

This module is used to add universal error pages to a site or a collection sites. You can use it to specify a path of where to find some standard error pages. These pages can be plain html which will output the raw html of the file or it can be a php file which it will just output the response from a php file.

Requirements
------------

[](#requirements)

- SilverStripe 3.2

Composer Installation
---------------------

[](#composer-installation)

```
composer require marketo/silverstripe-universalerrorpage

```

Config
------

[](#config)

The module can be modified via a YAML file to specify a path or a particular file for a certain error code. To define a path specify this in a YAML config file under `UniversalErrorPage`with the name `DefaultPath`If no path is defined it defaults to `/var/www/error_pages/`You can also specify a page for a particular error code under `UniversalErrorPage`.

#### Sample YAML config

[](#sample-yaml-config)

```
UniversalErrorPage:
  ConvertOnDevBuild: true
  DefaultPath: '/etc/apache2/error/'
  404: '/etc/apache2/error/error.php'

```

Any existing SilverStripe error pages will need to be removed as well as the static html files which are created in assets.

Maintainer Contacts
-------------------

[](#maintainer-contacts)

- Nathan J. Brauer ()
- Kirk Mato (kmayo \[at\] solnet.co.nz)

TODO
----

[](#todo)

- Add Tests
- Fix Extension point and test it
- Add dev task to remove SilverStripe Error pages and static error pages
- Find way to prevent /dev/build from generating static pages

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/725ea0c010856f4ba5a13cf4ff550ff29a80fc1de62569612c51dfc0ce6f2718?d=identicon)[nkmani](/maintainers/nkmani)

![](https://www.gravatar.com/avatar/e22e3bdb69c4e26df2afd309aa0e13d4366b29bf0446db5bba58866f8ab9985c?d=identicon)[nathanbrauer](/maintainers/nathanbrauer)

![](https://avatars.githubusercontent.com/u/681036?v=4)[Brandon Marshall](/maintainers/Brandon32)[@Brandon32](https://github.com/Brandon32)

![](https://avatars.githubusercontent.com/u/22066381?v=4)[Marketing Dev](/maintainers/marketingdev)[@MarketingDev](https://github.com/MarketingDev)

![](https://avatars.githubusercontent.com/u/17607967?v=4)[Jason Slavin](/maintainers/JasonHowellSlavin)[@JasonHowellSlavin](https://github.com/JasonHowellSlavin)

---

Top Contributors

[![nathanbrauer](https://avatars.githubusercontent.com/u/323945?v=4)](https://github.com/nathanbrauer "nathanbrauer (3 commits)")

### Embed Badge

![Health badge](/badges/marketo-silverstripe-universalerrorpage/health.svg)

```
[![Health](https://phpackages.com/badges/marketo-silverstripe-universalerrorpage/health.svg)](https://phpackages.com/packages/marketo-silverstripe-universalerrorpage)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
