Navigation Menu

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

"zlib i missing" on 64bit Ubuntu systems #5407

Closed
anonymous-matomo-user opened this issue Jul 3, 2014 · 4 comments
Closed

"zlib i missing" on 64bit Ubuntu systems #5407

anonymous-matomo-user opened this issue Jul 3, 2014 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

Issue:
When automatically upgrading to a newer version of Piwik on Ubuntu 64bit, the install claims zlib extension for PHP is missing.

In ubuntu Zlib extension (mayby other?) the gzopen is called gzopen64.

This means that for the install to complete in the files:
core/Unzip/Gzip.php
core/Unzip.php
libs/Archive_Tar/Tar.php
libs/PclZip/pclzip.lib.php

'gzopen' needs to be replaced by 'gzopen64' and the page refreshed in the browser.

Solution:
If the test for function_exists('gzopen') please test for function_exists('gzopen64'), and if it exists, use gzopen64
Keywords: zlip gzopen gzopen64 ubuntu 64bit

@robocoder
Copy link
Contributor

Which Ubuntu version are you using?

@robocoder
Copy link
Contributor

Probably related to https://bugs.php.net/bug.php?id=53829

Would need to see what's been patched by Debian/Ubuntu.

@anonymous-matomo-user
Copy link
Author

It's is probably related to that bugreport, yes. The last two updates fail like described.
Sry I forgot to name versions... See here:

$ uname -a
Linux frink 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:02:19 UTC 2014 i686 i686 i686 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

$ php -v
PHP 5.5.9-1ubuntu4.2 (cli) (built: Jun 25 2014 17:17:37)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

@anonymous-matomo-user
Copy link
Author

$ php -i|grep -i large
Largefile => Yes

@anonymous-matomo-user anonymous-matomo-user added this to the 2.5.0 - Piwik 2.5.0 milestone Jul 8, 2014
@mattab mattab modified the milestones: Short term, Piwik 2.5.0 Aug 4, 2014
@mattab mattab closed this as completed in 2e55698 Aug 4, 2014
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.
Projects
None yet
Development

No branches or pull requests

3 participants