#859 closed enhancement (fixed)
When bb-config-sample.php is not found, once you fix it, what do you do next?
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 0.9.0.2 | Priority: | lowest |
| Severity: | trivial | Version: | 1.0-rc-2 |
| Component: | API - Installation/Upgrade | Keywords: | |
| Cc: |
Description
When you have no bb-config-sample.php or bb-config.php present, you get a message that is pretty confusing.
- You get the introductory text from the previous page that says "you need to enter the database details."
Step 1 - Database configuration Here you need to enter your database connection details. The installer will attempt to create a file called bb-config.php in the root directory of your bbPress installation. If you're not sure what to put here, contact your web hosting provider.
This is shown AFTER having entered all those details already, because it could not find bb-config-sample.php. Here is the error message:
! I could not find the file bb-config-sample.php Please upload it to the root directory of your bbPress installation.
OK, so I need to install bb-config.sample.php. But what do I do then? There should be a button or link that says something like "Uploaded bb-config-sample.php? [CONTINUE]" - that way you could continue without having to reenter the data on the previous page. If you do actually need to go back and reenter the data in the database details screen, then there should be a link here that says "Go back and reenter your database connection details after uploading bb-config-sample.php".
The installation messages need some love.
I did hit the browser back button after uploading the bb-config-sample.php, and there are a couple problems.
- When you go back, the database password is missing since it was a password field. OK, I can understand that.
- The "show advanced details" which I had checked previously is still checked, but the details are not shown. Probably a javascript thing. So, I unclicked and clicked to reveal the details again. Everything is still there, which is good.
Continuing on, I get a success message in a green box, but I still have the exclamation point in the yellow box again, and I still have the block of introductory text that was present before entering my database details.
Step 1 - Database configuration Here you need to enter your database connection details. The installer will attempt to create a file called bb-config.php in the root directory of your bbPress installation. If you're not sure what to put here, contact your web hosting provider.
Beneath that is the success message:
! Your settings have been saved to the file bb-config.php You can now continue to the next step.
The installation process needs some love.
Attachments (2)
Change History (6)
@
18 years ago
here is the success message after creating a bb-config.php - the top half is a remnant from before details were entered
#1
@
18 years ago
- Milestone set to 1.0-beta & XML-RPC
- Owner set to sambauers
- Status changed from new to assigned
- Version set to 1.0-alpha (trunk)
We should probably be detecting for the presence of the sample config earlier in the process to avoid that issue.
We could also remove the intro paragraph when there is a result on the screen.
#2
@
18 years ago
- Resolution set to fixed
- Status changed from assigned to closed
(In [1453]) Improve upgrade experience through installer from pre 0.9 bbPress. Allow selection of an existing KeyMaster.
Test for bb-config-sample.php earlier and throw an error.
Don't test beyond step 1.
Don't show intro paragraphs when beyond the first screen of each step.
Change exclamation mark to some thing more positive on success alerts.
#3
@
18 years ago
(In [1454]) Improve upgrade experience through installer from pre 0.9 bbPress. Allow selection of an existing KeyMaster.
Test for bb-config-sample.php earlier and throw an error.
Don't test beyond step 1.
Don't show intro paragraphs when beyond the first screen of each step.
Change exclamation mark to some thing more positive on success alerts.
branches/0.9
This is the screen shown after entering database details when it cannot find bb-config-sample.php to edit