22850 Posts in 9855 Topics by 2803 members
|Go to End|
1 May 2010 at 2:58am
Having a little problem with error messages being displayed, I want too disable SS (you know blue bg with ss logo top left) error messages and use my own for the site design.
for example if I type a URL that does not exist I get :
The website server has not been able to respond to your request.
(blue bg with ss logo top left)
Instead of my custom 404 - not found :
Sorry, it seems you were trying to access a page that doesn't exist.
Please check the spelling of the URL you were trying to access and try again.
I read somewhere to add set_environment_type("live");
But does not seem to work am I missing something simple?
thanks in advance
1 May 2010 at 9:58pm
Do you have a error-404.html page in your assets folder and a 'Page Not Found' Page in the CMS? If theres no 404 template then it could be throwing an error. If you put it in devmode you might need to check its not another error.
|Go to Top|