How does php support & lt; % eachlistasvo % & gt? I locally use phpstudy to build an environment. programs downloaded from the Internet can run locally. In fact, a content list is read in this way.
<%each list as vo%>
">" /><%vo.goods_name%>
<%vo.goods_brief%>
¥<%vo.shop_price%>
<%/each%>
The local code can be correctly recycled, but if it is placed on the server, the error 500 will be reported! What is this?
This statement looks like angulajs. Why does the server support this?
Reply to discussion (solution)
Enable the asp syntax component of php
How to enable it ??
Enable the asp syntax component of php
How to enable it ??
This is the template engine method. When an error is displayed on the server, you can see where the error is returned.
This is the template engine method. When an error is displayed on the server, you can see where the error is returned.
The error message is the line starting with <% each list as vo %>. I don't know if this is angulajs or something. I am using the mobile phone version of ecshop, I am doing a good job of local previewing, but it won't work if I put it on the server. I don't know where it is missing.
This is the template engine method. When an error is displayed on the server, you can see where the error is returned.
This artTemplate engine is used ....
ArtTemplate is a js template engine.
You need to check whether it is loaded on the page
ArtTemplate is a js template engine.
You need to check whether it is loaded on the page
The local file is loaded. the 500 error occurs when the file is uploaded to the server. if you do not know where to configure the file, the engine syntax cannot be parsed.
Enable the php error display function to see what php reports
Error 500 is unfriendly!
Enable the php error display function to see what php reports
Error 500 is unfriendly!
The first error is: PHP Parse error: syntax error, unexpected T_LIST in C: \ virtualhost \ www \ mobile \ include \ libraries \ EcsTemplate. class. php (1005): eval () 'd code on line 4
The second error is: PHP Parse error: syntax error, unexpected T_LIST in C: \ virtualhost \ www \ mobile \ data \ caches \ compiled \ vip_list.lbi.php on line 4
Check the lines indicated by the error message.
Check the lines indicated by the error message.