|
原来是用webalizer来分析apache log,看了gugong的网站,发现原来用bbclone似乎很方便,于是就自己装了个,可是,安装完后,不能正常显示状态
http://reneliu.3322.org/log/bbcclone/show_global.php
目前怀疑是在安装过程中,没有按照install.txt上说的去作
7 - Include mark_page.php in the php page of your website where the
counter should be placed.
Example: append to the chosen file the following code :
<?
DEFINE ("_BBCLONE_DIR", "mybbclone/");
DEFINE ("_NEW_COUNTER", _BBCLONE_DIR . "mark_page.php");
if(file_exists(_NEW_COUNTER))
{
include (_NEW_COUNTER);
}
?>
Notice that _BBCLONE_DIR is not only used for the beauty of this include.
This macro is useful for mark_page.php itself.
So, don't forget to define it.
Remark:
In case you have several marked page, you can name each page for the BBClone page statistics.
For that, add the line
define("_BBC_PAGE_NAME","My special page name");
before the mark_page.php including.
8 - The Test:
If all is well installed, the message
<!-- BBClone v x.xx OK -->
will be displayed in the html output source of all the php files where you have included mark_page.php.
If not, this message will be instead
<!-- BBClone v x.xx KO -->
这里不太明白。
我修改了mark_page.php但是依然没有用。
请问,是不是我在设置上出现问题?
希望gugong 可以贴一个安装过程出来。 |
|