+
Skip to content

QPC-github/plugin-PiwikDebugger

 
 

Repository files navigation

Piwik PiwikDebugger Plugin

Build Status

Description

WARNING DO NOT INSTALL THIS PLUGIN ON ANY SERVER IN PRODUCTION

This plugin is only meant for developing or for debugging Piwik instances where you do not have any SSH/FTP access.

Features

  • Edit all Piwik files and restore all changed files with one click
  • Execute database queries and see the result
  • Browse the Piwik database
  • Monitor server stats
  • Execute any system command in a terminal (if server allows you to execute it)
  • Check PHP info
  • Package Piwik or any directory as ZIP and download it
  • See all configured config values and change some of them
  • Execute console commands (in debug bar)
  • Execute any shell command (in debug bar)
  • See all logged messages (in debug bar)
  • See all executed SQL queries during a request, how long they took and which parameters were used (in debug bar)
  • See how long it took to generate a page on the server and how much memory it needed (in debug bar)

Setup

  • Enable plugin PiwikDebugger
  • You may need to give write permission to folder: chmod +w path/to/piwik/plugins/PiwikDebugger/libs/icecoder/
  • If you want to edit files via the file editor, your web server user will need permission to edit files.

FAQ

Where can I find those features?

Most of them are visible in the Admin/Settings area of Piwik under the section "Diagonse". The debug bar should be visible on the bottom of the page. In case it is closed there is an icon on the bottom left to open it.

How do I get to the terminal?

Open "Edit files", move your mouse to the left and a navigation will open where you can select the terminal.

Where is my ZIP file that I have generated in the file editor?

If the browser doesn't offer you to download the ZIP it'll be placed in plugins/PiwikDebugger/libs/icecoder/backups

When I edit a file in the file editor, where can I find an untouched copy of the file?

Before changing a file the first time we will generate a backup within the folder plugins/PiwikDebugger/libs/icecoder/backups

How can I restore all edited files?

Open the file editor and click on the menu entry "File => Restore all edited files"

Used libraries

License

PiwikDebugger is released under the GPL v3 (or later) license, see LICENSE

Changelog

0.1.0 Initial release

Support

Please direct any feedback to hello@piwik.org - http://piwik.org

About

Debug and troubleshoot a Matomo server or a plugin with this useful plugin toolkit

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 65.0%
  • CSS 15.9%
  • JavaScript 15.1%
  • HTML 3.9%
  • Other 0.1%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载