• Resolved executekone

    (@executekone)


    Hello,

    I’m currently experiencing several issues with my Matomo installation:

    1. Proxy Header Warning
      Matomo displays the warning Proxy header HTTP_X_REAL_IP, even though I’ve configured it to use the default recommended setting.
    2. PHP Function Warnings
      I’m receiving the following warning:
      Other functions warning:
      Matomo recommends enabling several PHP functions, including shell_execset_time_limitmailparse_ini_fileglobgzopenmd5_file, and hash_file.
    3. Server Configuration Errors
      My PHP server is logging these errors:

    AH01630: client denied by server configuration: /home/wp-content/plugins/matomo/app/config/global.ini.php

    AH01630: client denied by server configuration: /home/wp-content/plugins/matomo/app/vendor/matomo/device-detector/regexes/bots.yml

    Could you please advise on how to resolve these issues?

    Best regards,
    Daniel

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    Hi @executekone,

    Matomo displays the warning Proxy header HTTP_X_REAL_IP, even though I’ve configured it to use the default recommended setting.

    In Matomo Analytics > Settings > Advanced there should be some text that says: “We detected you have the following IP address”, can you check if the IP address that follows is correct? If it isn’t, select HTTP_X_REAL_IP as the configured value for the related setting.

    If it is correct, you can ignore the above warning.

    1. I’m receiving the following warning:
      Other functions warning:
      Matomo recommends enabling several PHP functions, including shell_execset_time_limitmailparse_ini_fileglobgzopenmd5_file, and hash_file.

    If Matomo works otherwise, you can ignore this warning.

    My PHP server is logging these errors:

    These requests are made by the System Report to test that the URLs listed in the errors are not accessible, so they are expected when checking the system report. You can ignore the errors.

    Thread Starter executekone

    (@executekone)

    Hello,

    When I set it from REMOTE_ADDR to HTTP_X_REAL_IP the error goes away even though both have the same IP.

    Why does the other functions warning then shows up?

    Plugin Support dizzyatinnocraft

    (@dizzyatinnocraft)

    When I set it from REMOTE_ADDR to HTTP_X_REAL_IP the error goes away even though both have the same IP.

    Yes, the diagnostic does not check whether they have the same IP, though it could. We can make that change at some point in the future, though we wouldn’t consider it a high priority compared to other more impactful work.

    Why does the other functions warning then shows up?

    The recommended functions are used in different parts of the core Matomo product which is designed to be self-hosted by itself, rather than a part of WordPress. Most of these parts of the product have less performant alternatives to using those functions, so Matomo will still work without them. Others are only used in the core product and not Matomo for WordPress. This is why the diagnostic is a warning and not an error.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issues with Matomo Configuration and Server Errors’ is closed to new replies.