2.14.1.1.6. Cannot create directory when uploading media file

Warning!

Highly recommended before making changes to the database create a backup copy of itto be able to roll back the changes you made.

When uploading media files to the library via WordPress admin panel an error like this may occur:

To remedy the situation, you can try the following:

  1. V config file site, look at the name of its database.
  2. Open the site database in phpMyAdmin.
  3. Find in the table wp_options string with value upload_path in column option_name. To do this, you can execute such a SQL query:
    SELECT * FROM `wp_options` WHERE `option_name` = 'upload_path'
  4. Clear in the found row the field in the column option_value.
  5. Check your media uploads.
Content