[Mon Feb 14 23:28:33 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.2
[Mon Feb 14 23:28:33 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.2-pl1
[Mon Feb 14 23:28:33 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.3
[Mon Feb 14 23:28:34 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.3-rc1
[Mon Feb 14 23:28:34 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.3
[Mon Feb 14 23:28:35 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.3-pl1
[Mon Feb 14 23:28:35 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-rc1
[Mon Feb 14 23:28:36 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-pl1
[Mon Feb 14 23:28:36 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-pl2
[Mon Feb 14 23:28:36 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-pl3
[Mon Feb 14 23:28:37 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-pl4
[Mon Feb 14 23:28:37 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4
[Mon Feb 14 23:28:38 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0-beta1
[Mon Feb 14 23:28:38 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0-rc1
[Mon Feb 14 23:28:38 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0-pl1
[Mon Feb 14 23:28:39 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0-pl2
[Mon Feb 14 23:28:39 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0
[Mon Feb 14 23:28:40 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0-beta1
[Mon Feb 14 23:28:40 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0-rc1
[Mon Feb 14 23:28:40 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0-rc2
[Mon Feb 14 23:28:41 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0
[Mon Feb 14 23:28:41 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0.1
[Mon Feb 14 23:28:42 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0.2
[Mon Feb 14 23:28:42 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0.3
[Mon Feb 14 23:28:42 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0.4
[Mon Feb 14 23:28:43 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.1-rc1
[Mon Feb 14 23:28:43 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.1
[Mon Feb 14 23:28:44 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.2
[Mon Feb 14 23:28:44 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/sqlmanager
[Mon Feb 14 23:28:44 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/mysqlmanager
[Mon Feb 14 23:28:45 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/p
[Mon Feb 14 23:28:45 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/PMA2005
[Mon Feb 14 23:28:46 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/pma2005
[Mon Feb 14 23:28:46 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpmanager
[Mon Feb 14 23:28:46 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/php-myadmin
[Mon Feb 14 23:28:47 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpmy-admin
[Mon Feb 14 23:28:47 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/webadmin
[Mon Feb 14 23:28:48 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/sqlweb
[Mon Feb 14 23:28:48 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/websql
[Mon Feb 14 23:28:48 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/webdb
[Mon Feb 14 23:28:49 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/mysqladmin
[Mon Feb 14 23:28:49 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/mysql-admin
warning: include(./themes/garland/maintenance-page.tpl.php) [function.include]: failed to open stream: No such file or directory in D:\TWAMP\htdocs\nctu3dic\includes\theme.inc on line 1066.
warning: include() [function.include]: Failed opening './themes/garland/maintenance-page.tpl.php' for inclusion (include_path='.;../ap/PEAR/pear;../../ap/PEAR/pear;../../../ap/PEAR/pear;../../../../ap/PEAR/pear;../../../../../ap/PEAR/pear') in D:\TWAMP\htdocs\nctu3dic\includes\theme.inc on line 1066
Re: update php和 database update
你問到一個很重要的問題:關於如何進行模組升級,包括 drupal 核心以及 3rd party 模組的升級。
一般來說,如果要升級某個模組,通常是把新版本下載下來,放在 /site/all/module 下面,覆蓋舊的版本。除非模組另有說明,否則就是這麼做。
再來,來到一個重要的步驟,可是很多人卻忽略沒做,甚至因此以為新的版本不穩定或有問題。那就是進行 update.php 的執行。如果網站是 example.com, 那麼在網址列打上 example.com/update.php,就會開始進入 update 模組的動作。
它的原理是,依照 drupal 模組開發的準則,模組新版本有時要提供進行升級時的一個函數,裡頭主要包括有設定的改變、資料庫結構的改變等等。所以在你執行 update.php 時,可以看到某些模組底下有升級函數的代碼。這些可以不必選擇,預設會升到最後的版本,因此在 update.php 中只要按下 update 即可。(之所以提供升級函數代碼的選擇,在開發的特殊情況下,會特別指定某個版本代碼,來進行除錯。一般的 user 的話,毋需選擇,直接升級)
如果你看到的是真正的空白網頁畫面,那麼該說你的系統有問題了,可以去看看 php error log 找找哪裡出問題。這是另外一佪話題。
如果你看到很多資訊,卻不曉得要幹什麼,按 update 就好了。或者在按 update 之前,可以看看有哪些模組提供了哪些升級代碼。我看了幾次之後,覺得很無趣。
Re: update php和 database update
artt大大 謝謝你~ 我照您說的 網址/update.php 打了 ~ 他果然還是出現空白頁~ 那請問php error log 要去哪裡看呢? 麻煩大大指導一下了~
我是新手 不好意思 真是麻煩您了^^
Re: update php和 database update
這個就要看你安裝哪一種 xAMP 了。如果是 TWAMP 的話,那麼它應該是 c:\twamp\ap\logs 下面的 error.log
Re: update php和 database update
那再請問大大 裡面有一大堆
[Mon Feb 14 23:28:33 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.2
[Mon Feb 14 23:28:33 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.2-pl1
[Mon Feb 14 23:28:33 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.3
[Mon Feb 14 23:28:34 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.3-rc1
[Mon Feb 14 23:28:34 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.3
[Mon Feb 14 23:28:35 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.3-pl1
[Mon Feb 14 23:28:35 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-rc1
[Mon Feb 14 23:28:36 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-pl1
[Mon Feb 14 23:28:36 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-pl2
[Mon Feb 14 23:28:36 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-pl3
[Mon Feb 14 23:28:37 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4-pl4
[Mon Feb 14 23:28:37 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.6.4
[Mon Feb 14 23:28:38 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0-beta1
[Mon Feb 14 23:28:38 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0-rc1
[Mon Feb 14 23:28:38 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0-pl1
[Mon Feb 14 23:28:39 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0-pl2
[Mon Feb 14 23:28:39 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.7.0
[Mon Feb 14 23:28:40 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0-beta1
[Mon Feb 14 23:28:40 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0-rc1
[Mon Feb 14 23:28:40 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0-rc2
[Mon Feb 14 23:28:41 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0
[Mon Feb 14 23:28:41 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0.1
[Mon Feb 14 23:28:42 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0.2
[Mon Feb 14 23:28:42 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0.3
[Mon Feb 14 23:28:42 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.0.4
[Mon Feb 14 23:28:43 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.1-rc1
[Mon Feb 14 23:28:43 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.1
[Mon Feb 14 23:28:44 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpMyAdmin-2.8.2
[Mon Feb 14 23:28:44 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/sqlmanager
[Mon Feb 14 23:28:44 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/mysqlmanager
[Mon Feb 14 23:28:45 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/p
[Mon Feb 14 23:28:45 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/PMA2005
[Mon Feb 14 23:28:46 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/pma2005
[Mon Feb 14 23:28:46 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpmanager
[Mon Feb 14 23:28:46 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/php-myadmin
[Mon Feb 14 23:28:47 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/phpmy-admin
[Mon Feb 14 23:28:47 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/webadmin
[Mon Feb 14 23:28:48 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/sqlweb
[Mon Feb 14 23:28:48 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/websql
[Mon Feb 14 23:28:48 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/webdb
[Mon Feb 14 23:28:49 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/mysqladmin
[Mon Feb 14 23:28:49 2011] [error] [client 219.253.49.7] File does not exist: D:/TWAMP/htdocs/mysql-admin
像這些碼~ 是什麼意思呢? 那我該怎麼處理 ~ 真是謝謝您的指導了 ^^ 非常感激!!
Re: update php和 database update
這個 log 怎麼看都像是被人用程式掃過 XD
一個從 219.253.49.7 來的人,拿程式去掃你的 phpMyAdmin 路徑,掃看看有沒有漏洞可以進去。
跟你之前白屏的原因應該沒什麼關係。
Re: update php和 database update
你提供的資訊很奇怪,怎麼都是跟 phpMyAdmin 有關,而且還有各種變型 (phpMyAdmin)? 這個都跟你的 drupal 沒關係。(除非你真把 drupal 的系統安裝到 phpMyAdmin 目錄裡頭去了。)
這應該也表示你的 phpMyAdmin 可能也有問題了。
建議你把 php error log 清空 (刪除掉裡面的資料,然後存檔)。重新執行 update.php,取得最近的錯誤訊息來研究看看。
Re: update php和 database update
大大 不好意思 請問 php error log 路徑就是D:\TWAMP\ap\logs\error嗎?
Re: update php和 database update
奇怪,我之前有回復,但不見了,難道我忘了 SUBMIT
上面應該是 APACHE log 吧 ??
打開 php.ini or phpinfo() search error_log 就知在哪啦
其實 drupal watchdog 也有記錄
---
notaBlueScreen
Re: update php和 database update
也有可能看 LOG 沒有用
你一是試試增加 MEMORY
一是試關閉一些模組
---
notaBlueScreen
Re: update php和 database update
大大 你好~ 不好意思我真的是新手 不懂大大說的解決方法~
所以可以請問 apache log 跟a大要我看的東西有什麼不懂呀~
另外是 php.ini or phpinfo() search error_log 是什麼? 要怎麼找到?
那watch dog 要怎麼看
另外就是 增加memory 怎麼增加壓?
關閉模組? 那怎麼看得出來 哪裡有問題?
歐天阿~ 真的超級抱歉 我都不懂 請大大您好心教教我
其實 之前安裝drupal都是學校老師 給檔案 教我們照著做 所以很多東西 其實都不懂 只是照做 現在出了問題
就暈頭轉向的 ^^"
Re: update php和 database update
各位大大 我的網頁 一開始的首頁會出現
warning: include(./themes/garland/maintenance-page.tpl.php) [function.include]: failed to open stream: No such file or directory in D:\TWAMP\htdocs\nctu3dic\includes\theme.inc on line 1066.
warning: include() [function.include]: Failed opening './themes/garland/maintenance-page.tpl.php' for inclusion (include_path='.;../ap/PEAR/pear;../../ap/PEAR/pear;../../../ap/PEAR/pear;../../../../ap/PEAR/pear;../../../../../ap/PEAR/pear') in D:\TWAMP\htdocs\nctu3dic\includes\theme.inc on line 1066
這些碼
但是在重新整理一次 這些碼就不見了
可以請大大告訴我 我的drupal是哪裡出了問題嗎? 我看不懂這些碼想表達的意思內!!^^"
真的麻煩了~~感謝
Re: update php和 database update
(早上的回應怎麼不見了?可能是我忘了按「發表」。再回應一次。)
會發生 theme.inc 的警告,大扺上可能是二個原因:
再加上你提到的有白屏的問題,我會推測是安裝不完整的問題。
如果這只是初期安裝,網站內還沒有重要資料的話,建議重新安裝好了。
ps 題外話:如果你使用的是 TWAMP 的話,在網址列上面輸入 http://localhost/,網頁上就有 phpinfo 的按鈕。關於 php.ini, phpinfo 請你再查一下 google,了解一下。對於 TWAMP 來說,php 的 memory limit 至少在 64M 以上,對於初期使用 drupal 來說這個設定已經夠了,暫時應該不需要調整。