Index: trunk/core/kernel/db/db_event_handler.php =================================================================== diff -u -N -r8420 -r8428 --- trunk/core/kernel/db/db_event_handler.php (.../db_event_handler.php) (revision 8420) +++ trunk/core/kernel/db/db_event_handler.php (.../db_event_handler.php) (revision 8428) @@ -425,6 +425,9 @@ if (!$perm_status) { // when no permission to view item -> redirect to no pemrission template + if ($this->Application->isDebugMode()) { + $this->Application->Debugger->appendTrace(); + } trigger_error('ItemLoad Permission Failed for prefix ['.$event->getPrefixSpecial().']', E_USER_WARNING); $next_template = $this->Application->IsAdmin() ? 'no_permission' : $this->Application->ConfigValue('NoPermissionTemplate'); $this->Application->Redirect($next_template, Array('next_template' => $this->Application->GetVar('t')));