2.14.1.1.6. Unable to create directory when uploading media file

Attention!

We strongly recommend that you create a backup of the database before making any changes, so that you can revert any changes you make.

When uploading media files to the library via the WordPress admin panel, you may encounter the following error:

To resolve the issue, you can try the following:

  1. Check the site's configuration file to find the name of its database.
  2. Open site database in phpMyAdmin.
  3. In the wp_options table, find the row where the option_name column contains the value upload_path. To do this, you can run the following SQL query:
    SELECT * FROM `wp_options` WHERE `option_name` = 'upload_path'
  4. Clear the field in the option_value column in the row you found.
  5. Check the media file upload.
Content