ittone
Forum Replies Created
-
Forum: Plugins
In reply to: [Fast Velocity Minify] V3.0-3.08 Not creating cache filesHi again Raul.
Windows? What is that?
UNIX/Linux rules.
Permissions should never be set to 777 for any directory, and the owner:group names are correct. Directory locations as shown in the settings tab are fine.As stated the FVM settings are as set on the non-working site are exactly the same as on the three other sites that FVM 3.08 works.
When I re-installed v2.8.9 that site works fine.
Upgrading or even installing from scratch v3.x does not create minified files.The only place that could be preventing this now, is the MariaDB SQL database.
I have scoured wp-options and deleted all dormant FVM entries. (All….I think)Anything else in the database that could be causing this frustrating problem?
Forum: Plugins
In reply to: [Fast Velocity Minify] V3.0-3.08 Not creating cache filesWell, it is not the theme causing it.
All plugins deactivated except FVM and still no minified files.Without debugging being available, I’m lost.
I also have FVM installed and wp-optimize minify disabled.
On another site of mine the minify of wp-optimize is used and the 3.1.5 update is working fine.
- This reply was modified 5 years, 8 months ago by ittone.
Forum: Plugins
In reply to: [W3 Total Cache] Enhanced mode cache and SitemapHi Marko
No problem, we got there in the end.
I am not in a position to recommend that documentation needs ammending to include ‘Handle XML mime-type’ is to be enabled when using cached sitemaps when utilising the enhanced mode cache.
Perhaps this should be enabled on releases as default upon installation and update time.
Thanks for your time.
Kind Regards
IT ToneForum: Plugins
In reply to: [W3 Total Cache] Enhanced mode cache and SitemapI cannot answer for WPX hosting myself Marko, but I would imagine that he is extremely busy at WPX and has probably spent more time on this ‘bug’ than he should have.
It may be best if you reply to Krasimir’s findings on the post supplied above to find out.
I can confirm that I personally DID NOT enable the Cache feeds: site, categories, tags, comments when I reported the initial post a month ago. (Link above.)
But after WPX Hosting’s report, I just tried enabling the Handle XML mime-type option in addition to the default enhanced cache settings and the repeated tests from https://www.xml-sitemaps.com/validate-xml-sitemap.html and the results showed xml pages as passed each and subsequent time.
But by ticking the Handle XML mime-type option, I am not sure if Google or any other crawler could read the sitemap 100% correctly.
Kind regards
SeanForum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeHi Marco
This original ticket was raised for my domain of backtothemovies.com which was migrated from siteground to WPX.
Following this migration I noticed the sitemap error on google webmaster.The domain of lifthillsandthrills.com which we have been looking at since you told me to exclude the sitemap from backtothemovies.com (which no longer uses W3TC) is on my own LINUX server here at home, as stated above, has the sitemap error.
This domain has the same issue and so does another domain hosted on another hosting company. (tonesworld.co.uk/sitemap_index.xml)
You told me yesterday: “Thank you for the info. Well now at the moment those sitemaps are no longer valid.”
I am now swapping all my five domains caching programs from W3TC which I have been using for numerous years.
I know you only took over W3TC in 2019 but please remember that I highlighted this cache bug in W3TC enhanced cache mode during November 2020.Thanks for your assistance.
IT Tone
Linux Technical Support Manager.Forum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeI forgot to add that the links you tested all passed, because you only tested each sitemap url once.
By only accessing each one once places them into cache and they will report as passed. Any subsequent sitemap url will fail with html errors.
Forum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeHi again Marko
The site is still in disk:enhanced mode. (For your test purposes)
The sitemap is STILL in cache.Once again, the sitemap reports as passed when the sitemap_index\.xml is added as per your advice. (ie: url to exclude), but this is a workaround, not a solution.
Yes, I am using Yoast……But it does not matter, the html errors are also reported for Rank Math SEO sitemap.xml and also for Google XML Sitemaps sitemap.xml.
Thanks
Forum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeMarko
In addition to my previous post
Could you place this post at the top of the W3TC forum please so that we can get a third party test input.Thanks
Forum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeHi Marko
The sitemap reports as passed when the sitemap_index\.xml is added as per your advice. However, this is a workaround as the real issue appears to be how a PHP7.4
module is interacting with the cached sitemap.As I said, when my .htaccess W3TC entries are removed then all is OK.
I have just this minute cleared the cache from my Firefox, Edge and Chrome browsers…I have just cleared my server’s W3TC cache for lifthillsandthrills, tried the xml validation tests using the url:
https://www.lifthillsandthrills.com/sitemap_index.xmland received this:
XML Validation Results
error Problem detected, please check details below
Sitemap URL https://www.lifthillsandthrills.com/sitemap_index.xml
Character Set
Sitemap is valid No
Warnings –
Errors
Incorrect http header content-type: “text/html; charset=UTF-8” (expected: “application/xml”)
————————————————————When the headers were examined, I recieved this:
HTTP Headers Viewer
Webpage URL
https://www.lifthillsandthrills.com/sitemap_index.xml
Response details
Content size: 1,133 bytes
Download time: 0.084s
HTML Title: –
——————————————————-
HTTP Headers found in response
Response Code HTTP/1.1 200 OK
Date Thu, 05 Nov 2020 14:31:37 GMT
Server Apache
X-Powered-By PHP/7.4.6
Cache-Control max-age=0
Expires Thu, 05 Nov 2020 14:31:37 GMT
Vary Accept-Encoding
Content-Length 1133
Connection close
Content-Type text/html; charset=UTF-8
—————————————————–
HTTP Headers Received
HTTP/1.1 200 OK
Date: Thu, 05 Nov 2020 14:31:37 GMT
Server: Apache
X-Powered-By: PHP/7.4.6
Cache-Control: max-age=0
Expires: Thu, 05 Nov 2020 14:31:37 GMT
Vary: Accept-Encoding
Content-Length: 1133
Connection: close
Content-Type: text/html; charset=UTF-8
————————————————————
HTTP Request Sent
GET /sitemap_index.xml HTTP/1.1
Host: http://www.lifthillsandthrills.com
User-Agent: Mozilla/5.0 (compatible; XML Sitemaps Generator; http://www.xml-sitemaps.com) Gecko XML-Sitemaps/1.0
Accept: */*
Connection: CloseSo how you are receiving a pass, I do not know.
Can another reader of this thread please try the above sitemap.xml in the validator to confirm/not confirm my results please.
IT Tone.
Forum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeHi Marko
How are you testing the sitemap?
If you goto the URLs directly in a browser above they WILL show correctly.However, if you use an XML validation test site (below) as I have, you WILL get the errors. This is what Google have been seeing.
https://www.xml-sitemaps.com/validate-xml-sitemap.html
also
https://freetools.webmasterworld.com/tools/site-validator/
but this site appears to have a problem this morning. However the errors are showing as in my last post.I have just tried the xml-sitemaps.com site on the above urls you mentioned. They are all showing errors.
Regards
SeanForum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeA little further information.
When the sitemap_index.xml is tested from:
https://freetools.webmasterworld.com/tools/site-validator/ I get the following output:XML Sitemap Validator
<html><head><META HTTP-EQUIV=”Cache-control” CONTENT=”no-cache”><META HTTP-EQUIV=”refresh” CONTENT=”0;URL=/cgi-sys/defaultwebpage.cgi”></head><body></body></html> ———————————————————————————————————————————————–^ Fatal Error 76: Opening and ending tag mismatch: META line 1 and head on line: 1 column: 143 <html><head><META HTTP-EQUIV=”Cache-control” CONTENT=”no-cache”><META HTTP-EQUIV=”refresh” CONTENT=”0;URL=/cgi-sys/defaultwebpage.cgi”></head><body></body></html> ——————————————————————————————————————————————————————-^ Fatal Error 76: Opening and ending tag mismatch: META line 1 and html on line: 1 column: 163 -^ Fatal Error 77: Premature end of data in tag head line 1 on line: 2 column: 1 -^ Fatal Error 77: Premature end of data in tag html line 1 on line: 2 column: 1 <html><head><META HTTP-EQUIV=”Cache-control” CONTENT=”no-cache”><META HTTP-EQUIV=”refresh” CONTENT=”0;URL=/cgi-sys/defaultwebpage.cgi”></head><body></body></html> ———————————————————————————————————————————————–^ Fatal Error 76: Opening and ending tag mismatch: META line 1 and head on line: 1 column: 143 <html><head><META HTTP-EQUIV=”Cache-control” CONTENT=”no-cache”><META HTTP-EQUIV=”refresh” CONTENT=”0;URL=/cgi-sys/defaultwebpage.cgi”></head><body></body></html> ——————————————————————————————————————————————————————-^ Fatal Error 76: Opening and ending tag mismatch: META line 1 and html on line: 1 column: 163 -^ Fatal Error 77: Premature end of data in tag head line 1 on line: 2 column: 1 -^ Fatal Error 77: Premature end of data in tag html line 1 on line: 2 column: 1
Validate sitemap from URLTest carried out on: https://www.lifthillsandthrills.com/sitemap_index.xml
which is still currently in disk:enhanced modeThanks
IT ToneForum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeHello Marko,
I have just checked another site of mine for sitemap errors and I am afraid to inform you that when using W3 total cache in disk enhanced mode on that site also produces the following on the test site:
https://www.xml-sitemaps.com/validate-xml-sitemap.htmlXML Validation Results
error Problem detected, please check details below
Sitemap URL https://www.lifthillsandthrills.com/sitemap_index.xml
Character Set
Sitemap is valid No
Warnings –
ErrorsIncorrect http header content-type: “text/html; charset=UTF-8” (expected: “application/xml”)
This is the section of W3TC that is causing the issue, and the exact area is on the second line.
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.xml%{ENV:W3TC_ENC}” -f
RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.xml%{ENV:W3TC_ENC}” [L]If the _index% is changed for test purposes to -index% all is OK and XML is passed from https://www.xml-sitemaps.com/validate-xml-sitemap.html.
It appears that you may well have a ‘bug’ in your coding afterall.
Thanks
IT ToneForum: Plugins
In reply to: [W3 Total Cache] Sitemap errors when in enhanced cache modeHi Marko
Thanks for the quick response.
No server side caching but using WPX CDN service and not using w3tc browser cache only the cache module.
If I exclude sitemap from caching would that not add extra processer utilisation etc?
For the other recommendations would you also advise the same for basic disk caching, because that as I said works with no problem.
Thanks