May 9, 2018 at 1:14 am #192581
Hi, Dreamhost has pinpointed the problem with my site working with their varnish caching, and tell me it is an error in the coding with xstore theme. They told me to specifically mention that pages are set to no cache and that the theme is rewriting cookies and php sessions for every page load.
I’ll include the varnish error log in the private section below. The following are the warning I get on the varnish status in the dashboard:
Varnish is running but is unable to cache your site. Please review the following output to diagnose the issue.
Something is setting the header Cache-Control to “no-cache” which means visitors will never get cached pages.
Something is setting the header Cache-Control to “max-age=0” which means a page can be no older than 0 seconds before it needs to regenerate the cache.
The “Age” header is set to less than 1, which means you checked right when Varnish cleared the cache for that url or Varnish is not serving cached content for that url. Check again but if it happens again, then either the URL is intentionally excluded from caching, or a theme or plugin is sending cache headers or cookies that instruct varnish not to cache.
Something is setting the header Pragma to “no-cache” which means visitors will never get cached pages. This is usually done by plugins.
A plugin or theme is setting a PHPSESSID cookie on every pageload. This makes Varnish not deliver cached pages.
Please help me configure xstore to work with their varnish.
Thank youPrivate Content HiddenMay 10, 2018 at 1:42 pm #192675
We see that problem is related to WC plugin sessions. Is cache configured according to WC docs https://docs.woocommerce.com/document/configuring-caching-plugins/ ?
Does varnish caching works fine with the official WC theme – Storefront? Can your hosting confirm that these errors do not appear with official WC theme?
RegardsMay 10, 2018 at 5:39 pm #192716
Yes they confirmed it was working fine with other official themes.May 11, 2018 at 9:41 am #192755
Ok. Provide, please, Dashboard and FTP access and tell us the path to error logs to check them.
RegardsMay 11, 2018 at 9:07 pm #192832
Hi, Ok I’ll add them below. ThanksPrivate Content HiddenMay 14, 2018 at 1:08 pm #192914
We have activated the official WooCommerce theme Storefront and see the same issues http://prntscr.com/jhnw82
So, it does not work with the official WC theme. Please, make it work with the official theme and then contact us if the problem remains with our theme only.
RegardsMay 15, 2018 at 12:38 am #192965
Look, I renewed and paid for the extended support from your team. While, I see that neither you or my hosting company wants to really help me and just pass it off to someone else, I would appreciate it if you could tell me who might actually help me.
I feel like I’m just being dismissed.
You’re reply came off as rather “snarky.” If I could “make it work”, I wouldn’t need your help, or your theme in the first place would I?May 15, 2018 at 9:31 am #192991
We are theme support and we are able to help you only with issues related strictly to our theme. If you use third-party cache extension that has known issues with WC plugin (if you read this post https://docs.woocommerce.com/document/configuring-caching-plugins/ you know that ) we can do nothing.
If you and the hosting provider that offers you that cache can’t make it work even with default theme then our theme is not the reason of the problem. Try another cache that does not have such problems with WooCommerce plugin if you chose WooCommerce as the main platform to sell products.
RegardsMay 16, 2018 at 3:46 am #193043
It appears it is your theme, but a few plugins were also causing issues to make the default theme appear to do the same.
Here is the reply from Dreamhost:
The theme Xstore is still very much causing issues
with Varnish, the issue your theme developers mentioned with ‘storefront’
was being caused by the plugins. So now, all that should be causing
issues when abandoned-cart is disabled is the theme if/when they try to
troubleshoot it again.May 16, 2018 at 8:53 am #193058
The cart option persists in both themes – default and our theme because your site is e-commerce site. You need to make sure that all the problems are fixed with the official theme and then we’ll check what issues are still caused by our theme and fix them. So, have your hosting support fixed all the problems related to WC and other plugins that are enabled at your site?
Have you changed the Dashboard and FTP access? We can’t login anymore to check this.
RegardsMay 16, 2018 at 4:28 pm #193127
There might be some confusion about the cart issue. I had copied the reply from my host company, and they were referring to a plugin that needed disabled. I did disable this plugin like they did in their test.
They have tested the site with Woostore and the two plugins mentioned disabled and were able to get the varnish to work.
They have told me that you should be able to test the site with the Woostore theme yourselves now and see that it does work, but Xstore does not.
I’ll include the new logins below.
Thank youPrivate Content HiddenMay 16, 2018 at 5:03 pm #193129
What plugins did they mention? You did not tell us what plugin.
And how can we check if the cache is enabled? Because when we use Tools > Varnish Debugging , disabled all the plugins, enabled default theme and tested for example about us page we still had “A caching service is running but is unable to cache your site.”
Has Dreamhost support any live chat to contact them? Because it’s difficult to solve the problem when you post their messages and we can’t ask things that we need to specify.
RegardsMay 16, 2018 at 6:47 pm #193141
They said I can create a new access on Dreamhost for you. You can then log-in and chat with them directly.
I need an email address to grant you access. Which one should I use?May 17, 2018 at 1:36 am #193148
I’m also getting 503 and %04 errors. I had to contact dreamhost again and have them reset the services to get the site back up. When I asked them what is causing this, they told me the following, “Checking into the site logs, I’m seeing some errors coming from the xstore theme. If there are theme errors on the site backend, it can processes to time out, and the site to load with a 503 or 504 error.”
I also need to know your email address, so I can assign you the access to dreamhost and their chat help.
As far as the plugins, it was abandon-cart plugin, as well as woozone (this one was temporary). The abandon-cart plugin has been disabled.May 17, 2018 at 10:15 am #193168
We have sent you email to your registration email. Check, please.
RegardsMay 17, 2018 at 5:02 pm #193192
Here is the hosting credentials, which will give you access to their chat help.
The link they gave me yesterday only had email, but today they said to give you sftp access, so I created a new user for you to be able to access chat help and everything else you need.
I also followed up with them on the link you provided me to woocommerce about the varnish rules that need to be implemented.
Here is what they said:
-Each of the rules you provided is already in our VCL for Varnish, and I’ve also checked your server
directly to be completely sure that they are in place correctly. Unfortunately, even with these rules in place, your custom theme is still
running into a conflict.
Do your theme developers have any other customVCL rules that they would like us to add, knowing that these are already
Just let us know, and we’ll be happy to help further.
Thank you for helping me resolve this!Private Content HiddenMay 21, 2018 at 3:01 pm #193343
We are trying to connect to your server and can’t anymore. Got the error
Response: 331 Password required for wp_i469jv
Command: PASS ********
Response: 530 Login incorrect.
Error: Critical error: Could not connect to server
Can you, please, check if FTP access is correct?
RegardsMay 21, 2018 at 3:34 pm #193358
I reset the password again. Try this onePrivate Content HiddenMay 21, 2018 at 3:53 pm #193366
This one works fine. Thanks. Our developers will be able to start tomorrow morning. I’ll inform you about results.
You must be logged in to reply to this topic.
Already a member? Sign In
Enter your Username and Password to get started.
Have a good time on our web-site!
Oops, looks like you don’t have access!
Seems you did not register purchase code for XStore WordPress Support Forum to be able to create a topic on this forum.
Please, enter the appropriate Envato purchase code below to create a topic on current forum
Already a member? Sign In
vipsport on Website breaks when we try to update the Theme 57 minutes ago
TheOne on Align Products, Buttons and Text 2 hours, 24 minutes ago
TheOne on Header Options on Desktop and Mobile 3 hours, 37 minutes ago
hamdy on product varIation (Display 3 pose image for each color) 5 hours, 43 minutes ago
Cooperdale on Problem with modules after updates 9 hours, 2 minutes ago
Align Products, Buttons and Text
2 hours, 24 minutes ago
Please help, where is the custom CSS stored in the backup?
7 hours, 12 minutes ago
Responsive Issues with Navigation Burger on Mobile
10 hours, 20 minutes ago
Problem with Recent Products
12 hours, 37 minutes ago
8Theme Option disappear
10 hours, 2 minutes ago
Checkout shipping rates width
13 hours, 23 minutes ago
My Website very slowly.
16 hours, 55 minutes ago