我将我的Symfony环境从3.3更新到4.0.更新后我遇到登录问题(用户提供的数据库).当我提交登录表单时,我只是回到登录表单而没有任何错误消息.当我使用无效凭据时,我收到了相应的错误消息.这是尝试登录后的日志.使用"in_memory"用户提供程序登录正在运行.你需要更多的信息?
[2017-12-06 13:57:05] security.INFO: User has been authenticated successfully. {"username":"***"} []
[2017-12-06 14:22:39] doctrine.DEBUG: "START TRANSACTION" [] []
[2017-12-06 13:57:05] security.DEBUG: Read existing security token from the session. {"key":"_security_secured_area","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
[2017-12-06 13:57:05] doctrine.DEBUG: SELECT t0.username AS username_1, t0.password AS password_2, t0.email AS email_3, t0.email_new AS email_new_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.is_active AS is_active_7, t0.email_confirmed AS email_confirmed_8, t0.shibboleth_state AS shibboleth_state_9, t0.shibboleth_hash AS shibboleth_hash_10, t0.shibboleth_persistent_id AS shibboleth_persistent_id_11, t0.confirmation_email_send AS confirmation_email_send_12, t0.last_login AS last_login_13, t0.expires AS expires_14, t0.session_id AS session_id_15, t0.id …Run Code Online (Sandbox Code Playgroud) 我正在使用Symfony 3.2.3并从PHP内置Web服务器切换到Apache(http://symfony.com/doc/current/setup/web_server_configuration.html,Apache 2.4.18).它适用于根Symfony页面(http://example.com/,没有Symfony路由),但是当我创建一个带路由的控制器时(例如@Route("/ development",name ="development")) ,我得到了Apache 500内部服务器错误.当使用PHP内置Web服务器请求此方(/开发)时,它可以正常工作.在Apache日志中,我没有收到任何错误消息.PHP"display_error"打开,"error_reporting"是"E_ALL",php"error_log"文件中没有消息.
知道可能是什么问题吗?