WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13800 closed defect (bug) (duplicate)

Install/Upgrade crashes if 'upgrade' directory doesn't exist

Reported by: uppfinnarn Owned by: westi
Milestone: Priority: high
Severity: normal Version: 3.0
Component: Plugins Keywords:
Focuses: Cc:

Description

If the directory 'wp-content/upgrade/' directory doesn't exist, all scripts involving installation or upgrading of components will fail with a message along the lines of

Downloading update from http://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip…

Unpacking the update…

Could not create directory. /

This can be fixed by creating the directory manually, but the installation script should try creating the directory itself and if that's not possible it should actually tell the user what to do instead of crashing like that. I could probably fix this myself if I knew which file(s) this is in, maybe someone could tell me?

Change History (1)

comment:1 duck_4 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate #13741

Have you updated to the latest revision/nightly?

Note: See TracTickets for help on using tickets.