SERP Hacker support forum - serposcope

Support forum for open-source softwares built by serphacker.com : serposcope the rank checker.

You are not logged in.

#1 2014-09-04 03:53:16

simon
Member
Registered: 2014-09-04
Posts: 1

curl_getinfo() expects parameter 2 to be long, string given in

My log:

[04/09/2014 05:42:22][Cron] Starting cron via "cgi-fcgi"
[04/09/2014 05:42:22][Cron] DEBUG: display total unit 9
[04/09/2014 05:42:23][Cron] DeathByCaptcha balance = 2081.2808
[04/09/2014 05:42:23][Cron] Clearing the cache (force=1)...
[04/09/2014 05:42:23][Cron] Cache clear
[04/09/2014 05:42:23][Cron] Checking group[1] test1 with module Google
[04/09/2014 05:42:23][Google] Switched to proxy DIRECT
[04/09/2014 05:42:23][Google] Checking usługi cateringowe on www.google.pl
[04/09/2014 05:42:23][Curl] DEBUG: GET http://www.google.pl/preferences via DIRECT (mem: 0.75M/128M)
<br />
<b>Warning</b>:  curl_getinfo() expects parameter 2 to be long, string given in <b>/home/seocomp/inc/functions.php</b> on line <b>307</b><br />
[04/09/2014 05:42:24][Curl] DEBUG: GOT status=200 cache=MISS age=0 (mem: 1M/128M)
[04/09/2014 05:42:24][Google] DEBUG: local search not used
[04/09/2014 05:42:24][Curl] DEBUG: GET https://www.google.pl/search?q=us%C5%82ugi+cateringowe via DIRECT (mem: 1M/128M)
<br />
<b>Warning</b>:  curl_getinfo() expects parameter 2 to be long, string given in <b>/home/seocomp/inc/functions.php</b> on line <b>307</b><br />
[04/09/2014 05:42:24][Curl] DEBUG: GOT status=200 cache=MISS age=0 (mem: 1.25M/128M)
[04/09/2014 05:42:54][Curl] DEBUG: GET https://www.google.pl/search?q=us%C5%82 … e&start=10 via DIRECT (mem: 1.25M/128M)
<br />
<b>Warning</b>:  curl_getinfo() expects parameter 2 to be long, string given in <b>/home/seocomp/public_html/serpy.vipserv.org/inc/functions.php</b> on line <b>307</b><br />

/cut/

Is it due some changes how Google present results?

Thx
Simon

Offline

#2 2014-09-05 10:15:49

serphacker
Administrator
Registered: 2014-06-13
Posts: 411

Re: curl_getinfo() expects parameter 2 to be long, string given in

This is because you use a old PHP version < 5.3.8 and CURLINFO_REDIRECT_URL is not defined.

I fixed this in the dev version, serposcope won't install/run now if you have PHP < 5.3.8.

The only solution is to upgrade php.

Offline

Board footer