Ticket #1877 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 2 years ago

Install breaks if cache files not manually deleted.

Reported by: skeltoac Assigned to: ryan
Priority: high Milestone:
Component: Administration Version: 1.6
Severity: major Keywords: cache install
Cc:

Description

Drop the database, create it again, then run install.php. It does the install but saves no options in the db because you didn't clear the cache files. On the redirect to wp-admin there is no siteurl found in wp_options so it says to try installing. Installer sees wp_users and says install is already done.

Simply disabling cache if WP_INSTALLING is defined circumvents the problem but leaves the cache intact after the install. The flush method must be completed and used during install, or the directions must be updated. I move for flush because hey, it's just a cache.

Change History

11/14/05 20:29:01 changed by masquerade

I honestly think this is a moot point. How many people will be dropping and reinstalling in the same directory without reuploading?

11/14/05 22:13:34 changed by ryan

[3087] implements wp_cache_flush().

11/14/05 22:31:24 changed by ryan

Only testers will be likely to do this, but it doesn't hurt to defend against it.

11/14/05 22:32:05 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3088]) Flush the cache before installing. fixes #1877

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted