conference-call-ratchet icon indicating copy to clipboard operation
conference-call-ratchet copied to clipboard

when launching server.php i get this error

Open bruinp8n opened this issue 4 years ago • 2 comments

php Server.php PHP Notice: Trying to get property 'iceServers' of non-object in D:\Projects\The Net VR\Net VR Conference\web\conference\Server.php on line 15

Notice: Trying to get property 'iceServers' of non-object in D:\Projects\The Net VR\Net VR Conference\web\conference\Server.php on line 15 null

bruinp8n avatar Jul 24 '20 23:07 bruinp8n

I was launching the wrong one, when i launch server.php in the ws/bin dir i get this error

PS C:\xampp\htdocs\ws\bin> php server.php PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\ws\bin\server.php on line 10

Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\ws\bin\server.php on line 10 PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ws\bin\server.php on line 10

Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ws\bin\server.php on line 10

I installed composer and updated it...

bruinp8n avatar Jul 25 '20 00:07 bruinp8n

Ensure you set the path to vendor/autoload.php correctly. That's what the error implies.

amirsanni avatar Jul 25 '20 10:07 amirsanni