21285 Posts in 5732 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 875 Views |
-
Disabling SS error messages? help Please

1 May 2010 at 2:58am
Hi all,
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 :
Website Error
Not FoundThe 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.
_myconfig
Director::set_dev_servers(array(
'localhost',
'127.0.0.1',
));Director::set_environment_type("live");
I read somewhere to add set_environment_type("live");
But does not seem to work am I missing something simple?
thanks in advance
FireMe
-
Re: Disabling SS error messages? help Please

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.
| 875 Views | ||
|
Page:
1
|
Go to Top |


