Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when launching server.php i get this error #6

Open
bruinp8n opened this issue Jul 24, 2020 · 2 comments
Open

when launching server.php i get this error #6

bruinp8n opened this issue Jul 24, 2020 · 2 comments

Comments

@bruinp8n
Copy link

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
Copy link
Author

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...

@amirsanni
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants