Vdeo-Call-App Fatal Error - php

I want to use Video-Call-App made by amirsanni.
Video-Call-App
in local server using wampserver it was great but i can't run it on server and i get this Fatal error :
Fatal error: Uncaught React\Socket\ConnectionException: Could not bind to
tcp://0.0.0.0:8080: Address already in use in
/srv/disk16/2535675/www/arash.mygamesonline.org/video-call-
app/ws/vendor/react/socket/src/Server.php:35 Stack trace: #0
/srv/disk16/2535675/www/arash.mygamesonline.org/video-call-
app/ws/vendor/cboden/ratchet/src/Ratchet/App.php(80): React\Socket\Server-
>listen(8080, '0.0.0.0') #1
/srv/disk16/2535675/www/arash.mygamesonline.org/video-call-
app/ws/bin/server.php(18): Ratchet\App->__construct('http://arash.my...',
8080, '0.0.0.0') #2 {main} thrown in
/srv/disk16/2535675/www/arash.mygamesonline.org/video-call-
app/ws/vendor/react/socket/src/Server.php on line 35
may help me run this app on server ? i'm new to this field please say me any thing that you think may i didn't do to run app.

Related

PHP Fatal error: Uncaught SoapFault exception in error_log

I'm doing some requests to an external service, problem is that sometimes the external service is not responding (I think their server is offline or something like that).
The problem with that is the error which is written each time on the error_log:
[07-May-2022 04:31:05 UTC] PHP Fatal error: Uncaught SoapFault exception: [HTTP] Could not connect to host in /path/file.php:115
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://app.mela...', 'http://app.mela...', 1, 0)
....
....
How to avoid to write that error inside error log?
The code inside /path/file.php:115 is this:
$response = $this->client->getOrders($userId,$order,$orderColumn,$orderType,$limitStart,$limitSize);
Thanks for your help.

Joomla & PHP 7 : Fatal error: Argument 1 passed to JErrorPage::render()

Got the following error when I try to update a Joomla 3.9 website on a PHP7.2 environement.
Fatal error: Uncaught TypeError: Argument 1 passed to JErrorPage::render() must be an instance of Exception, instance of Error given in /var/www/xxxxx/libraries/cms/error/page.php:28 Stack trace: #0 [internal function]: JErrorPage::render(Object(Error)) #1 {main} thrown in /var/www/xxxxx/libraries/cms/error/page.php on line 28
Any idea what could cause this?
Website works fine on PHP 5.6 but I can't switch to PHP 7.2

ErrorHandler issue Migrating from PHP 5.5 to 7

I'm working on migrating from Ubuntu 14 to 16 and php 5.5 to 7. When I'm trying to turn on my application, I keep running into an ErrorHandler Fatal Error. Does anyone know a quick way to resolve this?
ubuntu#dev2:/var/www/xyz$ php app/console
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Debug\ErrorHandler::handleException() must be an instance of Exception, instance of Error given in /var/www/xyz/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php:436
Stack trace:
#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleException(Object(Error))
#1 {main}
thrown in /var/www/xyz/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php on line 436

simpleexcel : I get an error when I changed the host

Recently I have changed my host. On the previous host, every thing was ok, but now on the new host I get following error..
Please direct me to the host so I can solve this problem ASAP???
Fatal error: Uncaught exception 'Exception' with message 'Document namespace isn't a valid Excel XML 2003 Spreadsheet' in /home/jalali/public_html/admin/SimpleExcel/Parser/XMLParser.php:198
Stack trace:
#0 /home/jalali/public_html/admin/SimpleExcel/Parser/XMLParser.php(305): SimpleExcel\Parser\XMLParser->parseDOM(Object(SimpleXMLElement))
#1 /home/jalali/public_html/admin/#dmin.php(28): SimpleExcel\Parser\XMLParser->loadFile('../archive/1371...')
#2 {main} thrown in /home/jalali/public_html/admin/SimpleExcel/Parser/XMLParser.php on line 198

Redis PHP cache "ERR Not permitted"

I'm trying to get a Redis front-end cache to Wordpress to work. I get this fatal error:
2013-06-07 01:46:12: (mod_fastcgi.c.2701) FastCGI-stderr: PHP Fatal error: Uncaught exception 'Predis\ServerException' with message 'ERR operation not permitted' in /home/www/predis/lib/Predis/Client.php:291
Stack trace:
#0 /home/www/predis/lib/Predis/Client.php(233): Predis\Client->onResponseError(Object(Predis\Command\HashExists), Object(Predis\ResponseError))
#1 /home/www/index-with-redis.php(76): Predis\Client->__call('hexists', Array)
#2 /home/www/index-with-redis.php(76): Predis\Client->hexists('7de22495a3e5275...', '3e3299d491f3bac...')
#3 {main}
thrown in /home/www/predis/lib/Predis/Client.php on line 291
I have a functioning Redis-server (running other projects with it). For some reason, I get a ERR Not permitted. Any ideas?
Like you said in your comment, the problem is the password not set. For anyone seeing this error in the future, you want to instantiate your client with:
my_client = new Predis\Client(array(
"host" => "some_host",
"port" => "some_port",
"password" => "some_pw",
"database" => "some_db_number"
)

Categories