ECSHOP安装完毕后,首页和后台无法显示。错误提示:
在打开首页的时候报:
Fatal error: Only variables can be passed by reference in /wwwroot/includes[/闪电]b_main.php on line 1158
 
在打开后台的时候报:
Fatal error: Only variables can be passed by reference in /wwwroot/includes/cls_template.php on line 392
 
改了以后 出现这样的问题
Warning: array_pop() [function.array-pop]: The argument should be an array in E:\www\web\fdsmc.cn\includes\cls_template.php on line 374Warning: array_pop() [function.array-pop]: The argument should be an array in E:\www\web\fdsmc.cn\includes\cls_template.php on line 374Parse error: parse error, unexpected T_ENDFOREACH in E:\www\web\fdsmc.cn\includes\cls_template.php(1145) : eval()'d code on line 108

解决方案 »

  1.   

    不知道你是使用的哪个版本,不好查找错误。eshop的发布版应该没啥问题,建议你换个版本重新安装试试
      

  2.   

    我用的就是ECSHOP的最新版2.6.1(UTF8,GBK)都试过。不行
      

  3.   

    在PHP.ini把allow_call_time_pass_reference = Off
    改成allow_call_time_pass_reference = On还有一点:以后遇到错误搜一下:包括编译出现的错误(适合所有语言)
    比如你说的问题:
    Only variables can be passed by reference 别把哪行错了也输进去!
      

  4.   

    大胆假设下,你没把提供的SQL完整导入数据库!!
      

  5.   

    /wwwroot/includes[/闪电]b_main.php这个“闪电”是怎么回事?
      

  6.   

    上面那个应该是:/wwwroot/includes/lib_main.php