Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove or display Physical path when error occurs? #12998

Closed
triffic-tang opened this issue May 28, 2018 · 1 comment
Closed

How to remove or display Physical path when error occurs? #12998

triffic-tang opened this issue May 28, 2018 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@triffic-tang
Copy link

Hi,
How to remove or display physical disk path when something wrong happens? as shown below.

piwik-physical-path

@tsteur
Copy link
Member

tsteur commented May 28, 2018

You might want to change the session type to "database" which is easiest.

In your config/config.ini.php file locate the section that says [General]. Below it add the line session_save_handler = "dbtable"

In general you would need to write a plugin otherwise and hook eg to the Request.dispatch event see https://developer.matomo.org/api-reference/events#requestdispatchend and https://developer.matomo.org/guides/events and https://developer.matomo.org/guides/getting-started-part-1

Fur further questions please consult our developer forum for questions: https://forum.matomo.org/c/plugins-platform

@tsteur tsteur closed this as completed May 28, 2018
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label May 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants