升级2.7.3以后站点地图报错

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



升级2.7.3以后站点地图报错,只要点击后台的站点地图就会出现以下内容:
PHP Deprecated: Assigning the return value of new by reference is deprecated in I:\wwwroot\bsrrbsrr\web\admin\sitemap.php on line 46 PHP Deprecated: Assigning the return value of new by reference is deprecated in I:\wwwroot\bsrrbsrr\web\admin\sitemap.php on line 47 PHP Deprecated: Assigning the return value of new by reference is deprecated in I:\wwwroot\bsrrbsrr\web\admin\sitemap.php on line 68 PHP Deprecated: Assigning the return value of new by reference is deprecated in I:\wwwroot\bsrrbsrr\web\admin\sitemap.php on line 79 PHP Deprecated: Assigning the return value of new by reference is deprecated in I:\wwwroot\bsrrbsrr\web\admin\sitemap.php on line 90 PHP Deprecated: Assigning the return value of new by reference is deprecated in I:\wwwroot\bsrrbsrr\web\admin\sitemap.php on line 102
查了很多相关文件,都说是权限问题,可是我们买的空间商都把权限设置最大了,我们是WIN服务器。愁死了。请大家想想办法吧。我之前的版本是2.7.2。

回答:
根据这篇文章
http://bbs.ecshop.com/viewthread.php?tid=127349&highlight=lib.debug.php%2Bon%2Bline%2B303
我想到了解决办法,将sitemap.php文件中所有的&去掉,保存就OK了。
原因不明。也许和PHP版本有关。



我也这样改好了,3Q