歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 27, 2024, 08:44:36 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  使用與操作  |  登入後,瀏覽器顯示「找不到網頁」!? « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 登入後,瀏覽器顯示「找不到網頁」!?  (閱讀 8843 次)
nort
新手見習
*
文章: 13


檢視個人資料
« 於: 一月 24, 2007, 07:40:09 上午 »

這兩天才發生這樣的情形好幾次了:

當使用者利用IE登入後,網址列上顯示的是..../admin.php
卻出現「找不到網頁」的內容(FireFox則是空白)

將伺服器中./tmp目錄檔案清光後,就恢復正常情形

請問,可能是哪個地方的問題呢?謝謝!

個人使用的環境:Centos4.4  mySQL4.12 Apache2.0.52 Lifetype 1.14
已記錄
lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #1 於: 一月 24, 2007, 08:26:57 上午 »

建議:

1.看看 apache 的 log 。
2.檢查硬碟的剩餘空間。

lss
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
nort
新手見習
*
文章: 13


檢視個人資料
« 回覆文章 #2 於: 一月 24, 2007, 10:13:08 上午 »

謝謝您的幫忙!

會造成這種原因,好像是我所選用的bad-behavior的問題

之前使用的版本是參考Mark的「Bad Behavior 2 與 LifeType」這篇文章來做的
那時的Bad Behavior 2版本是2.0beta1

前幾天把新版的Bad Behavior 2.09的程式置換至Lifetype的資料夾下
結果在剛剛檢查log時,發現了一大堆類似下面的字串


[client xx.xx.xx.xx] PHP Notice:  Undefined offset:  1 in /var/www/html/lifetype/bad-behavior/functions.inc.php on line 47
[client xx.xx.xx.xx] PHP Notice:  Undefined index:  strict in /var/www/html/lifetype/bad-behavior/common_tests.inc.php on line 15
[client xx.xx.xx.xx] PHP Notice:  Undefined index:  strict in /var/www/html/lifetype/bad-behavior/common_tests.inc.php on line 73
[client xx.xx.xx.xx] PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 46 bytes) in /var/www/html/lifetype/class/database/dbobject.class.php on line 82
Allowed memory size of 16777216 bytes exhausted (tried to allocate 140 bytes)

恢復成2.0beta1就沒有出現了
已記錄
頁: [1]
LifeType 中文開發論壇  |  支援  |  使用與操作  |  登入後,瀏覽器顯示「找不到網頁」!? « 上篇主題 下篇主題 »
    前往: