Index: WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt	(revision 525)
+++ WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt	(revision 531)
@@ -15,5 +15,5 @@
 <tal:haserror condition="error_type">
   <tal:NotFound condition="python:error_type == 'NotFound'">
-    <metal:block use-macro="here/error_lib_not_found/macros/not_found" />
+    <metal:block use-macro="here/not_found/macros/not_found" />
   </tal:NotFound>
 
@@ -22,5 +22,5 @@
   </tal:default>
 
-  <tal:debugging condition="python:1 or checkPerm('Manage portal', here)">
+  <tal:debugging condition="python:0 and checkPerm('Manage portal', here)">
     <table width="100%" cellpadding="2" cellspacing="2">
       <tr>
