function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Scott.MScott.M 

Site Errors not Showing Correct Error Pages

Hi,

 

I'm experiencing our site not showing the correct error pages. If a file is not found it shows the default InMaintenance page, not the FileNotFound error page I've selected in the Site settings. If I go directly to any of the error pages, the site shows the InMaintenance page that I've selected for the site.

 

I'm not sure what to make of it, I've checked to make sure all the permissions are working correctly. I'm also no longer receiving emails with more detailed information when the errors occur.

 

Thanks for any help! 

 

The site is http://www.stantive.com

Message Edited by Scott.M on 06-18-2009 08:19 AM
Message Edited by Scott.M on 06-18-2009 08:20 AM
Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent

Scott,

the following line is the issue in all error pages:

 

 

<apex:composition template="{!$Page.StdExceptionTemplate}">

you need to replace it with the following:

 

 

<apex:composition template="StdExceptionTemplate">

 

 

 

 

 

 

All Answers

BulentBulent

Scott,

the following line is the issue in all error pages:

 

 

<apex:composition template="{!$Page.StdExceptionTemplate}">

you need to replace it with the following:

 

 

<apex:composition template="StdExceptionTemplate">

 

 

 

 

 

 

This was selected as the best answer
Scott.MScott.M

That was it :) thanks

 

 

NandiniKVNandiniKV

I have done the necessary configuration by adding the Newly created page to Error Page Assignment, all the Error works apart from the "URL Doesn't Exists" I have created a community. 

 

Can some one please help me check points for configuration and also if someone else have already faced this issue??

 

Thanks,