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

Installation on Windows fails on system check #1021

Closed
anonymous-matomo-user opened this issue Oct 26, 2009 · 1 comment
Closed

Installation on Windows fails on system check #1021

anonymous-matomo-user opened this issue Oct 26, 2009 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

While trying to install Piwik I couldn't get past the System Check page. It was complaining that I didn't have the PDO, PDO_Mysql or MysqlI extensions.

I tracked this down to the core/piwik.php globr() function. The path being passed to it contained backslashes and the escapeshellcmd was removing them (replaced with spaces), thus making the path invalid and causing the system check to fail (when looking for db adapters).

I added a simple str_replace to change backslashes into forwardslashes and it works fine.

For easier compatibility there shouldn't be any need to use backslashes for Windows when in PHP (except for executing external applications which would then rely on normal windows paths).
Keywords: 0.4.5

@robocoder
Copy link
Contributor

duplicate: See patch in [1529].

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.5 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants