You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this is a security issue, maybe it will be a good idea to add this in the config
This is what I'm getting now:
Fatal error: Call to undefined method Symfony\Component\HttpFoundation\Request::trustProxyData() in /var/www/everestlabs.com/App/config.php on line 206
The text was updated successfully, but these errors were encountered:
Fatal error: Call to undefined method Symfony\Component\HttpFoundation\Request::trustProxyData() in C:\Projects\Silex-Blog-App-master\Silex-Blog-App-master\App\config.php on line 206
is there any solution for this issue.
i am beginner to symfony. i am using phpstorm as editor and installed composer. i have some questions regarding run this app.
How we edit database configurations (MongoDB) and can we open DB using robomongo application
How i run this app using composer (can i run it normally as index,php or like thing)
When i comment above error line in config.php i m getting class 'Mongo' not found line 134 in config.php
Appreciate if you can give a complete installation guide to this app.
Hi i'll get back to you shortly after I update the code current code to silex v2. Sorry for the delay. I will write write a complete installation guid. @TGihan
It was replaced by setTrustedProxies, to achieve the same functionality you can do
Request::setTrustedProxies(array($request->server->get('REMOTE_ADDR')));
But this is a security issue, maybe it will be a good idea to add this in the config
This is what I'm getting now:
Fatal error: Call to undefined method Symfony\Component\HttpFoundation\Request::trustProxyData() in /var/www/everestlabs.com/App/config.php on line 206
The text was updated successfully, but these errors were encountered: