WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#33373 closed defect (bug) (duplicate)

file_exists throws warning

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

Description

I donwloaded the current version from de.wordpress.org.
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
5 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.