Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#8848 closed defect (bug) (fixed)

ACP: fatal error when a plugin issues chdir()

Reported by: vladimir_kolesnikov's profile vladimir_kolesnikov Owned by:
Milestone: 2.7.1 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Warning: require(./admin-footer.php): failed to open stream: No such file or directory in /wp-admin/index.php on line 44
Fatal error: require(): Failed opening required './admin-footer.php' (include_path='.:/usr/local/lib/php') in /wp-admin/index.php on line 44

This happens when a plugin for some reason chdir()s to another directory and WP then fails to find the file.

Attachments (1)

patch.diff (314 bytes) - added by vladimir_kolesnikov 16 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
16 years ago

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

(In [10378]) Use ABSPATH when including footer. Props vladimir_kolesnikov. fixes #8848 for trunk

#2 @ryan
16 years ago

(In [10379]) Use ABSPATH when including footer. Props vladimir_kolesnikov. fixes #8848 for 2.7

Note: See TracTickets for help on using tickets.