Hi,
On adding a user manually by an admin (Admin panel > Users > Manage), I get this :
Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/mnt/100/sdb/8/d/mysite) in /mnt/100/sdb/8/d/mysite/piwigo25b2/include/passwordhash.class.php on line 51
Warning: Cannot modify header information - headers already sent by (output started at /mnt/100/sdb/8/d/mysite/piwigo25b2/include/passwordhash.class.php:51) in /mnt/100/sdb/8/d/mysite/piwigo25b2/include/page_header.php on line 101
Not reproduced on my offline test gallery.
Offline
Also appen to me, seems we have not able to access /dev/urandom
But i'm not on a shared server so it's because there are some settings to enable accessing that "device" in /dev/urandom, maybe some one can point out us how to configure php.ini / Apache to have this enabled
Found a code solution here http://stackoverflow.com/questions/10363465/can-i-access-dev-urandom-with-open-basedir-in-effect
phpass is trying to access /dev/urandom, which is not allowed in your php.ini To resolve this issue, you must suppress the warning. To do so, just add @ before is_readable, like this :
... @is_readable('/dev/urandom') ...
Last edited by enone (2013-03-09 16:38:18)
Offline
Offline