代码拉取完成,页面将自动刷新
按照docker compose一键安装后,上架商品后打开客户端会提示is_dir(): open_basedir restric tion in effect. File(/tmp) is n ot within the allowed path s): (/var)
谢谢反馈,我们再测测docker
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
遇到同样的问题,如下:
{
"status": 400,
"msg": "is_dir(): open_basedir restriction in effect. File(\/tmp) is not within the allowed path(s): (\/var)",
"data": {
"message": "is_dir(): open_basedir restriction in effect. File(\/tmp) is not within the allowed path(s): (\/var)",
"file": "\/var\/www\/vendor\/doctrine\/cache\/lib\/Doctrine\/Common\/Cache\/FileCache.php",
"line": 197,
"trace": [
{
"function": "appError",
"class": "think\\initializer\\Error",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/doctrine\/cache\/lib\/Doctrine\/Common\/Cache\/FileCache.php",
"line": 197,
"function": "is_dir"
},
{
"file": "\/var\/www\/vendor\/doctrine\/cache\/lib\/Doctrine\/Common\/Cache\/FileCache.php",
"line": 81,
"function": "createPathIfNeeded",
"class": "Doctrine\\Common\\Cache\\FileCache",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/doctrine\/cache\/lib\/Doctrine\/Common\/Cache\/FilesystemCache.php",
"line": 37,
"function": "__construct",
"class": "Doctrine\\Common\\Cache\\FileCache",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/overtrue\/wechat\/src\/Foundation\/Application.php",
"line": 236,
"function": "__construct",
"class": "Doctrine\\Common\\Cache\\FilesystemCache",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/pimple\/pimple\/src\/Pimple\/Container.php",
"line": 118,
"function": "EasyWeChat\\Foundation\\{closure}",
"class": "EasyWeChat\\Foundation\\Application",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/overtrue\/wechat\/src\/Foundation\/Application.php",
"line": 244,
"function": "offsetGet",
"class": "Pimple\\Container",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/pimple\/pimple\/src\/Pimple\/Container.php",
"line": 118,
"function": "EasyWeChat\\Foundation\\{closure}",
"class": "EasyWeChat\\Foundation\\Application",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/overtrue\/wechat\/src\/Foundation\/ServiceProviders\/JsServiceProvider.php",
"line": 45,
"function": "offsetGet",
"class": "Pimple\\Container",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/pimple\/pimple\/src\/Pimple\/Container.php",
"line": 118,
"function": "EasyWeChat\\Foundation\\ServiceProviders\\{closure}",
"class": "EasyWeChat\\Foundation\\ServiceProviders\\JsServiceProvider",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/overtrue\/wechat\/src\/Foundation\/Application.php",
"line": 199,
"function": "offsetGet",
"class": "Pimple\\Container",
"type": "->"
},
{
"file": "\/var\/www\/crmeb\/services\/app\/WechatService.php",
"line": 613,
"function": "__get",
"class": "EasyWeChat\\Foundation\\Application",
"type": "->"
},
{
"file": "\/var\/www\/crmeb\/services\/app\/WechatService.php",
"line": 624,
"function": "jsService",
"class": "crmeb\\services\\app\\WechatService",
"type": "::"
},
{
"file": "\/var\/www\/app\/services\/wechat\/WechatServices.php",
"line": 100,
"function": "jsSdk",
"class": "crmeb\\services\\app\\WechatService",
"type": "::"
},
{
"file": "\/var\/www\/app\/api\/controller\/v1\/wechat\/WechatController.php",
"line": 75,
"function": "config",
"class": "app\\services\\wechat\\WechatServices",
"type": "->"
},
{
"function": "config",
"class": "app\\api\\controller\\v1\\wechat\\WechatController",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 344,
"function": "invokeArgs",
"class": "ReflectionMethod",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php",
"line": 110,
"function": "invokeReflectMethod",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\route\\dispatch\\{closure}",
"class": "think\\route\\dispatch\\Controller",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php",
"line": 113,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php",
"line": 90,
"function": "exec",
"class": "think\\route\\dispatch\\Controller",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Route.php",
"line": 785,
"function": "run",
"class": "think\\route\\Dispatch",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Route",
"type": "->"
},
{
"file": "\/var\/www\/app\/api\/middleware\/AuthTokenMiddleware.php",
"line": 70,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\api\\middleware\\AuthTokenMiddleware",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/var\/www\/app\/api\/middleware\/StationOpenMiddleware.php",
"line": 30,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\api\\middleware\\StationOpenMiddleware",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/var\/www\/app\/http\/middleware\/AllowOriginMiddleware.php",
"line": 50,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\AllowOriginMiddleware",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Route.php",
"line": 786,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 216,
"function": "dispatch",
"class": "think\\Route",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 206,
"function": "dispatchToRoute",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php",
"line": 71,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\app\\{closure}",
"class": "think\\app\\MultiApp",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php",
"line": 72,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\app\\MultiApp",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/var\/www\/app\/http\/middleware\/BaseMiddleware.php",
"line": 45,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\BaseMiddleware",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/middleware\/LoadLangPack.php",
"line": 57,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\middleware\\LoadLangPack",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/middleware\/SessionInit.php",
"line": 67,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\middleware\\SessionInit",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 207,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/var\/www\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 170,
"function": "runWithRequest",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/var\/www\/public\/index.php",
"line": 39,
"function": "run",
"class": "think\\Http",
"type": "->"
}
],
"previous": null
}
}```
登录 后才可以发表评论