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

Piwik 0.4.4 fails on openbasedir where it used to work before #1008

Closed
anonymous-matomo-user opened this issue Oct 21, 2009 · 4 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc. 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

Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/var/lib/php5) is not within the allowed path(s):

@mattab
Copy link
Member

mattab commented Oct 21, 2009

was there no path output after the error message? could it be a change on your web host setup?

@robocoder
Copy link
Contributor

Sorry. In index.php, change

      if(!is_writable(ini_get('session.save_path')))

to

      if(!@is_writable(ini_get('session.save_path')))

@robocoder
Copy link
Contributor

fixed in [1008]

@robocoder
Copy link
Contributor

Just a follow-up note that there's no change to Piwik requirements. I checked the PHP bug tracker, and a bug in is_writable() behaviour wrt open_basedir() where is_writable() would return true, was fixed for php 5.1.3. This is already the minimum required version for Piwik.

@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. 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

3 participants