亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

老師您好,是這樣我編寫好test.tpl文件后直接在瀏覽器中輸入index.php?controller=test&method=show結果卻是Uncaught --> Smarty: unable to write file template_c,而等我到系統里的index.php中運行一次C('test','show')結果正常,再改回原來的C($controller,$method)后在瀏覽器中再次輸入index.php?controller=test&method=show,結果也正常,這是為什

老師您好,是這樣我編寫好test.tpl文件后直接在瀏覽器中輸入index.php?controller=test&method=show結果卻是Uncaught --> Smarty: unable to write file template_c,而等我到系統里的index.php中運行一次C('test','show')結果正常,再改回原來的C($controller,$method)后在瀏覽器中再次輸入index.php?controller=test&method=show,結果也正常,這是為什么?

正在回答

2 回答

template_c? 要給讀寫權限

0 回復 有任何疑惑可以回復我~
#1

大雄誰誰誰 提問者

非常感謝!
2014-12-16 回復 有任何疑惑可以回復我~

我用的是centos系統

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

老師您好,是這樣我編寫好test.tpl文件后直接在瀏覽器中輸入index.php?controller=test&method=show結果卻是Uncaught --> Smarty: unable to write file template_c,而等我到系統里的index.php中運行一次C('test','show')結果正常,再改回原來的C($controller,$method)后在瀏覽器中再次輸入index.php?controller=test&method=show,結果也正常,這是為什

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號