PDA

View Full Version : [Radio Stats] Help? +rep



Jackbee
19-03-2007, 04:50 PM
I try to get stats working. I've tried the ones given on this forum and AtomicStas. both says



Warning: fsockopen() [function.fsockopen]: unable to connect to Radio IP: PORT in /PATH/ on line 26

Is this because I need something allowed/enabled on the hosting? I'm sure someone said this before, So if you know how to fix it please do tell.

Invent
19-03-2007, 04:51 PM
Im guessing you dont get that exact error? :p

Anways, make sure you host allows sockets (fsockopen).

Jackbee
19-03-2007, 04:55 PM
Thanks, and no thats not the exact erorr :p
I'll ask him when he gets online. Do you do this in WHM (web host manager)?

Invent
19-03-2007, 05:04 PM
No its alot more complicated than that ;p

Its a PHP thing so you have to edit the conf file.

So you're host has to have root access :)

Blob
19-03-2007, 05:12 PM
On line 26 find fsockopen and replace with @fsockopen

Invent
19-03-2007, 05:19 PM
That will stop it showing the error, but wont make his stats work..

Blob
19-03-2007, 05:25 PM
That will stop it showing the error, but wont make his stats work..

Mine (used, dont use them) worked when I did that

Jackbee
19-03-2007, 05:27 PM
On line 26 find fsockopen and replace with @fsockopen

Done that, its now not giving the error just saying its offline, I am djing though

F32
19-03-2007, 05:51 PM
Done that, its now not giving the error just saying its offline, I am djing though
give it time.

Jackbee
19-03-2007, 05:53 PM
give it time.

Been djing for 30 mins now :P

Moh
19-03-2007, 06:28 PM
post the full stats file ?

Jackbee
19-03-2007, 06:36 PM
atm im using atomicstats, shall i switch to dannys ones and see if they work?

Edit: Tried other and its excactly the same :(

Want to hide these adverts? Register an account for free!