-
Notifications
You must be signed in to change notification settings - Fork 5
Troubleshooting
Here is common list of troubleshooting if you encountering errors.
For example if you can't load node socket service using
app/console nodesocket start
and returns error such as:
[Symfony\Component\Debug\Exception\ContextErrorException] Warning: file_put_contents(myproject/app/cache/runtime_node/): failed to open stream: Is a directory
than you need to setup properly configuration or is not activate in app/console.yml
configuration. This example of configuration is on Step 4 documentation.
Starting a service produces an error:
$event = $this->get('service_nodesocket');
When you calling a service and you receive error such as no extension or error in dependecy Injection. This example produce error:
[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException] There is no extension able to load the configuration for "reactorcoder_symfony2_nodesocket" (in /data/development/web/www/symfony2/myproject/app/config/config_dev.yml). Looked for namespace "reactorcoder_symfony2_nodesocket", found "framework", ...
This errors are because in a framework of kernel are not loaded instance in AppKernel.php
descripted in Step 2 documentation.