Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Silverstripe 3.1: Warning: posix_getpwuid() has been disabled for security reasons #2494

Open
rpaget opened this Issue · 0 comments

2 participants

@rpaget

In Silverstripe 3.1, on some shared hosts the following bug can occur:
Warning: posix_getpwuid() has been disabled for security reasons

Solved by replacing
framework/core/TempPath.php line 28 with:

if(!$user && function_exists('posix_getpwuid') && function_exists('posix_getuid')) {

@simonwelsh simonwelsh added the 3.1 label
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.