.....
大大我有照这个改了~~
首页是正常了.但连结到使用者的网志时出现以下的错误讯息:救命阿大大~~
# #
Exception message: Cannot modify header information - headers already sent by (output started at /var/www/blog/index.php:18)
Error code: 2
.....
你有依那本书改过 index.php ,而且没注意到 utf8 no bom 的问题。
最简单的方法,用原版没修改过的 index.php 覆盖回去就行了。
想瞭解什么是 utf8 no bom ,搜寻一下就行了。
lss
报告大大~~
我有用文书软体删除bom但存好几次结果错误讯息依样出现.首页也不见
1.本来我依照书上加入程式码:http://domain.com.tw/blog 他会转成http://domain.com.tw/blog/summary.php
2.依照大大的建议参考faq将程式码加註解并在.htaccess 里面加
DirectoryIndex summary.php index.html index.php
结果:http://domain.com.tw/blog/ 他会跳到http://domain.com.tw/blog/index.php出现错误吗
# #
Exception message: Cannot modify header information - headers already sent by (output started at /var/www/blog/index.php:1)
Error code: 2
-- Backtrace --
/var/www/blog/class/view/view.class.php(316): header
/var/www/blog/class/view/smartyview.class.php(179): view.render
/var/www/blog/class/view/blogview.class.php(224): smartyview.render
/var/www/blog/class/view/defaultview.class.php(82): blogview.render
/var/www/blog/class/controller/controller.class.php(329): defaultview.render
/var/www/blog/index.php(52): blogcontroller.process
3.另外请教大大到底用几版的LT会架起来比较顺呢?
另外我有依照其他大大建议.我去下载LT1.2.2版来安装但他的页面上有这段文字要在那里改呢?
请将此处修改为你希望你的使用者看到的欢迎讯息,或将这部份删除并重新安排整个页面。这个页面的模版在 templates/summary 里面,你可以自由地依你的喜好修改他。
.欢迎光临东海宽频线上部落格......................我有在/template/summary/index.templat这里加上这段文字.
<div id="maincolumn">
<div id="intro"><p>{$locale->tr("summary_welcome_paragraph")}
.欢迎光临东海宽频线上部落格...................... </p>
</div>
{include file="summary/recent.template"}
</div>
所以那一段文字的后面有加在文章的后面上去.
但本文在那里删除或修改呢?一直找不到这段文字在那一个档案里....