Support for Envato Buyers › Forums › Samsara › The theme directory "samsara" does not exist.
- This topic has 12 replies, 2 voices, and was last updated 6 years, 10 months ago by FocuxTheme Support.
-
AuthorPosts
-
-
January 31, 2018 at 9:36 am #13900fuzzfoxParticipant
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!
-
February 1, 2018 at 6:37 pm #13913FocuxTheme SupportKeymaster
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
-
February 1, 2018 at 7:25 pm #13926fuzzfoxParticipantThis reply has been marked as private.
-
February 2, 2018 at 7:19 pm #13940FocuxTheme SupportKeymaster
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!
-
February 5, 2018 at 2:32 pm #13962fuzzfoxParticipantThis reply has been marked as private.
-
February 5, 2018 at 3:29 pm #13964fuzzfoxParticipant
Someone is now helping me with the SSH access. Hopefully that will work but will come back to you if not! Thanks 🙂
-
February 5, 2018 at 7:27 pm #13968FocuxTheme SupportKeymaster
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
-
February 6, 2018 at 3:00 pm #13977fuzzfoxParticipant
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!
-
February 6, 2018 at 10:08 pm #13988FocuxTheme SupportKeymaster
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.
-
February 7, 2018 at 2:59 pm #13994fuzzfoxParticipant
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!
-
February 7, 2018 at 9:21 pm #14006FocuxTheme SupportKeymaster
.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/ -
February 10, 2018 at 7:49 pm #14048fuzzfoxParticipant
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!
-
February 11, 2018 at 6:45 pm #14057FocuxTheme SupportKeymaster
That’s all right!
-
-
AuthorPosts
- You must be logged in to reply to this topic.