Support for Envato Buyers Forums Samsara The theme directory "samsara" does not exist.

Viewing 12 reply threads
  • Author
    Posts
    • #13900
      fuzzfox
      Participant

      Hi there,
      I’ve already used your theme for a different site with no problems. After buying a second license and installing the theme to a second site I keep getting the message, ‘The theme directory “samsara” does not exist’ whenever I try to preview a page or post. Please could you advise what I can do to solve this?

      Thanks!

    • #13913

      First of all, thanks for you purchased the second license.

      Can you post your WP login details via private reply? Maybe I have to check it first to know what happened.

      Thanks

    • #13926
      fuzzfox
      Participant
      This reply has been marked as private.
    • #13940

      Hi

      It’s not the theme issue because I tried to install another theme called ‘Caveat’, the post or page still can’t be opened.
      Is your server VPS or shared hosting? If you can change the folder permission, please try to change samsara folder to 755.

      SSH command:

      cd /....YOUR SITE FOLDER.../wp-content
      sudo find . -type d -print0|xargs -0 chmod 755; 
      sudo find . -type f -print0|xargs -0 chmod 644;
      sudo chown www-data:www-data * -R

      Also, if possible, you can copy your wp-config.php file to here via private reply.

      Thanks!

    • #13962
      fuzzfox
      Participant
      This reply has been marked as private.
    • #13964
      fuzzfox
      Participant

      Someone is now helping me with the SSH access. Hopefully that will work but will come back to you if not! Thanks 🙂

    • #13968

      OK.

      On wp-config.php side, you can give couple of test as below

      Test 1:

      Remove the following codes from wp-config.php

      **
      * Other customizations.
      */
      define(‘FS_METHOD’,’direct’);define(‘FS_CHMOD_DIR’,0755);define(‘FS_CHMOD_FILE’,0644);
      define(‘WP_TEMP_DIR’,dirname(__FILE__).’/wp-content/uploads’);
      
      /**
      * Turn off automatic updates since these are managed upstream.
      */
      define(‘AUTOMATIC_UPDATER_DISABLED’, true);

      Then, deactivate the theme and reactivate it.

      Test 2: If test 1 doesn’t work, please try to add the following codes to wp-config.php

      if ( !defined('ABSPATH') )
          define('ABSPATH', dirname(__FILE__) . '/');
      
      define('WP_HOME', '/');
      define('WP_SITEURL', WP_HOME);
      define('WP_CONTENT_URL', WP_HOME . '/wp-content');
      define('WP_CONTENT_DIR', realpath(ABSPATH . '../wp-content/'));

      Thanks

    • #13977
      fuzzfox
      Participant

      Hi,

      I’ve asked someone to do the SSH command thing and they tried it but it didn’t seem to work. They then tried the tests on the wp-config.php file and that didn’t work either, so they’ve reverted it back to how it was before.

      Any other suggestions?

      Thank you!

    • #13988

      I found if I set the permalink to default, the inner page works fine.
      So, please give two new test:

      1. delete .htaccess from wp root folder, then go to WP backend > Settings > permalinks, only resave it.
      2. check wp-content/themes/ folder, what’s the theme folder name? Samsara or samsara.

      Sorry for this, because I’m sure it’s a server issue if you install any news. I can’t control your server, so I can only search and ask you here.

    • #13994
      fuzzfox
      Participant

      I did the first test and I was then able to preview pages. Does it matter about the deleted file? Will things still work the same without it?

      Also the theme folder was called samsara (no capital letter)

      Thank you!

    • #14006

      .htaccess file rewrite the page URL, for example, rewrite http://domain.com/?p=1 to http://domain.com/1
      so the theme keeps work even without this file.

      But I found if I enable the URL rewrite, the detail page or post still doesn’t work.

      This issue is my first time to see, but I’m sure it’s not the theme issue. Is it possible to reinstall WordPress?
      I’m not sure how you deployed this site on your site, so it’s hard to know the real reason. This guy had the same issue, you can check his article: https://codeinreview.com/145/my-wordpress-upgrade-process-and-fixing-a-blank-website-error/

    • #14048
      fuzzfox
      Participant

      Hi there,

      Just wanted to update you in case someone else has the same issue, it was a problem with WordPress. I did a re-install of wp and the issue is fixed.

      Thanks for all your help!

    • #14057

      That’s all right!

Viewing 12 reply threads
  • You must be logged in to reply to this topic.