DEDECMS 的一个小bug,导致iis报错 500 internal server error
来源:互联网 发布:mysql left join很慢 编辑:程序博客网 时间:2024/05/23 15:07
网站用dedecms改版,使用手机访问,居然发现动态页无法访问,UC一片空白。
结果跟代码,才明白。原来是使用了{dede:php}标签的时候,结束之前没有加上分号“;”
(1)方法一:每次使用{dede:php}如果结尾是 ),必须加上分号。比如{dede:php}echo json_encode($arr){/dede:php},这个IIS会报500错误。必须写成{dede:php}echo json_encode($arr);{/dede:php}
(2)方法二:修改taglib文件 :/include/taglib/php.lib.php ,把 @eval($phpcode); 改成 “@eval($phpcode.';');”
- DEDECMS 的一个小bug,导致iis报错 500 internal server error
- 关于AFNetworking报错:"Request failed: internal server error (500)"
- SAP HANA Odata报错500 Internal Server Error
- file_get_contents()函数报500 Internal Server Error
- file_get_contents()函数报500 Internal Server Error
- nginx 报500 Internal Server Error
- apache报错Internal Server Error解决
- 访问nagios报错:Internal Server Error
- apache+tomcat 报错 Internal Server Error
- IIS的Server Application Error报错解决方法
- IIS的Server Application Error报错解决方法
- j2ee 应用中 jar 编码导致的错误 HTTP Status 500 - Internal Server Error
- 解决:activiti explorer报错:Internal Server Error (500) - The server encountered an unexpected condition
- 500 Internal Server Error
- 500 internal server error
- 500 Internal Server Error
- ajax返回json格式 报500 Internal Server Error
- Apache隐藏index.php报错Internal Server Error
- makefile分析
- Android中自定义AlertDialog使用
- HTML小技巧将table边框改为细线
- 基于数字证书的UKEY安全登录
- 苹果雪豹版本10.6.3安装xcode 3.23 提示安装失败.XCODE 如何安装
- DEDECMS 的一个小bug,导致iis报错 500 internal server error
- 浮动元素的两端对齐
- 初识"OTP"
- HTML5学习笔记2013.1.8——全局属性
- iOS 3D UI---CALayer的transform扩展
- poj1833
- 黑马程序员---static 静态
- 分类器:Cart,bagging,random forest boosting
- 使用fdisk结合partprobe命令不重启系统添加 一块新的磁盘分区