conposer update后安装,安装完成,一直报错500,v3.0和v2.6都是报500;
服务环境:宝塔(php:7.2 mysql:5.6.27 nginx:1.16,本地虚拟机);
nginx 日志显示:
[error] 56672#0: *243 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught think\exception\ErrorException: Cookie names must not be empty in /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Cookie.php:204
Stack trace:
#0 [internal function]: think\initializer\Error->appError(2, 'Cookie names mu...', '/www/wwwroot/CR...', 204, Array)
#1: 自动安装报错 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Cookie.php(204): setcookie('', 'e5bcafa6a669dae...', 0, '/', '', false, false)
#2:能不能让会员分级,不同等级会员价格不同 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Cookie.php(186): think\Cookie->saveCookie('', 'e5bcafa6a669dae...', 0, '/', '', false, false)
#3:整体建议 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Response.php(158): think\Cookie->save()
#4:打通版编辑后列表不显示 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/initializer/Error.php(58): think\Response->send()
#5:打通版优惠券领取功能 [internal function]: think\initializer\Error->appException(Object(think\exception\ErrorException))
#6:打通版商品管理-产品列表表格问题 {main}
thrown in /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Cookie.php on line 204
PHP message: PHP Fatal error: Uncaught think\exception\ErrorException: Cookie names must not be empty in /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Cookie.php:204
Stack trace:
#0 [internal function]: think\initializer\Error->appError(2, 'Cookie names mu...', '/www/wwwroot/CR...', 204, Array)
#1: 自动安装报错 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Cookie.php(204): setcookie('', 'e5bcafa6a669dae...', 0, '/', '', false, false)
#2:能不能让会员分级,不同等级会员价格不同 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Cookie.php(186): think\Cookie->saveCookie('', 'e5bcafa6a669dae...', 0, '/', '', false, false)
#3:整体建议 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/Response.php(158): think\Cookie->save()
#4:打通版编辑后列表不显示 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/initializer/Error.php(58): think\Response->send()
#5:打通版优惠券领取功能 /www/wwwroot/CRMEB/vendor/topthink/framework/src/think/initializer/Error.php(91): think\initializer\Error->appException(Object(think\exception\ErrorException))
#6:打通版商品管理-产品列表表格问题 [internal
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}