我在我的 blog 貼了一篇一模一樣的文章來測試
http://blog.bcse.info/post/1/282但是沒有問題,所以應該不是內文的問題...
錯誤訊息是長這樣,意思是說記憶體不夠導致當機?
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 5477 bytes) in /var/www/html/plog.old/class/template/smarty/Smarty_Compiler.class.php on line 340
Smarty_Compiler.class.php 第 340 行寫的則是
$compiled_content = preg_replace('!\?>\n?<\?php!', '', $compiled_content);
google 了一下,發現這一頁:
Smarty Forum :: Compiler Error ,意思應該是說調高 php 可用記憶體即可,不知道有沒有其他解決辦法啦... 不過我的 WordpLog 真的有這麼消耗記憶體嗎? XD