Page 1 of 1

Re: cloudflare CTR problem

Posted: Wed May 28, 2014 2:08 pm
by admin
You have to pass real IP from cloudflare

Open scj/admin/test.php - in what field do you see your ip ?

Re: cloudflare CTR problem

Posted: Wed May 28, 2014 4:03 pm
by admin
The best thing to do it to get rid of

_SERVER["HTTP_X_FORWARDED_FOR"]

at cloudfare somehow

after that you have to reassign remote_addr where in normal situation ip is.

Add to common.php

if ($_SERVER["HTTP_CF_CONNECTING_IP"]) $_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_IP"];


If you can not setup cloudfare not to send _SERVER["HTTP_X_FORWARDED_FOR"] you can also add

unset($_SERVER["HTTP_X_FORWARDED_FOR"]);

Re: cloudflare CTR problem

Posted: Wed May 28, 2014 9:05 pm
by admin
Ok, show me plz headers of your click that is not being counted

Re: cloudflare CTR problem

Posted: Wed May 28, 2014 9:36 pm
by admin
1. there's no request headers
2. set degub mode = on in Cjsettings

Re: cloudflare CTR problem

Posted: Wed May 28, 2014 9:42 pm
by admin
I guest the same place where you see response headers ...

Re: cloudflare CTR problem

Posted: Wed May 28, 2014 10:18 pm
by admin
Change-Trade:set to overclick (max count 20)

we don't count clicks for overclick

Re: cloudflare CTR problem

Posted: Thu May 29, 2014 12:17 am
by admin
No-rot-in:skip click in rotation

You didn't reenter a page a think , just deleted cookies and clicked again

Re: cloudflare CTR problem

Posted: Thu May 29, 2014 12:49 pm
by admin
And you are sure that noref has not clicks ?
ok, send me admin area