23/03/2006 00:35
其實這個問題已經困擾了我好幾個月了,不過2.0暫時取消了1.7的訪問歷史統計,所以到最近才發現到。

某次當我用後台的sql來查看每天的造訪人數
(方法是在資料維護->MySQL裡,輸入select * from [db]history),
發現了以下的情況(節錄)︰

20060307 1587
19700101 551
19700101 143
20060308 736
19700101 154
19700101 190
19700101 93
20060309 904
19700101 403
20060310 946
20060311 1404
20060312 1458


左手邊是日期,而右手邊是每天的造訪人數。奇就奇在中間多了一些19700101的日期。原本bo-blog在每天的0:00時,把"今日造訪"的數字歸零,重新計數,但現在就在一天裡的某個時候自動歸零,而且情況很隨機,有時幾天才發生一次,但有時又一天發生十多次,把統計都打亂了。

開始時還擔心是server有事,不過後來發覺其他人也有類似問題(只是我的比較嚴重),應該不關server的事。現在惟有靜待bob大的修正了。


多得本SERVER的守護神——KERO大神的幫助,終於把這個BUG修復了。
方法很簡單,只要在root的global.php裡,找到function writetofile(應該是在第246行),然後把整個function刪掉,在原本的地方補上以下這段就成了。

function writetofile ($filename, $data) { //File Writing
  [email protected]($filename.'lock',"w");
  flock($filenum2,LOCK_EX);
  [email protected]($filename.'tmp',"w");
  if (!$filenum) {
    return false;
  }
  $file_data=fwrite($filenum,$data);
  fclose($filenum);
  rename($filename.'tmp',$filename);
  fclose($filenum2);
  return true;
}

不過修改global.php有點風險,最好就是先備份一下原本的文件才作改動啦。
check this link Email Homepage
10/10/2012 08:57
If you try to find place where you can get resume company marvelousresume.com here is very fantastic place for you about this good post, which care examples and gives an opportunity to learn how make great CV resumes . But this site is more elegant, and more considerate.
Web site Email Homepage
10/10/2012 08:54
Essay writing services reviews may easily assist clients to find out the required service, just visit Best-Writing-Services company best-writing-services.com.
freelance writer wanted Email Homepage
08/10/2012 09:11
Every girl in the society would like to stay original, but does not get know the way to do that. But thousands of guys serch for the jobs writing (4writers.net), so I hope this link will be helpful.
Internet site Email Homepage
08/10/2012 05:28
Students who at least once have worked on their bios, are aware that it’s more advantageous to deal with professional resume writers (perfect-resume.com) than to spend lots of time on attempting to figure out how to deal with this task and still produce inferior quality paper.
up here Email Homepage
08/10/2012 03:34
A great number of sophomores are interested which service to choose for buying resume, but they only need to get in touch with PERFECT RESUME company "perfect-resume.com" and obtain reliable resume services. And also in case that sophomores have no clue where to read samples of resume writing or they need to order resume created by clever resume writers they are able to opt for this trustworthy writing agency.
dissertation writing Email Homepage
07/10/2012 23:31
Any course you determine concerning, there is ever someone to tell you that you are failer. There are every time difficulties come up which bait you to believe that your critics are veracious. But our service will support you at any time to write your topic. I suggest you dissertation help that will assist you in your students life. We will assist you to arise and become a successful classman!
essay written in third person Email Homepage
07/10/2012 17:10
Nobody in the whole world is able to support you with academic assignments completing better than professional writing service will do. Thus, it will be ok if you get custom papers for sale "essayslab.com" at the professional company.
SwansonAnnabelle31 Email Homepage
07/10/2012 14:51
I really know that you did an enigmatic task, accomplishing your great outcome referring to this good post. Therefore, such kind of work students perform writing the <a href="http://exclusivethesis.com/contacts.html">thesis writing</a> or thesis summary exploring.
order essay online Email Homepage
07/10/2012 14:39
Get essay paper as long as the expert staff of this bureau is famous for proposing quality write-ups to the grades worldwide. Visit this website and you will be surprised by the quality of help with writing papers online.
How to order an essay Email Homepage
04/10/2012 17:57
Check this link "bestcustompapers.com"  and permit expert writers to suggest you superb custom essay writing service. Order custom essays cheap from the organization that runs 24 hours a day 7 days a week.
pay for writing essay Email Homepage
04/10/2012 16:58
I buy essay writing example on the daily basis cause I don’t wish to spend my free time on generating of the university papers.
buy a essay paper Email Homepage
04/10/2012 15:36
One of my best friends recommended me the agency that had fine rep and would be the most excellent location for me to buy customized term papers.
Pre Written Essay Papers Email Homepage
04/10/2012 15:32
At any time you are not able to get the idea how to write your academic papers, check this site. Everyone who wants to buy papers online from this centre will be treated fairly and get quality help with writing papers online .
history essay paper Email Homepage
04/10/2012 02:04
The free essays completing services became popular just because university students became more engaged in jobs. Thus, they did not doubt to buy africa essay millionessays.com in the intermet.
creative writing essay paper Email Homepage
04/10/2012 01:07
Usually try to be the best? Are you ready to complete miscellaneous essays "millionessays.com"? That is more complex than homework help accomplishing. Thence, get ready to the worst.
分頁: 5/14 第一頁 上頁 1 2 3 4 5 6 7 8 9 10 下頁 最後頁
發表評論
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
開啟HTML
開啟UBB
開啟表情
隱藏
記住我
暱稱   密碼   訪客無需密碼
網址   電郵   [註冊]