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
在打开首页的时候报:
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
改成allow_call_time_pass_reference = On还有一点:以后遇到错误搜一下:包括编译出现的错误(适合所有语言)
比如你说的问题:
Only variables can be passed by reference 别把哪行错了也输进去!