LifeType 中文開發論壇

支援 => 使用與操作 => 主題作者是: chouwhay 於 七月 21, 2006, 09:55:09 下午



主題: 錯誤訊息....
作者: chouwhay七月 21, 2006, 09:55:09 下午
請問一下大家
為何登入管理面板後
會在發表新文章下
出現
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 720 bytes) in /home/我的帳號/public_html/lifetype/class/template/smarty/Smarty_Compiler.class.php on line 399
的錯誤訊息?

可是按別的功能後 再按"發表新文章"後 一切又恢復正常了 (可以發表文章)

謝謝!


主題: Re: 錯誤訊息....
作者: chouwhay七月 21, 2006, 11:06:02 下午
我找到解決方法了
只要在 .htaccess
加上php_value memory_limit 16M即可.....


主題: Re: 錯誤訊息....
作者: bibicall七月 22, 2006, 03:07:09 上午
還好你找到解決方法了
因為這也是FAQ (http://wiki.lifetype.org.tw/index.php?title=Installing_LifeType_FAQ#.E7.95.B6.E6.88.91.E4.BD.BF.E7.94.A8.2F.E5.AE.89.E8.A3.9D.E7.9A.84.E6.99.82.E5.80.99.EF.BC.8C.E7.82.BA.E4.BB.80.E9.BA.BC.E4.B8.80.E7.9B.B4.E5.87.BA.E7.8F.BE_.E7.A9.BA.E7.99.BD.E9.A0.81.E9.9D.A2_.E6.88.96_Allowed_memory_size_of_8388608_bytes_exhausted_.E7.9A.84.E8.A8.8A.E6.81.AF.E5.91.A2.EF.BC.9F),算是月經題吧(原諒我用這麼詭異的形容詞 :-P)
遇到問題時先看看FAQ,說不定你連PO文章發問的時間都省下了呢!