Module Error

When a module is requested and it does not exist, it puts up a error page. I edited one page but it did nothing. Maybe it was the wrong one. Can anyone tell me what tpl file that is? I tried core_error.tpl but that did not do anything.

It’s in core/classes/Debug.class.php, line 127 or so.

I’m using

public static function showCritical($message, $title='')
{
	if($title == '')
		$title = 'An error was encountered';

	Template::set('message', $message);
	Template::set('title', $title);
	Template::Show('core_error.tpl');	
}
1 Like

Thanks Tom. Well, it calls the tpl file I edited and it did not make a difference. That is kind of odd. I am glad to know I was on the right track though.

Thanks I appreciate it. +1