sentora-core icon indicating copy to clipboard operation
sentora-core copied to clipboard

Sentora shows nothing in google chrome and firefox when using cloudflare

Open KaidenP opened this issue 9 years ago • 5 comments

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

KaidenP avatar Jun 26 '15 01:06 KaidenP

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

KaidenP avatar Jun 26 '15 02:06 KaidenP

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

5050 avatar Jun 29 '15 11:06 5050

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.

eByte23 avatar Jun 29 '15 11:06 eByte23

@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.

KaidenP avatar Jun 29 '15 13:06 KaidenP

@kkprince1998 Please add the type declaration to the PR :+1: I'll be reviewing PR's soon.

Caffe1neAdd1ct avatar Sep 28 '15 10:09 Caffe1neAdd1ct

Cloudflare specific with an alternate solution available.

TGates71 avatar Jan 26 '24 03:01 TGates71