Re: [請益] Smarty HTTP500錯誤
※ 引述《kalecgos0616 (.)》之銘言:
: 我的php程式只要遇到有smarty的程式就會產生HTTP500錯誤
: 純php程式則是正常
: 請問要怎麼解決呢?
這是error log
[Fri Oct 15 20:21:22 2010] [error] [client 125.231.221.15] PHP Warning:
include(/var/www/html/class/Smarty.class.php): failed to open stream:
Permission denied in /var/www/ApparelShop/main.php on line 2, referer:
http://125.231.230.111/ApparelShop/
[Fri Oct 15 20:21:22 2010] [error] [client 125.231.221.15] PHP Warning:
include(): Failed opening '/var/www/html/class/Smarty.class.php' for
inclusion (include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/ApparelShop/main.php on line 2, referer:
http://125.231.230.111/ApparelShop/
[Fri Oct 15 20:21:22 2010] [error] [client 125.231.221.15] PHP Fatal error:
Class 'Smarty' not found in /var/www/ApparelShop/main.php on line 4,
referer: http://125.231.230.111/ApparelShop/
可是我/var/www/html/class/Smarty.class.php這檔案已經設777了
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.231.221.15
→
10/15 20:23, , 1F
10/15 20:23, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
PHP 近期熱門文章
PTT數位生活區 即時熱門文章