Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 16 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: Focuses:

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 17 years ago.

Download all attachments as: .zip

Change History (5)

#1 @sivel
17 years ago

  • Keywords has-patch added

#2 @sivel
17 years ago

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

#3 @nacin
17 years ago

  • Resolution → fixed
  • Status new → closed

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

#4 @hakre
16 years ago

Related: #15088

Note: See TracTickets for help on using tickets.