做ecshop中又遇到个问题,只是因为写代码太不小心导致一个非常难找的问题。

错误提示如下:

Parse error: syntax error, unexpected T_ENDFOREACH in D:\PHPnow\vhosts\127.0.0.3\ecyl\includes\cls_template.php(1161) : eval()'d code on line 103

后来才发现是因为.dwt文件中

 <!--{foreach from=$filter_attr_list item=filter_attr}-->

。。。

  <!--{/foreach}-->

没有匹配正确!!

写代码一定要小心呀!!!!

相关文章:

  • 2021-12-08
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-08-01
  • 2021-10-10
  • 2021-10-27
猜你喜欢
  • 2022-01-12
  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2021-09-24
  • 2021-12-06
相关资源
相似解决方案