Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I am trying to create a 403 error page. Publishing creates a HTML page called error-403.html in the assets folder, as it should.
But the file is empty.
If I try copying and pasting the content from another page into the empty file, the next time I publish, the length is once again set to zero.
Open file: sapphire\core\control\HTTPResponse.php
Find function isFinished() and remove error code from an array.