• I have WP instance, installed on immutable way, and I have Connect Matomo installed.

    I tried to use the configuration : Connect Matomo Settings => Enable tracking => Add tracking code = Use proxy script

    Still this isn’t work and I have this error log on my server : [Sun Feb 02 17:21:57.502681 2025] [proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Warning: require(../../../../wp-load.php): Failed to open stream: No such file or directory in /home/bas/app_root/web/app/plugins/wp-piwik/proxy/config.php on line 3; PHP message: PHP Fatal error: Uncaught Error: Failed opening required '../../../../wp-load.php' (include_path='.:/usr/share/pear-8.2:/usr/share/php-8.2:') in /home/bas/app_root/web/app/plugins/wp-piwik/proxy/config.php:3\nStack trace:\n#0 /home/bas/app_root/web/app/plugins/wp-piwik/proxy/proxy.php(28): include()\n#1 /home/bas/app_root/web/app/plugins/wp-piwik/proxy/matomo.php(14): include('/home/bas/app_c...')\n#2 {main}\n thrown in /home/bas/app_root/web/app/plugins/wp-piwik/proxy/config.php on line 3', referer https://blog.broncotoxique.com/

    I’m Running WP-Matomo 1.0.30, Matomo 5.1.0 and WordPress 6.7.1

    • This topic was modified 1 year, 1 month ago by zorglube.
    • This topic was modified 1 year, 1 month ago by zorglube.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter zorglube

    (@zorglube)

    After few research, it seems that the piwik code looks for a file at the path '../../../../wp-load.php'relative to wp-piwik/proxy/config.phpfile, BUT the right path is: '../../../../wp/wp-load.php'

    Thread Starter zorglube

    (@zorglube)

    Finally I understood the problem, it’s related to the way my WP is deployed, to fix it I need way to set another value for the var $wpRootDir of the file /wp-piwik/proxy/config.php

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

The topic ‘Tracking with : `Use proxy script` don’t work’ is closed to new replies.