Skip to:
Content

bbPress.org

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#859 closed enhancement (fixed)

When bb-config-sample.php is not found, once you fix it, what do you do next?

Reported by: chrishajer's profile chrishajer Owned by: sambauers's profile sambauers
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.

  1. 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.

  1. When you go back, the database password is missing since it was a password field. OK, I can understand that.
  1. 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)

bbPress installer › Step 1.png (14.0 KB) - added by chrishajer 18 years ago.
This is the screen shown after entering database details when it cannot find bb-config-sample.php to edit
bbPress installer › Step 1 screen 2.png (15.5 KB) - added by chrishajer 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

Download all attachments as: .zip

Change History (6)

@chrishajer
18 years ago

This is the screen shown after entering database details when it cannot find bb-config-sample.php to edit

@chrishajer
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 @sambauers
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 @sambauers
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.

Fixes #859 #858

#3 @sambauers
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.

Fixes #859 #858

branches/0.9

#4 @mdawaffe
18 years ago

  • Milestone changed from 1.0-beta & XML-RPC to 0.9.1
Note: See TracTickets for help on using tickets.