Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

SecurityInfo plugin: fileperms error with session.save_path #1993

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

2 participants

Anonymous Piwik user Anthon Pang
Anonymous Piwik user

There is an error. Please report the message and full backtrace in the Piwik forums.

Warning: fileperms() href='function.fileperms'>function.fileperms</a>: stat failed for 2;/var/tmp in /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Session/save_path.php on line 69

Backtrace -->
#0 Piwik_ErrorHandler(2, fileperms() href='function.fileperms'>function.fileperms</a>: stat failed for 2;/var/tmp, /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Session/save_path.php, 69, Array ())#1 fileperms(2;/var/tmp) called at [PhpSecInfo_Test_Session_Save_Path->_execTest() called at /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Test.php:182#3 PhpSecInfo_Test->test() called at [PhpSecInfo->runTests() called at /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php:476#5 PhpSecInfo->loadAndRun() called at [Piwik_SecurityInfo_Controller->index()#7 call_user_func_array(Array (0 => Piwik_SecurityInfo_Controller Object ([=> SecurityInfo, => 2011-01-10,[=> Piwik_Date Object ( => 1294661963,[=> UTC), => 1,[=> Piwik_Site Object ( => 1)),[=> index), Array ()) called at /mnt/web6/10/34/51062934/htdocs/piwik/core/FrontController.php:125#8 Piwik_FrontController->dispatch() called at [/mnt/web6/10/34/51062934/htdocs/piwik/index.php:60]

Anthon Pang
Collaborator

Yes, the test doesn't handle save_path's that use the subdirectory feature, e.g., "2;/var/tmp". http://ca3.php.net/manual/en/session.configuration.php#ini.session.save-path

This is an upstream bug. I don't believe it's a security issue, but will leave ticket marked as sensitive at your request.

Anthon Pang
Collaborator

(In [3693]) fixes #1993

Anonymous Piwik user anonymous-piwik-user added this to the Piwik 1.2 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.