newscoop - php error_reporting for templates
  • Hello all,
    how to configure error reporting for the templates?
    If I made a typo in e.g. the _header.tpl Template, I get a blank page.
    No error is thrown, now error is shown in apache's error log.
    This is bad - as the error is hardly to fix but replacing it with the former version of the .tpl file.
    How can newscoop set up to get php errors ignored but reported?

    Best regards,
    T.
  • 2 Comments sorted by
  • hello thomas,

    try the preview - you must be logged in as an admin and add preview=on to query string (url?preview=on)

    petr
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    if you'd like to see the php errors on display you need to enable display_errors (display_errors = On) in php.ini file and restart apache server.