25/07/2015, 19:53
|
| | Fecha de Ingreso: abril-2006
Mensajes: 173
Antigüedad: 18 años, 8 meses Puntos: 0 | |
Instalación inicial de Symfony2 Hola,
Acabo de instalar la aplicación de Cupon de Symfony2. Si intento probarla, utilizando como servidor el propio de PHP con el comando:
php app/console server:run
Todo funciona perfectamente. Pero he decidido utilizar Apache para hacer correr Symfony, y me encuentro con que cada vez que intento acceder a app.php o app_dev.php, la página se queda cargando y nunca termina de cargar, generando un error 404.
La conexión a la BD está correcta (con mysql) y debuggeando he podido comprobar que si que llega a entrar al script app_dev.php, pero se queda como colgado.
El log que he podido captar es:
[2015-07-26 03:48:07] request.INFO: Matched route "portada" (parameters: "_controller": "Cupon\OfertaBundle\Controller\DefaultController:: portadaAction", "ciudad": "barcelona", "_locale": "es", "_route": "portada") [] []
[2015-07-26 03:49:03] security.INFO: Populated SecurityContext with an anonymous Token [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Errors LoggerListener::injectLogger". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Errors LoggerListener::injectLogger". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Errors LoggerListener::injectLogger". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugH andlersListener::configure". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Profil erListener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\Sess ionListener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Router Listener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Locale Listener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKerne lRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Cupon\OfertaBundle\Listener\RequestListener::onKe rnelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\Reques tListener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\Rout erDataCollector::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\Reques tDataCollector::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ ControllerListener::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ ParamConverterListener::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ HttpCacheListener::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ SecurityListener::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ TemplateListener::onKernelController". [] []
[2015-07-26 03:49:03] doctrine.DEBUG: SELECT o0_.id AS id0, o0_.nombre AS nombre1, o0_.slug AS slug2, o0_.descripcion AS descripcion3, o0_.condiciones AS condiciones4, o0_.rutaFoto AS rutaFoto5, o0_.precio AS precio6, o0_.descuento AS descuento7, o0_.fecha_publicacion AS fecha_publicacion8, o0_.fecha_expiracion AS fecha_expiracion9, o0_.compras AS compras10, o0_.umbral AS umbral11, o0_.revisada AS revisada12, c1_.id AS id13, c1_.nombre AS nombre14, c1_.slug AS slug15, t2_.id AS id16, t2_.nombre AS nombre17, t2_.slug AS slug18, t2_.login AS login19, t2_.password AS password20, t2_.salt AS salt21, t2_.descripcion AS descripcion22, t2_.direccion AS direccion23, o0_.ciudad_id AS ciudad_id24, o0_.tienda_id AS tienda_id25, t2_.ciudad_id AS ciudad_id26 FROM Oferta o0_ INNER JOIN Ciudad c1_ ON o0_.ciudad_id = c1_.id INNER JOIN Tienda t2_ ON o0_.tienda_id = t2_.id WHERE o0_.revisada = 1 AND o0_.fecha_publicacion < ? AND c1_.slug = ? ORDER BY o0_.fecha_publicacion DESC LIMIT 1 ["2015-07-26 03:49:03","barcelona"] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Errors LoggerListener::injectLogger". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Errors LoggerListener::injectLogger". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Errors LoggerListener::injectLogger". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugH andlersListener::configure". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Profil erListener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\Sess ionListener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Router Listener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\Locale Listener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKerne lRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Cupon\OfertaBundle\Listener\RequestListener::onKe rnelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\Reques tListener::onKernelRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\Rout erDataCollector::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\Reques tDataCollector::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ ControllerListener::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ ParamConverterListener::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ HttpCacheListener::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ SecurityListener::onKernelController". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ TemplateListener::onKernelController". [] []
[2015-07-26 03:49:03] doctrine.DEBUG: SELECT c0_.id AS id0, c0_.nombre AS nombre1, c0_.slug AS slug2 FROM Ciudad c0_ ORDER BY c0_.nombre ASC [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextL istener::onKernelResponse". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.response" to listener "Cupon\UsuarioBundle\Listener\LoginListener::onKer nelResponse". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\Respon seListener::onKernelResponse". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\EsiLis tener::onKernelResponse". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\Respon seListener::onKernelResponse". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.response" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ HttpCacheListener::onKernelResponse". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\Profil erListener::onKernelResponse". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\Locale Listener::onKernelFinishRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\Router Listener::onKernelFinishRequest". [] []
[2015-07-26 03:49:03] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\Security\Http\Firewall::onKerne lFinishRequest". [] []
¿Alguién podría ayudarme por favor? |