Ugly bland error message upon missing wp-config file ... and a fix!
|Reported by:||chuyskywalker||Owned by:||markjaquith|
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.
Change History (16)
11 years ago
- Milestone changed from 2.0.5 to 2.1
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
in reply to:
10 years ago
- Keywords commit added
- Milestone changed from 2.2 to 2.1