Login   Register  
PHP Classes
elePHPant
Icontem

Error with socket_recvfrom

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Battlefield 2 Server Query  >  All threads  >  Error with socket_recvfrom  >  (Un) Subscribe thread alerts  
Subject:Error with socket_recvfrom
Summary:No matter which server I select
Messages:2
Author:Eric Thorsen
Date:2007-07-08 14:34:09
Update:2007-08-01 09:05:27
 

  1. Error with socket_recvfrom   Reply  
Picture of Eric Thorsen
Eric Thorsen
2007-07-08 14:34:09
No matter which server I put in, I get these errors.

------------
Warning: socket_recvfrom() [function.socket-recvfrom]: unable to recvfrom [11]: Resource temporarily unavailable in /www/mysite/BF2/battlefield-2-class.php on line 43

Notice: Undefined index: results in /www/mysite/BF2/templates/in-game.php on line 6

Warning: Invalid argument supplied for foreach() in /www/mysite/BF2/templates/in-game.php on line 6

Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /www/mysite/BF2/templates/in-game.php on line 16

Notice: Undefined index: results in /www/mysite/BF2/templates/in-game.php on line 21

Warning: Invalid argument supplied for foreach() in /www/mysite/BF2/templates/in-game.php on line 21

Unable to connect to the Battlefield 2 server. Server could be down or changing the map...
----------------

I use PHP 5 on linux CentOs 4 and enabled the sockets extension while compiling php.

Do I have to open special incoming ports in the firewall?

Thank you

  2. Re: Error with socket_recvfrom   Reply  
Picture of Rowan
Rowan
2007-08-01 09:05:27 - In reply to message 1 from Eric Thorsen
I get the exact same error.
:(