Support » Fixing WordPress » Required File Permissions to import the templates are missing.

  • Resolved rashmitha1

    (@rashmitha1)


    I installed a WordPress website on a ubuntu 18.04 server (On Google Cloud Platform) using LAMP stack recently. I designed the website on my local computer using XAMPP and uploaded it to the server later.

    The wordPress dashboard is accessible. However, the following error messages are displaying in the dashboard

    1. WPThumb has detected a problem. The directory /var/www/tourguidesrilanka.site/wp-content/uploads/2020/12 is not writable.
    2. Required File Permissions to import the templates are missing.
      This is usually due to inconsistent file permissions.
      /var/www/tourguidesrilanka.site/wp-content/uploads/astra-sites/

    I already added
    define( ‘FS_METHOD’, ‘direct’ );
    line to the wp.config.php, but it won’t fixed the eroor

    I also changed file permission using the following ubuntu commands
    chmod 755 wp-admin
    still no luck.

    I can’t upload anything to the WordPress website and can’t edit it.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter rashmitha1

    (@rashmitha1)

    Never mind…

    I found the solution. I just changed the owner using the following command

    sudo chown -R www-data:www-data /var/www/MY WEBPAGE

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.