Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#1008 closed Bug (fixed)

Piwik 0.4.4 fails on openbasedir where it used to work before

Reported by: christoph Owned by:
Priority: major Milestone: Piwik 0.5
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (4)

comment:1 Changed 5 years ago by matt (mattab)

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

comment:2 Changed 5 years ago by vipsoft (robocoder)

  • Milestone set to 1 - Piwik 0.5

Sorry. In index.php, change

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

to

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

comment:3 Changed 5 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [1008]

comment:4 Changed 5 years ago by vipsoft (robocoder)

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.

Note: See TracTickets for help on using tickets.