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

Error 500 when trying to install 3.0.1 #11183

Closed
thueske opened this issue Jan 12, 2017 · 7 comments
Closed

Error 500 when trying to install 3.0.1 #11183

thueske opened this issue Jan 12, 2017 · 7 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@thueske
Copy link

thueske commented Jan 12, 2017

Hey,

installing Piwik 3.0.0 works fine (no errors in system check), but when I try to install version 3.0.1 I get an Error 500 at system check page. Php-Error Log is empty and Apache Log only displays "premature end of script headers".

I am using PHP 7.0.x with FPM and apache 2.

Any ideas?

@thueske
Copy link
Author

thueske commented Jan 13, 2017

Error occurs when https://github.com/piwik/piwik/blob/3.x-dev/core/FileIntegrity.php#L415-#L424 is executed. CGI PHP works, FPM not. @mattab - you integrated the check, any ideas? (globr exists)

@mattab
Copy link
Member

mattab commented Jan 14, 2017

Sorry @thueske - no idea so far. These lines shouldn't trigger an error. can you paste the full error message?

@ins0
Copy link

ins0 commented Jan 16, 2017

Looks like use Piwik\Filesystem is missing?!

@sgiehl
Copy link
Member

sgiehl commented Jan 16, 2017

@ins0 That shouldn't be needed as the class is within the same directory & namespace

@mattab mattab closed this as completed Feb 20, 2017
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Feb 20, 2017
@thueske
Copy link
Author

thueske commented Mar 18, 2017

Problem still exists... Happens when setlocale(LC_ALL, $newLocale) is something like de_DE.UTF-8... Then the glob() @ Filecheck fails... Setting locale to de-DE or en_US.UTF-8 works... Any ideas for a workaround, @mattab or @sgiehl? It is a problem to set the value to de-DE (without UTF-8) or to en_US.UTF-8? Piwik interface language still remains German in my case...

@nightillusions
Copy link

@mattab I can confirm!
/index.php?module=Installation&action=systemCheckPage
Fails with Internal Server Error 500. When I switch from PHP-FPM to PHP-CGI everything is fine.

@simonschaufi
Copy link
Contributor

Can this be documented somewhere? I just found this issue as I'm also using PHP FPM and realized, Piwik isn't working properly. PHP-CGI works fine.

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

6 participants