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.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

template for Security not found

Go to End

3 Posts   1087 Views


Community Member, 97 Posts

25 October 2012 at 10:54pm

My customer found a horriable page

and he got this error msg:
[Notice] Undefined property: Security::$template
GET /Security

followed by 404.

how to redirect /Security to the 404 specified in the CMS?


Community Member, 9 Posts

4 November 2012 at 2:53am

Did you modify or extend the default template?
What version of SS are you currently using?


Community Member, 97 Posts

8 November 2012 at 11:19pm

I am using 3.0.2 release 2. I did not extend the default

For now, I have to put this in my .htaccess to force a redirect

RewriteCond %{REQUEST_URI} ^/Security$
RewriteRule ^(.*)$ /notfound/%1 [PT]
RewriteCond %{REQUEST_URI} ^/Security/$
RewriteRule ^(.*)$ /notfound/%1 [PT]