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.

Customising the CMS

ErrorPage (403) creates an empty html page.[SOLVED]


Reply

4 Posts   584 Views

Avatar
_Vince

21 January 2012 at 4:16pm Community Member, 161 Posts

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.

Any ideas?

Avatar
_Vince

21 January 2012 at 4:34pm Community Member, 161 Posts

Same for 401 pages.

Avatar
Romano

23 January 2012 at 5:56am Community Member, 13 Posts

Open file: sapphire\core\control\HTTPResponse.php

Find function isFinished() and remove error code from an array.

Avatar
_Vince

25 January 2012 at 10:01am Community Member, 161 Posts

Thanks, heaps! :D