Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#12148 closed enhancement (fixed)

Warning by is_readable() in class-phpass.php

Reported by: ocean90 Owned by: westi
Priority: normal Milestone: 3.0
Component: Warnings/Notices Version: 3.0
Severity: normal Keywords: has-patch
Cc:

Description

After install I get this message

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/var/www/web31/html/:/var/www/web31/phptmp/:/var/www/web31/files/:/var/www/web31/atd/) in /var/www/web31/html/blog/wp-includes/class-phpass.php on line 58

If I want to change then the password I get the typical
Warning: Cannot modify header information message.

Maybe we should add an @ before is_readable('/dev/urandom')

Attachments (1)

class-phpass.php.diff (421 bytes) - added by ocean90 3 years ago.

Download all attachments as: .zip

Change History (5)

ocean903 years ago

  • Keywords has-patch added

See #12331 (which is likely a duplicate of this ticket)

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

(In [13429]) Suppress potential is_readable() warning. Fixes #12148 props ocean90

Related: #15088

Note: See TracTickets for help on using tickets.