Closed mhmtz closed 4 years ago
Which version of PHP are you running?
Current PHP version: 7.3, I've tried upload again and chancge php version 7.3, 7.4 and 7.1 . It works on localhost. but it doesn't work on the my web site host. different error
Warning: stream_socket_client(): unable to connect to tcp://m.mychat.com:5222 (Connection refused) in /home/plushile/public_html/chat/src/Socket.php on line 29
Warning: socket_strerror() has been disabled for security reasons in /home/plushile/public_html/chat/src/Exceptions/DeadSocket.php on line 13
Do you have some domain disabled functions on your production? Something like this?
Thank you master, it work.
I get the following error while texting. Why?
Fatal error: Uncaught TypeError: Return value of Norgul\Xmpp\XmppClient::initDependencies() must be an instance of Norgul\Xmpp\void, none returned in /home/domain/public_html/src/XmppClient.php:51 Stack trace: #0 /home/domain/public_html/c2msj/src/XmppClient.php(43): Norgul\Xmpp\XmppClient->initDependencies() #1 /home/cplusxyz/public_html/index.php(19): Norgul\Xmpp\XmppClient->__construct(Object(Norgul\Xmpp\Options)) #2 /home/domain/public_html/index.php(114): Norgul\Xmpp\test('mhmtz', 'anon-a0ffd6926c...', '557b2a84cc1f64c...', 'hello') #3 {main} thrown in /home/domain/public_html/src/XmppClient.php on line 51