Hi,
I was trying to configure piwik through /admin/config/system/piwik using my ID and path settings and I get the following error message:

Path "" not prefixed with slash.

The path I filled in looks like this

https://webstats.example.com/

At the same time I get this notice in my log files:

Notice: Use of undefined constant PIWIK_TRACKFILES_EXTENSIONS - assumed 'PIWIK_TRACKFILES_EXTENSIONS' in Drupal\piwik\Form\PiwikAdminSettingsForm->buildForm() (line 246 of /modules/piwik/src/Form/PiwikAdminSettingsForm.php).

Can someone help me with my configuration?

Comments

usrsbn created an issue. See original summary.

hass’s picture

Version: 8.x-1.0 » 8.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

I'm not aware of such an issue and here all works well. Please debug and let me know what is wrong. The very best would be a test that shows the fails.

hass’s picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Fixed

OMG.

  • An URL is not a path.
  • Path's text area must not contain any empty lines.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.