Fatal server error

110 views
Skip to first unread message

Josh Simon

unread,
Apr 27, 2014, 8:09:26 PM4/27/14
to phudbase-...@googlegroups.com
I'm getting two errors when running this on Win7:

Notice: Use of undefined constant E_WARN - assumed 'E_WARN' in C:\wamp\www\wm_server\includes\errorFunctions.inc on line 16

and


Fatal error: Call to undefined function socket_create() in C:\wamp\www\wm_server\includes\classes\Server\SocketServer.class.inc on line 63


Anyone ever see those errors before?

Michael Elford

unread,
Apr 27, 2014, 8:26:15 PM4/27/14
to phudbase-...@googlegroups.com
Can't remember the detail as it's been ages for me, but I fixed a few errors you encounter getting it running if you take a look at this thread:


--
You received this message because you are subscribed to the Google Groups "PHudBase Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phudbase-develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Josh Simon

unread,
Apr 27, 2014, 8:28:58 PM4/27/14
to phudbase-...@googlegroups.com
Thanks for the quick reply.  Unfortunately, I am already using your newer version of the wm_server directory and still getting that error.  I was hoping that I'm just missing something and typing in the server information incorrectly but I don't see how that would produce those errors.  I'll play some more.


--
You received this message because you are subscribed to a topic in the Google Groups "PHudBase Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phudbase-developers/osaR3fwfMsE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phudbase-develo...@googlegroups.com.

Tim van Dijen

unread,
Apr 28, 2014, 12:08:51 AM4/28/14
to phudbase-...@googlegroups.com
You have to enable the Socket PHP Extension in Wamp

Michael Elford schreef op 28-4-2014 02:26:

Josh Simon

unread,
Apr 28, 2014, 7:45:52 AM4/28/14
to phudbase-...@googlegroups.com
Good catch, thank you.

However, now the error is different:

Warning: socket_bind(): unable to bind address [10049]: The requested address is not valid in its context. in C:\wamp\www\wm_server\includes\classes\Server\SocketServer.class.inc on line 79

I get this error with both versions of the wm_server directory, i.e. the original one and the one by Michael Elford.


Thoughts?



On Monday, April 28, 2014 12:08:51 AM UTC-4, Tim van Dijen wrote:
You have to enable the Socket PHP Extension in Wamp

Michael Elford schreef op 28-4-2014 02:26:
Can't remember the detail as it's been ages for me, but I fixed a few errors you encounter getting it running if you take a look at this thread:
On Mon, Apr 28, 2014 at 10:09 AM, Josh Simon <joshua...@gmail.com> wrote:
I'm getting two errors when running this on Win7:

Notice: Use of undefined constant E_WARN - assumed 'E_WARN' in C:\wamp\www\wm_server\includes\errorFunctions.inc on line 16

and


Fatal error: Call to undefined function socket_create() in C:\wamp\www\wm_server\includes\classes\Server\SocketServer.class.inc on line 63


Anyone ever see those errors before?
--
You received this message because you are subscribed to the Google Groups "PHudBase Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phudbase-developers+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "PHudBase Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phudbase-developers+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages