sentora-core
sentora-core copied to clipboard
Sentora shows nothing in google chrome and firefox when using cloudflare
Trying to go to the sentora login page, Chrome shows nothing, however the html is there to show. IE works fine.
EDIT: As a note, this is on a fresh install on a openvz vps running centos6 EDIT2: Firefox does this as well
I figured out that this is a cloudflare rocket loader issue. I have fixed it, and I am submitting my fix as a pull request.
See pull request #178
Hi, I saw you change. Adding the directive data-cfasync may work, but is it the correct solution ? I am thinking about the missing declaration type="text/javascript" which is reported as mandatory by www validator. If nobody confim what i feel, i'll validate the pull, but i'm afraid that it may remains a lot of other
Hi, I think you would be correct in assuming this, I can't test this but I definitely think holding back on pr till it is tested.
@5050 adding the type attribute only allows it to be verified. It works regardless, and the only reason I never added it was because it wasn't there in the first place.
If you want I can certainly add it into the pull request, but I would think that this is a different issue, so I thought it should go in its own pull request, but please correct me if I am wrong.
@kkprince1998 Please add the type declaration to the PR :+1: I'll be reviewing PR's soon.
Cloudflare specific with an alternate solution available.