我目前使用的是Mautic 3.0.0,PHP7.3和MySQL 10.4.13。
我的问题是,当我转到Mautic登录页面,输入我的用户名和密码,然后点击“登录”,网页只会刷新,没有重定向到仪表板。我确信我的身份验证凭据是正确的。
我还应该提到,我最近将我的网站从cPanel迁移到DirectAdmin共享服务器,但即使在迁移之后,我仍然能够成功登录。
日志文件中显示以下错误:
mautic.WARNING: PHP Warning - SessionHandler::read(): open(/var/cpanel/php/sessions/ea-php56/sess_…, O_RDWR) failed: No such file or directory (2) - in file ~/mautic/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 48 {“sessionId”:"…"} []
mautic.WARNING: PHP Warning - SessionHandler::write(): open(/var/cpanel/php/sessions/ea-php56/sess_…, O_RDWR) failed: No such file or directory (2) - in file ~/mautic/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php - at line 64 [] []
mautic.WARNING: PHP Warning - session_write_close(): Failed to write session data with “Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler” handler - in file ~/mautic/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php - at line 268 [] []我尝试登录不同的浏览器(Firefox,Chrome,MS Edge和IE),并清除了缓存和网站数据,但没有解决这个问题。
我该怎么做才能解决这个问题呢?
发布于 2021-01-09 03:54:19
看起来你正在运行PHP5.6。不是PHP7.3。"ea-php56“
/var/cpanel/php/sessions/ea-php56/sess_…, O_RDWR确保您的主机配置设置为使用PHP7.3,并确保PHP7.3可以写入正确的会话路径。PHP5.6可能在与PHP7.3不同的组中,看起来它正在尝试写入5.6路径。
https://stackoverflow.com/questions/65634809
复制相似问题