• Resolved HappyLand

    (@happyland)


    Hi,
    When I open the site, I see this error.

    The theme directory “Theme-Name” does not exist.
    ERROR: The themes directory is either empty or doesn’t exist. Please check your installation.

    error_log file in CPanel is empty. There is access to the wordpress admin section, But the themes and plugins are not identifiable.

    Thank you for your answer

    • This topic was modified 7 years, 3 months ago by HappyLand.
    • This topic was modified 7 years, 3 months ago by HappyLand.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • It’s telling you exactly what is the problem: Your selected theme isn’t loading because your themes folder isn’t where it should be.

    You’ll need to FTP to your site. Inside your WordPress folder, you should see another folder labeled ‘wp-content’. Inside that folder you should see another folder labeled ‘themes`. If not, that’s where your problem lies.

    Keep in mind, that these folder names are all lower-case. That does make a difference.

    If those files are there then check the permissions.

    Thread Starter HappyLand

    (@happyland)

    Thank you “kjodle” and “dtlevin”;
    My problem has been resolved. It was a strange thing. I had already changed the name of the “wp-content” folder for four websites, For example “wp-config” to “upload” and At the same time, the site has been active for four years.

    When I changed my names to the default name and inserted the following commands in the “wp-config” file, the problem was resolved.

    define(‘WP_CONTENT_FOLDERNAME’, ‘***NewName***’);
    define(‘WP_CONTENT_DIR’, ABSPATH . WP_CONTENT_FOLDERNAME );
    define(‘WP_CONTENT_URL’, ‘”***Website-Address***”’.WP_CONTENT_FOLDERNAME);
    define(‘WP_PLUGIN_DIR’, WP_CONTENT_DIR . ‘/plugins’ );
    define(‘WP_PLUGIN_URL’, WP_CONTENT_URL.’/plugins’);

    Best Regards;

    You shouldn’t change the names of WordPress directories. It confuses WordPress (as we’ve seen) and it does nothing to improve security.

    Where is my theme directory? I’m trying to follow a blog headed “How to Create a WordPress Child Theme.” It says “1 . First, go to your theme directory and create a folder for your new theme.” Please, where is it?

    A blank page was appearing at the back end of the website, straight after I logged in. One page suggested that I change the folders in my cPanel from ‘theme’ to ‘theme-x’ and from ‘plugin’ to ‘plugin-x’ which i did and it instantly fixed the problem I was having logging in.

    Now my website on the front and the back is displaying ‘the theme directory for ‘x’does not exist.
    I tried changing them both back but with no success.

    Please Help!

    Getting following error on our website https://www.intonenetworks.com:

    The theme directory “theme54577” does not exist.
    ERROR: The themes directory is either empty or doesn’t exist. Please check your installation.

    As per above solution, we have verified the folder and file path. Everything seems to be in tact but still getting error.

    Thanks in anticipation.

    Regards,
    Vijay

    If someone is running the wordpress in docker container. Some time the volume director may not get mounted so need. docker restart or docker-compose restart.

    i have install two plugin WP-security and cleanup optimizer after that i getting the above issue. unable to customize theme and edit the files..

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘The theme directory “Theme-Name” does not exist.’ is closed to new replies.