Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Channel Entry return blank on some languages and languages are missing!

Status Resolved
Add-on / Version Publisher 1.1.4
Severity Blocker
EE Version v2.7.3 - Build Date: 20131210

Julian Nischler

Feb 16, 2014

Yesterday I have added a new language Italian everything seems to work fine.
Now some pages only display content using the default language.
In addition, whenever I select Italian as language I am unable to switch to any other language only Italian shows up in the selector.
http://www.electriclove.at/de/travel/eventtravel
http://www.electriclove.at/it/travel/eventtravel
http://www.electriclove.at/en/travel/eventtravel

We are using Cloudflare as a security and caching system.
Whenever I disable cloudflare cache, everything works as expected.
It has to be a bug with some kind of request, but cloudflare requests as a normal browser.
Thank you very much!
Best Regards
Julian Nischler

#1

BoldMinded (Brian)

Julian, if you disable the caching and everything works, then I’m not sure what else I can do. Its clearly a caching issue. I’ve never used Cloudflare before (or heard of it), so I’m not even sure how it caches anything.

#2

Julian Nischler

Hallo thanks for the fast reply! Right when I disable the cache everything works correct! However, we cannot handle the traffic. We have used Cloudflare for a long time and everything works as expected. However, problems started some days ago after I have added a new language. Cloudflare request just as a normal browser. In addition, Cloudflare was working with English and German just now with Italian it is not working anymore! This seems to be a bug with Publisher. regards

#3

BoldMinded (Brian)

Its not a bug in Publisher if it works when the caching is disabled. I don’t know how the caching is configured, but it must be interfering with the requests. Are you sure Cloudflare sees the /en/, /fr/ segments as unique requests?

#4

Julian Nischler

Yes, Cloudflare just works as a proxy. Requests like a normal browser. However, it does not send headers like cookies / language and so on. True it is wrong to say it is a bug but I think publisher has a problem with Cloudflare requests. But why is it working with en and de. Thank you very much! Best regards Julian

#5

BoldMinded (Brian)

Julian, if Cloudflare is anything like Varnish, then I’m even more convinced this isn’t a Publisher issue because I know first hand how much configuration is needed for a caching system like that. I advise that you spend more time debugging the caching solution because I can’t support a 3rd party caching system like this. If it was an EE specific cache add-on, then I’d take a look at it, but this is outside of the scope of the included support when purchasing the add-on.

#6

Julian Nischler

Hallo. I now have reproduced the problem without Cloudflare. Loading for example: http://direct.electriclove.at/it/tickets/ticket-kategorien/ Loads normal whenever the cookie PHPSESSID is set. Deleting the cookie shows the page without content and only the Italian flag shows up. Attached you can find some photos. Regards Julian Nischler

#7

BoldMinded (Brian)

Publisher doesn’t reference a PHPSESSID cookie at all. There also isn’t any reason to remove the cookie. I don’t see how its a Publisher bug if someone manually deletes that cookie, or another caching service messes with the cookie.

#8

Julian Nischler

This is true but first time visiting the page there is no session cookie set. Just delete your browsers cookies and access the page and you will see the page without content. Refreshing the page shows the page with content, as now the session cookie is set. In addition, accessing the page via direct.electriclove.com bypasses cloudflare and nothing is changing anything. It seems to me that you just don’t want to help me! Can’t you be a little more helpful? regards

#9

Julian Nischler

Seems to work with 1.2!!!!!! I just give it a try with cloudflare!

#10

Julian Nischler

Yes works also behind cloudflare! Thanks!!!!!

#11

BoldMinded (Brian)

I did make some changes to how the language is initially set when visiting the site, but I don’t see how that was related to the PHPSESSID cookie. Either way, if its working, then its working.

Login to reply