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   635 Views

Avatar
_Vince

Community Member, 162 Posts

21 January 2012 at 4:16pm

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

Community Member, 162 Posts

21 January 2012 at 4:34pm

Same for 401 pages.

Avatar
Romano

Community Member, 13 Posts

23 January 2012 at 5:56am

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

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

Avatar
_Vince

Community Member, 162 Posts

25 January 2012 at 10:01am

Thanks, heaps! :D