Ticket #1008 (closed Bug: fixed)

Opened 11 months ago

Last modified 10 months ago

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

Changed 11 months ago by matt

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

Changed 11 months ago by vipsoft

  • 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')))

Changed 11 months ago by vipsoft

  • status changed from new to closed
  • resolution set to fixed

fixed in [1008]

Changed 10 months ago by vipsoft

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.