我的站首页出现乱码了-求高手解决-超级感谢)现金任务(

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



没有高手啊,现金任何



访问时首页顶部出现这个
刷新一下就好了
Warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in D:\server\yawei819\wwwroot\includes\lib_goods.php on line 247 Warning: Invalid argument supplied for foreach() in D:\server\yawei819\wwwroot\includes\lib_goods.php on line 254 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in D:\server\yawei819\wwwroot\includes\lib_goods.php on line 275 Warning: array_unique() [function.array-unique]: The argument should be an array in D:\server\yawei819\wwwroot\includes\lib_goods.php on line 276 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in D:\server\yawei819\wwwroot\includes\lib_goods.php on line 275 Warning: array_unique() [function.array-unique]: The argument should be an array in D:\server\yawei819\wwwroot\includes\lib_goods.php on line 276 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in D:\server\yawei819\wwwroot\includes\lib_goods.php on line 275 Warning: array_unique() [function.array-unique]: The argument should be an array in D:\server\yawei819\wwwroot\includes\lib_goods.php on line 276
重新覆盖了includes\lib_goods.php还是不行
用的360的《防京东》模版
谁解决了。谢谢了,

回答:


谢谢拉

lib_goods.php有问题,如有需要,请加QQ:409824702,我帮你看下

看这个错误提示,应楼主是否在后台把推荐商品的显示方式,改为了随机显示。
这个问题解决方法,在设置模板中将推荐商品的显示个数设置为大于2的值。

还是没有解决

解决了,谢谢各位拉

如何解决的

原因是:我把首页最新商品显示个数调成0了,结果精品推荐,和特价也不显示了。还出现了上面的情况。谢谢四楼的大哥