Documentation 1.x

Error reporting by email

ImpressPages CMS has built-in error reporting system. If specified on installation process, it will report all occured errors by email. To prevent the spamming the number of emails is limited to up to ten an hour.

How to turn off all error reporting by email

Open ip_config.php file and remove your email address from constant value "ERRORS_SEND". Leave the blank value:

define('ERRORS_SEND', '');

How to turn off only error 404 reporting by email

  1. Login to administration pane
  2. Go to Developer -> Modules Config tab
  3. Select Configuration module on the left
  4. Press yellow folder icon on the right on the line "Error 404"
  5. And take off the checkbox from value field of following parameters:
    • Report broken inside link
    • Report broken outside link
    • Report mistyped urls

How to create custom error 404 layout?

Create php file (eg. error404.php) in your theme near to main.php. Then go to administration panel, and change parameter Developer -> Modules Config -> Configuration -> Error 404 -> Error_page_template value to your new php file.

Put anything you like in this PHP file. It is rendered as any other layout file (eg. main.php). 

Comments (3)

Stf

Stf

How to disable all IP errors reporting/interception and display my own pages that I have defined in Apache .htaccess ?

Mangirdas

Mangirdas

As I understand, you are talking mostly about error404. This error can't occure on htaccess stage because htaccess rewirtes all urls to index.php. But you can fully controll the output. I've added new section at the bottom. Please read and tell if it solves your problem.

Stf

Stf

Thanks a lot. For the moment, I have just edited the text of Error_mistyped_url to make it multilingual (even if the site is not yet) just to be a bit more user friendly.

Write a comment

You must be logged in to comment.