事情起因
昨天还是可以访问的,今天图片访问首页发现商品都没了,其中没有操作做数据库
错误查找
打开mongo,里面只有哦error_handler_log这表了,然后几十条报错都报一种错误,如下:
{
"_id" : ObjectId("5b13b179d88e3300e949e171"),
"category" : "appfront",
"code" : 500,
"message" : "this domain is not config in store component",
"file" : "/www/web/fecshop/vendor/fancyecommerce/fecshop/services/Store.php",
"line" : 159,
"created_at" : 1528017273,
"ip" : "203.208.60.162",
"name" : "Invalid Return Value",
"url" : "//appfront.copy163.com/fr/watch-87975972",
"request_info" : {
"ajax" : 0,
"request_type" : "get",
"request_data" : [],
"headers_data" : {
"accept-encoding" : [
"gzip,deflate,br"
],
"user-agent" : [
"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
],
"from" : [
"googlebot(at)googlebot.com"
],
"accept" : [
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
],
"connection" : [
"keep-alive"
],
"host" : [
"appfront.copy163.com"
]
},
"userHost" : null,
"userIP" : "203.208.60.162"
},
"trace_string" : "#0 [internal function]: fecshop\\services\\Store->actionBootstrap(Object(yii\\web\\Application))\n#1 /www/web/fecshop/vendor/fancyecommerce/fecshop/services/Service.php(49): call_user_func_array(Array, Array)\n#2 /www/web/fecshop/vendor/fancyecommerce/fecshop/components/Store.php(23): fecshop\\services\\Service->__call('bootstrap', Array)\n#3 /www/web/fecshop/vendor/yiisoft/yii2/base/Application.php(327): fecshop\\components\\Store->bootstrap(Object(yii\\web\\Application))\n#4 /www/web/fecshop/vendor/yiisoft/yii2/web/Application.php(69): yii\\base\\Application->bootstrap()\n#5 /www/web/fecshop/vendor/yiisoft/yii2/base/Application.php(273): yii\\web\\Application->bootstrap()\n#6 /www/web/fecshop/vendor/yiisoft/yii2/base/BaseObject.php(109): yii\\base\\Application->init()\n#7 /www/web/fecshop/vendor/yiisoft/yii2/base/Application.php(206): yii\\base\\BaseObject->__construct(Array)\n#8 /www/web/fecshop/appfront/web/fr/index.php(89): yii\\base\\Application->__construct(Array)\n#9 {main}"
}
报错跟google抓取有关
其它可能
我确定了并没有人操作过数据库,mysql里面的数据都是还在的,就mongo的不见了,商城就是打开开发者模式的,
请求有人知道是什么情况吗,欲哭无泪啊。。。跪求