共计 2018 个字符,预计需要花费 6 分钟才能阅读完成。
Chevereto 升级到 v4 后用户无法登录,大家有遇到这个问题的吗?aRNoLD 2022-12-03 00:49 2 也不给个具体的症状,神医蔡也无法整治。如果是密码错误,就找回密码即可。tomcb 2022-12-03 00:59 3 密码错误吗?app/env.php 是不是写了这个 CHEVERETO_ENCRYPTION_KEY,有的话注释掉这行试试。yhsiao 2022-12-03 01:04 4tomcb 发表于 2022-12-3 00:59 密码错误吗?app/env.php 是不是写了这个 CHEVERETO_ENCRYPTION_KEY,有的话注释掉这行试试。… 不是密码错误,登录后重新引导到主页,仍然是未登录状态。env.php 只添加了数据库信息:<?phpreturn [\’CHEVERETO_DB_NAME\’ => \’chevereto\’,\’CHEVERETO_DB_PASS\’ => \’user_database_password\’,\’CHEVERETO_DB_PORT\’ => \’3306\’,\’CHEVERETO_DB_TABLE_PREFIX\’ => \’chv_\’,\’CHEVERETO_DB_USER\’ => \’user_database\’,]; toot 2022-12-03 01:06 5 伪静态换了没 yhsiao 2022-12-03 01:08 6toot 发表于 2022-12-3 01:06 伪静态换了没没换,伪静态换成啥了?tomcb 2022-12-03 01:09 7yhsiao 发表于 2022-12-3 01:04 不是密码错误,登录后重新引导到主页,仍然是未登录状态。env.php 只添加了数据库信息:… 伪静态设置呢?yhsiao 2022-12-03 01:11 8tomcb 发表于 2022-12-3 01:09 伪静态设置呢?伪静态还是用了 v3 的: #imagehub: Disable access to sensitive files location ~* /(app|content|lib)/.*\\.(po|php|lock|sql)$ { deny all; } #imagehub: CORS headers location ~* /.*\\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js) { add_header Access-Control-Allow-Origin "*"; } #imagehub: Upload path for image content only and set 404 replacement location ^~ /images/ { location ~* (jpe?g|png|gif|webp) { log_not_found off; error_page 404 /content/images/system/default/404.jpg; } return 403; } #imagehub: Pretty URLs location / { index index.php; try_files $uri $uri/ /index.php?$query_string; } toot 2022-12-03 01:12 9yhsiao 发表于 2022-12-3 01:11 伪静态还是用了 v3 的: #imagehub: Disable access to sensitive files location ~* /(app|conten … 那你搞毛线…………… tomcb 2022-12-03 01:14 10yhsiao 发表于 2022-12-3 01:11 伪静态还是用了 v3 的: #imagehub: Disable access to sensitive files location ~* /(app|conten …https://v4-docs.chevereto.com/application/stack/web-server.html#nginx 换这试试 yhsiao 2022-12-03 01:15 11tomcb 发表于 2022-12-3 01:14https://v4-docs.chevereto.com/application/stack/web-server.html#nginx 换这试试好的,我试试。tomcb 2022-12-03 01:16 12yhsiao 发表于 2022-12-3 01:15 好的,我试试。不能照抄,路径那些得改改 yhsiao 2022-12-03 01:27 13tomcb 发表于 2022-12-3 01:16 不能照抄,路径那些得改改换了伪静态,登录后还是导向到首页,显示未登录状态。yhsiao 2022-12-03 01:47 14tomcb 发表于 2022-12-3 01:16 不能照抄,路径那些得改改用户重置密码后可以登录。怎么批量解决这个问题