默认情况下,Joomla!用户发生错误时候使用一个特定的系统模板报错页面,这些页面在templates/system目录中,error page的名称是根据HTTP的错误号命名的,以下是系统默认的报错页面:
templates/system/403.php (Status code: 403 Forbidden)
templates/system/404.php (Status code: 404 Not Found)
templates/system/500.php (Status code: 500 Internal Server Error)
这些错误号在HTTP协议RFC2616中定义,更详细的关于HTTP协议信息请参考
: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
这些error page的样式表可以修改以下这些:
errorboxheader
errorboxbody
techinfo
templates/system/目录下还有以下的error page
templates/system/component.php (not sure when this is used)
templates/system/offline.php 站点不在线时候的提示信息
注意: jdoc:include elements 不能在error pages 中使用
原文地址:http://docs.joomla.org/System_error_pages