[wp-trac] [WordPress Trac] #15729: Better UX after supplying incorrect information to setup-config

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 8 17:06:45 UTC 2010


#15729: Better UX after supplying incorrect information to setup-config
-----------------------------+----------------------------------------------
 Reporter:  nacin            |       Owner:  kapeels        
     Type:  defect (bug)     |      Status:  accepted       
 Priority:  low              |   Milestone:  Future Release 
Component:  Upgrade/Install  |     Version:                 
 Severity:  normal           |    Keywords:  gci needs-patch
-----------------------------+----------------------------------------------

Comment(by nacin):

 You're right, it's tough. There's no way to tell if it's user, server, or
 password. But there is a differentiation between these three:
  * user, host, password
  * database name
  * table prefix

 In lieu of border colors, let's just try a simple error message at the top
 in <p> tags, with three different error messages (one for each case).
 "Cannot check to the database server with this username and password.",
 "Cannot select this database.", "The table prefix can contain only
 letters, numbers, and underscores."

 Then, focus the first applicable field via injected JS, either name, user,
 or table prefix.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15729#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list