请教一个关于恢复数据库的问题

2016-07-07 15:14 来源:www.chinab4c.com 作者:ecshop专家



我公司有一台正式的服务器,已经安装并正常运行ECSHOP。现在我要做一次数据恢复测试,找了一部PC,搭建好linux环境,还原Mysql数据库.sql及所有的网页文件(直接拷贝覆盖)。登陆后台,网站设置这里点开以后,不显示内容,其他部分目前看来没有问题,请高手帮忙分析一下是什么原因。

网站设置打开,看不到东西:
1.jpg

点击 确定 后出现以下提示:
Warning: Invalid argument supplied for foreach() in /var/www/html/admin888/shop_config.php on line 129
2.jpg

然后自动跳转到以下提示:
Notice: Undefined index: watermark_alpha in /var/www/html/includes/lib_common.php on line 585

Notice: Undefined index: market_price_rate in /var/www/html/includes/lib_common.php on line 586

Notice: Undefined index: integral_scale in /var/www/html/includes/lib_common.php on line 587

Notice: Undefined index: cache_time in /var/www/html/includes/lib_common.php on line 589

Notice: Undefined index: thumb_width in /var/www/html/includes/lib_common.php on line 590

Notice: Undefined index: thumb_height in /var/www/html/includes/lib_common.php on line 591

Notice: Undefined index: image_width in /var/www/html/includes/lib_common.php on line 592

Notice: Undefined index: image_height in /var/www/html/includes/lib_common.php on line 593

Notice: Undefined index: top_number in /var/www/html/includes/lib_common.php on line 598

Notice: Undefined index: history_number in /var/www/html/includes/lib_common.php on line 599

Notice: Undefined index: comments_number in /var/www/html/includes/lib_common.php on line 600

Notice: Undefined index: article_number in /var/www/html/includes/lib_common.php on line 601

Notice: Undefined index: page_size in /var/www/html/includes/lib_common.php on line 602

Notice: Undefined index: bought_goods in /var/www/html/includes/lib_common.php on line 603

Notice: Undefined index: goods_name_length in /var/www/html/includes/lib_common.php on line 604

Notice: Undefined index: top10_time in /var/www/html/includes/lib_common.php on line 605

Notice: Undefined index: goods_gallery_number in /var/www/html/includes/lib_common.php on line 606

3.jpg

这是正常情况下网站的显示:
4.jpg

请高手指点一下,是我服务器配置的问题,还是数据库的问题?

回答:
阿拉记得帝国数据备份还是挺好使的,要不楼主试试?

你是不是少传了文件?还是文件权限不对?