{"issue":{"state":"open","created_at":"2011-11-29T17:35:29Z","updated_at":"2011-11-29T17:35:30Z","user":{"gravatar_id":"73122aef4d0e965206fd6faddaa3340e","id":481937,"url":"https://api.github.com/users/Toflar","login":"Toflar","avatar_url":"https://secure.gravatar.com/avatar/73122aef4d0e965206fd6faddaa3340e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Hi Leo\n\nOffenbar lässt sich das be_error.tpl nicht überschreiben.\nWenn ich ein be_error.tpl in das Verzeichnis templates lege, passiert jedenfalls nichts.\nDa steht aber \"To customize this notice, create a custom template file named <em>templates/be_error.tpl</em>\"\n\nDas Template wird fix in der functions.php ab Zeile 181 eingebunden:\n\n```\n/**\n * Show a special TYPOlight \"what to do in case of an error\" message\n */\nfunction show_help_message()\n{\n  if (\n\n![](ini_get('display_errors'))\n  {\n    header('HTTP/1.1 500 Internal Server Error');\n       \n    if(file_exists(TL_ROOT . '/system/modules/backend/templates/be_error.tpl'))\n    {\n      include(TL_ROOT . '/system/modules/backend/templates/be_error.tpl');\n      exit;\n    }\n\n    echo 'An error occurred while executing this script)';\n  }\n}\n```\n\nMüsste imho so aussehen:\n\n```\n/**\n * Show a special TYPOlight \"what to do in case of an error\" message\n */\nfunction show_help_message()\n{\n  if (\n\n![](ini_get('display_errors'))\n  {\n    header('HTTP/1.1 500 Internal Server Error');\n    \n    if(file_exists(TL_ROOT . '/templates/be_error.tpl'))\n    {\n      include(TL_ROOT . '/templates/be_error.tpl');\n      exit;  \n    }\n    \n    if(file_exists(TL_ROOT . '/system/modules/backend/templates/be_error.tpl'))\n    {\n      include(TL_ROOT . '/system/modules/backend/templates/be_error.tpl');\n      exit;\n    }\n\n    echo 'An error occurred while executing this script)';\n  }\n}\n```\n\nDanke für's Prüfen!\n\n--- _Originally created on December 6th, 2009, at 02:29pm (ID 1244)_","assignee":null,"id":2388499,"labels":[{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/import/labels/Defect"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/framework"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1244,"title":"be_error.tpl lässt sich nicht überschreiben","closed_at":null,"html_url":"https://github.com/contao/import/issues/1244","url":"https://api.github.com/repos/contao/import/issues/1244","milestone":{"state":"open","created_at":"2011-11-29T15:29:32Z","due_on":null,"closed_issues":169,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":9,"description":"TYPOlight 2.8.0 (minor release)","title":"2.8.0","url":"https://api.github.com/repos/contao/import/milestones/9","open_issues":1}},"action":"created","comment":{"created_at":"2011-11-29T17:35:30Z","updated_at":"2011-11-29T17:35:30Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"--- _Originally completed on December 11th, 2009, at 02:12pm_","id":2937500,"url":"https://api.github.com/repos/contao/import/issues/comments/2937500"}}