Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single maps not working with W3 Total Cache - load global content #425

Closed
GoogleCodeExporter opened this issue Apr 4, 2015 · 29 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Geo Mashup 1.4beta1
WordPress 3.0.4

A plain [geo_mashup_map] shortcode in a located post produces a global map, as 
does [geo_mashup_map map_content="single"].

Original issue reported on code.google.com by dylankk...@gmail.com on 4 Feb 2011 at 9:49

@GoogleCodeExporter
Copy link
Author

The instance I was able to investigate looks like it might be caused by W3 
Total Cache.

Original comment by dylankk...@gmail.com on 5 Feb 2011 at 1:00

@GoogleCodeExporter
Copy link
Author

yeah, w3 Total cache is installed on my network when experiencing the single 
map issues.

I had to revert to 1.39 to show the site to a prospective client. Will 
reinstall 1.4 and test with W3 total cache in various states, and report.

Support for W3Total Cache is a must I would say - reduced my load times by 10x 
(10 seconds to 0.8 with the cache fully primed....

cheers
Ben

Original comment by bco...@gmail.com on 7 Feb 2011 at 4:34

@GoogleCodeExporter
Copy link
Author

Tested with W3 total Cache disabled and 1.4beta still failing to return a 
single map correctly.

on 1.39 the iframe src is 
?geo_mashup_content=render-map&map_content=single&width=280&height=300&zoom=6&ba
ckground_color=c0c0c0&object_id=24

Example: http://goo.gl/WDSyG


on 1.4 (maps V3) 
?geo_mashup_content=render-map&map_data_key=7d0411e15d11d677dc48146b2d2c085c

I get the same results (global map) if remove or change the map_data_key so I 
deduce from this 1.4 beta is not referencing the map_data_key string correctly 
and returning the default (global) map.

Example: http://goo.gl/jsfcJ

Let me know if you need me to do any more testing or set up a admin login to my 
network.

I have not tested with W3 Total cache un-installed but only with the w3TC 
plugin folder renamed. 

Is the single map issue present on non network sites pre-3.1?

Cheers
Ben




Original comment by bco...@gmail.com on 7 Feb 2011 at 5:53

@GoogleCodeExporter
Copy link
Author

Thanks Ben, that is what I found also on a similar configuration. The iframe 
src in 1.4 uses the WordPress transient API (keyed on map_data_key) to overcome 
problems that can occur when the iframe src URL gets too long. There is some 
configuration involving W3 Total Cache where the transient API stops working.

My local non-network install of WP 3.1-RC3 worked fine with W3 Total Cache 
0.9.1.3, so I'm not sure if the problem is with WP 3.0 or WP multisite. 

I'd be curious if turning off the w3tc object cache has any effect on your 
install (it did not on the other site I investigated). 

Original comment by dylankk...@gmail.com on 8 Feb 2011 at 4:38

@GoogleCodeExporter
Copy link
Author

I don't use W3TC object cache [or database cache] as it slows down performance 
on a shared host. I never have.

So, strangely enough, ENABLING object cache worked. Turning off Object cache 
restored the issue. 

For me the Transient API stops working with W3TC Object Cache OFF only.

Should I report this as a bug to the W3TC Plugin Author?

Ben







Original comment by bco...@gmail.com on 8 Feb 2011 at 9:06

@GoogleCodeExporter
Copy link
Author

I'm not certain it's a W3TC bug, but that does look like a possibility. I'm 
sure the author would like to have a simpler test case than a Geo Mashup 
installation, but I'd need a little time to code one up. Maybe worth asking 
about in the meantime.

Original comment by dylankk...@gmail.com on 9 Feb 2011 at 3:43

  • Changed title: Single maps not working with W3 Total Cache - load global content

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Ben: attached is a page template with a simple test of the Transients API. Just 
create a page, choose the template, and visit the page. Can you use this to 
verify that the Transients API breaks with your normal setup?

Original comment by dylankk...@gmail.com on 10 Feb 2011 at 1:06

Attachments:

@GoogleCodeExporter
Copy link
Author

Transient API test failed on main blog with gm and w3tc installed [tried object 
cache on/off]

Also failed on a new blog with no plugins activated however think even when 
installed but not activated w3TotalCache still does stuff. http://goo.gl/NR6Nx 

ummm bug in wp 3.1 multisite rc4?

cheers
ben


Original comment by bco...@gmail.com on 10 Feb 2011 at 3:44

@GoogleCodeExporter
Copy link
Author

Still hard to say, but I think I'd try reporting it as a W3TC bug first. Would 
you be willing to do that and post relevant updates here?

Here are my results:

1. Install WP 3.0.5 multisite and transient API test. Test passes.
2. Install W3TC, but don't activate. Test Passes.
3. Activate W3TC. On my setup the object cache is not enabled by default. Test 
FAILs.
4. Enable Object Cache with Disk method. Test passes.

Original comment by dylankk...@gmail.com on 10 Feb 2011 at 2:33

  • Added labels: Type-Incompatibility
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

The W3Total Cache plugin author Frederic Townes is looking into the transient 
object cache issues. 

Original comment by bco...@gmail.com on 24 Feb 2011 at 9:24

@GoogleCodeExporter
Copy link
Author

This seems to have been fixed in W3TC - I've been using it without problems.

Original comment by dylankk...@gmail.com on 7 Nov 2011 at 5:15

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by dylankk...@gmail.com on 18 Dec 2011 at 11:16

  • Changed state: AssumedVerified

@GoogleCodeExporter
Copy link
Author

Looks like this is back - have at least one site where turning on the object 
cache set to "disk" breaks transients. Workaround is to disable the object 
cache.

Original comment by dylankk...@gmail.com on 24 Jan 2013 at 6:12

  • Changed state: Workaround

@GoogleCodeExporter
Copy link
Author

Just to add to this - I switched on "object cache" to disk and it too brought 
up this error message. Switched it back off and the map showed. Cheers

Original comment by mattfa...@gmail.com on 28 Mar 2013 at 3:52

@GoogleCodeExporter
Copy link
Author

Hi we have same issues but that makes caching efficiency without object caching 
hardly worthwhile, Any update on this anyone, we are working with latest 
versions but it seems to still be a problem?

Original comment by a...@intriguing-networks.com on 6 May 2013 at 4:48

@GoogleCodeExporter
Copy link
Author

Hi Switching off object cache doesnt seem to solve the problem unfortunately.

Original comment by a...@intriguing-networks.com on 6 May 2013 at 4:56

@GoogleCodeExporter
Copy link
Author

In my testing object cache now works, but the database cache breaks transients 
(observable using the test above).

So the workaround should now be to enable the object cache and disable the 
database cache.

Original comment by dylankk...@gmail.com on 6 May 2013 at 10:33

@GoogleCodeExporter
Copy link
Author

Hmmn Bing indexing is still having a problem with Map Renders and when i click 
on the crawl errors it fires up this issue log? 

URL HTTP CODE   COUNT OF LINKS
 of 3  
http://intriguing-history.com/?geo_​mashup_content=render-map&map_d​ata_key=
fc0446d00ab4dc421852a8b3cf1​3b215     500  0
http://intriguing-history.com/?geo_​mashup_content=render-map&map_d​ata_key=
fa144368ddf919e4dfa7c40b565​c9886     500  0
http://intriguing-history.com/?geo_​mashup_content=render-map&map_d​ata_key=
f9d86676abe1a2606789df6ee18​f8960     500  0

Any ideas anyone? The Map seems to be locked on one location as well so 
something not right?

whether a single Map global or contextual all the other points are there but 
seems to be locked on a single location example global map here 
http://www.intriguing-history.com/map/

Single Post also returns wrong map location
http://www.intriguing-history.com/whitechapel-bell-foundry-1570/

It has to be related but any ideas appreciated. It was all working fine before 
so will test with W3TC disabled and check Better WP Security settings again but 
as we are in midst of onwardly developing site proving a bit frustrating.

Many thanks
Amanda

Original comment by a...@intriguing-networks.com on 24 May 2013 at 8:08

@GoogleCodeExporter
Copy link
Author

The above is not Bing specific same issues identified on Google Webmaster

Original comment by a...@intriguing-networks.com on 24 May 2013 at 8:12

@GoogleCodeExporter
Copy link
Author

For crawler errors please see issue 648

Original comment by dylankk...@gmail.com on 24 May 2013 at 1:51

@GoogleCodeExporter
Copy link
Author

The error occurs with WPEngine caching too (transients may not working error). 
Error occurs most frequently on FF and IE. The guys at WPE were very kind to 
assist me, but we were unable to trace the error.

They told me: "The only non-standard thing we do with WordPress transients is 
store them in Memcached."

Original comment by fulvio.n...@gmail.com on 9 Jul 2013 at 4:20

@GoogleCodeExporter
Copy link
Author

I've also been unable to figure out what goes wrong on WPE. Turning off their 
object caching fixes it, but if you turn it on again it returns eventually. I 
hope I can find time to dig into that one further and get it working eventually.

Original comment by dylankk...@gmail.com on 9 Jul 2013 at 1:21

@GoogleCodeExporter
Copy link
Author

This issue was updated by revision b33acc4f501d.


I'm hoping this code targeted for the 1.7 release will handle transient
failures more robustly.

Original comment by dylankk...@gmail.com on 28 Aug 2013 at 10:30

  • Changed state: Implemented
  • Added labels: Milestone-1.7
  • Removed labels: Milestone-1.4

@GoogleCodeExporter
Copy link
Author

Hi,

I was experiencing this issue on my site at http://graffitisupplies.org/chrome/

Updated W3 Total Cache to the latest version and it resolved the problem for me.

Hope this helps.

Thanks
Colin

Original comment by colin.m....@gmail.com on 7 Sep 2013 at 4:36

@GoogleCodeExporter
Copy link
Author

Colin - did you have Geo Mashup 1.7beta2 installed? Before upgradeding W3TC?  
Thanks for the feedback!

Original comment by dylankk...@gmail.com on 7 Sep 2013 at 5:00

@GoogleCodeExporter
Copy link
Author

Original comment by dylankk...@gmail.com on 3 Oct 2013 at 5:56

  • Added labels: Milestone-1.7.0
  • Removed labels: Milestone-1.7

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Original comment by dylankk...@gmail.com on 24 Oct 2014 at 1:31

  • Changed state: AssumedVerified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant