Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
anonymous-piwik-user opened this Issue · 4 comments

3 participants

@anonymous-piwik-user

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

@mattab
Owner

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

@robocoder
Collaborator

Sorry. In index.php, change

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

to

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

fixed in [1008]

@robocoder
Collaborator

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-piwik-user anonymous-piwik-user added this to the Piwik 0.5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.