Opened 19 years ago
Closed 19 years ago
#1169 closed defect (bug) (fixed)
Files not included correctly in wp-feed.php when index.php has been moved
Reported by: | roxeteer | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 1.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
If you move /wordpress/index.php to /index.php to fix problems with .htaccess mod_rewrite rules, wp-feed.php can't find the files it needs to include. You'll get these error messages:
Warning: main(): Unable to access wp-blog-header.php in /path/to/wordpress/wp-feed.php on line 5
Warning: main(wp-blog-header.php): failed to open stream: No such file or directory in /path/to/wordpress/wp-feed.php on line 5
Fatal error: main(): Failed opening required 'wp-blog-header.php' (include_path=) in /path/to/wordpress/wp-feed.php on line 5
This can be fixed by adding dirname(FILE) before the file name, just like it's done in wp-blog-header.php. Patched file is included in this report.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
http://trac.wordpress.org/changeset/2491