Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#33373 closed defect (bug) (duplicate)

file_exists throws warning

Reported by: teammmate's profile Teammmate Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2.4
Component: Bootstrap/Load Keywords:
Focuses: Cc:


I donwloaded the current version from
uploadet it on a shared hosting in path /var/www/user888/

the line 39: file_exists( dirname(ABSPATH) . '/wp-config.php' ) in the file /wp-load.php
echos a warning that i dont have permissions to access /var/www/wp-config.php

then the header redirect to install.php fails and I can't install...

maby you can check with is_readable instead of file_exists
(but i dont know maby this still triggers the warning)

Change History (1)

#1 @ocean90
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hello Teammmate, welcome to Trac.

Thanks for your report, we're already tracking this issue in #29680.

Note: See TracTickets for help on using tickets.