日期:2014-05-16  浏览次数:20589 次

smarty http 500错误 为什么
本地好好的,传到服务器上就报这个错误,smarty模版刷不出来。。我要如何调试呢
错误信息如下:

Request URL:http://106.187.43.40/lovewords/test.php
Request Method:GET
Status Code:500 Internal Server Error
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:zh-CN,zh;q=0.8
Cache-Control:no-cache
Connection:keep-alive
Cookie:PHPSESSID=hjn3srvfefcrakoa9kemn2b1e0
Host:106.187.43.40
Pragma:no-cache
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

Response Headersview source
Connection:close
Content-Encoding:gzip
Content-Length:20
Content-Type:text/html
Date:Tue, 08 Apr 2014 14:26:33 GMT
Server:Apache/2.2.22 (Ubuntu)
Vary:Accept-Encoding
X-Powered-By:PHP/5.3.10-1ubuntu3.11
------解决方案--------------------
看看缓存目录是否有写入权限