Opened 19 years ago
Closed 18 years ago
#1936 closed defect (bug) (fixed)
Ugly bland error message upon missing wp-config file ... and a fix!
Reported by: | chuyskywalker | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 1.6 |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
I was going through the 2.0 beta1 to give it a run and after SNV CO'ing the files I just hit the website and got this ugly, no frills, plain, and scary error message about some missing files and some such.
So, doing my part, here's a patch that snatches the same layout as the database error screen and uses it to pretty up this error. Additionally, I added some basic write checks to see if a user can even use the setup-config.php before offering them the false hope that it'd work.
Finally, I've updated the "more help" link to point to the much more complete and helpful codex wp-config reference.
Attachments (4)
Change History (16)
#3
@
18 years ago
- Keywords has-patch added; bg|has-patch removed
Updated the patch to make use of wp_die.
#5
@
18 years ago
- Milestone changed from 2.0.5 to 2.1
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
wp_die() is 2.1 only.
#7
@
18 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Needs some more work.
#10
follow-up:
↓ 11
@
18 years ago
Why is changing the help link to the Codex something that should wait for 2.2?
#11
in reply to:
↑ 10
@
18 years ago
- Keywords commit added
- Milestone changed from 2.2 to 2.1
Replying to Viper007Bond:
Why is changing the help link to the Codex something that should wait for 2.2?
Because this ticket has become epic? ;-) But lets try again. Setting milestone to 2.1 . Please apply missing_wp-config.2.patch
epic: started out with a detailed problem and creative and complete solution by chuyskywalker, later Nazgul lay down a tight fix... time passed... Viper reopened for the missing important pieces, but the tale was probably forgotten. I often do the same thing, but I do try to remember that we have lots of ticket numbers available.
patch to make the ugly error not so ugly, and much more helpful