cloudflare CTR problem

Post Reply
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: cloudflare CTR problem

Post by admin »

You have to pass real IP from cloudflare

Open scj/admin/test.php - in what field do you see your ip ?
Don't forget to run script update
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: cloudflare CTR problem

Post 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"]);
Don't forget to run script update
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: cloudflare CTR problem

Post by admin »

Ok, show me plz headers of your click that is not being counted
Don't forget to run script update
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: cloudflare CTR problem

Post by admin »

1. there's no request headers
2. set degub mode = on in Cjsettings
Don't forget to run script update
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: cloudflare CTR problem

Post by admin »

I guest the same place where you see response headers ...
Don't forget to run script update
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: cloudflare CTR problem

Post by admin »

Change-Trade:set to overclick (max count 20)

we don't count clicks for overclick
Don't forget to run script update
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: cloudflare CTR problem

Post by admin »

No-rot-in:skip click in rotation

You didn't reenter a page a think , just deleted cookies and clicked again
Don't forget to run script update
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: cloudflare CTR problem

Post by admin »

And you are sure that noref has not clicks ?
ok, send me admin area
Don't forget to run script update
Post Reply