[wp-trac] [WordPress Trac] #39047: Installer tries to create nonce before options table exists

WordPress Trac noreply at wordpress.org
Thu Dec 22 13:32:36 UTC 2016


#39047: Installer tries to create nonce before options table exists
-----------------------------+-----------------------
 Reporter:  nullvariable     |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.7.1
Component:  Upgrade/Install  |     Version:  4.7
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  rest-api
-----------------------------+-----------------------

Comment (by nullvariable):

 Replying to [comment:11 pento]:
 > @nullvariable: I haven't been able to reproduce this error.
 >
 > Could you please upload a copy of the `wp-config.php` you're using that
 causes this?
 >
 {{{#!php
 <?php
 define('WP_HOME', 'http://wordpress.dev');
 define('WP_SITEURL', 'http://wordpress.dev');
 define('DB_NAME', 'wordpress');
 define('DB_USER', 'root');
 define('DB_PASSWORD', 'root');
 define('DB_HOST', 'db');
 define('DB_CHARSET', 'utf8');
 define('DB_COLLATE', '');
 define('AUTH_KEY',         'put your unique phrase here');
 define('SECURE_AUTH_KEY',  'put your unique phrase here');
 define('LOGGED_IN_KEY',    'put your unique phrase here');
 define('NONCE_KEY',        'put your unique phrase here');
 define('AUTH_SALT',        'put your unique phrase here');
 define('SECURE_AUTH_SALT', 'put your unique phrase here');
 define('LOGGED_IN_SALT',   'put your unique phrase here');
 define('NONCE_SALT',       'put your unique phrase here');
 $table_prefix  = 'wp_';
 define('WP_DEBUG', true);
 }}}

 > Have the database user and database name defined in your `wp-config.php`
 been created in MySQL?
 >
 Yes
 > Are there any other tables in that database using the same table prefix
 as defined in your `wp-config.php`?
 no, brand new database, no tables.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39047#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list