[其它]掛掉.....怎辦?
版主: 版主管理群
版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
[其它]掛掉.....怎辦?
小弟的網站
之前因為一直身在國外更新不易
所以一直維持在2.0.04的狀態
不過,從這個月開始遇到很多DOS攻擊,同時間幾百個IP同時開頁面
每個開的都還不同,幾天下來....
終於把虛擬主機弄崩潰了
現在想要作很久沒有做過的升級
結果
弄了從2.0.04直接升級到19的平台,也一條一條修正過
開出來的INSTALL頁面卻是空白.........@@
請問我該怎辦阿?
============================================
●架設主機作業系統:Linux在戰國策的虛擬主機
●您安裝的程式:快速架站程式。
●您的 phpBB2 版本:phpBB2.0.4
=============================================
快跳樓了,真的不知道怎麼回事阿~~
哪為大大可以指點一下迷津?
萬分感謝的啦~
之前因為一直身在國外更新不易
所以一直維持在2.0.04的狀態
不過,從這個月開始遇到很多DOS攻擊,同時間幾百個IP同時開頁面
每個開的都還不同,幾天下來....
終於把虛擬主機弄崩潰了
現在想要作很久沒有做過的升級
結果
弄了從2.0.04直接升級到19的平台,也一條一條修正過
開出來的INSTALL頁面卻是空白.........@@
請問我該怎辦阿?
============================================
●架設主機作業系統:Linux在戰國策的虛擬主機
●您安裝的程式:快速架站程式。
●您的 phpBB2 版本:phpBB2.0.4
=============================================
快跳樓了,真的不知道怎麼回事阿~~
哪為大大可以指點一下迷津?
萬分感謝的啦~
請大家有空來看看~指教指教^^
~~Alfalfa~~
~~Alfalfa~~
喬丹大大~謝謝您的回復JORDAN 寫:你東西可能改錯了,再不然就是忘記執行"install/update_to_latest.php"檔案
因為我不知道你是不是有修改外掛,目前我只能這樣回答,你先試試看執行上面的檔案吧
我是真的不知道現在該怎麼辦
UDDATE其實我是有執行的
我那邊沒有掛超過兩個外掛,應該都跟平台沒有直接關係
出來的訊息如下:
=====================================================
Information
Database type :: mysql4
Previous version :: 2.0.4
Updated version :: 2.0.19
Updating database schema
Progress :: . . . . . Done
Result :: Some queries failed, the statements and errors are listing below
Error :: Can't open file: 'phpbb_sessions.MYI'. (errno: 145)
SQL :: ALTER TABLE phpbb_sessions ADD COLUMN session_admin tinyint(2) DEFAULT '0' NOT NULL
This is probably nothing to worry about, update will continue. Should this fail to complete you may need to seek help at our development board. See README for details on how to obtain advice.
Updating data
Progress :: . . . . . . . . . . . . . .
Updating version and optimizing tables
Progress :: . . Done
Result :: Some queries failed, the statements and errors are listing below
Error :: Can't open file: 'phpbb_sessions.MYI'. (errno: 145)
SQL :: DELETE FROM phpbb_sessions
This is probably nothing to worry about, update will continue. Should this fail to complete you may need to seek help at our development board. See README for details on how to obtain advice.
Update completed
Please make sure you have updated your board files too, this file is only updating your database.
You should now visit the General Configuration settings page in the Administration Panel and check the General Configuration of the board. If you updated from versions prior to RC-3 you must update some entries. If you do not do this emails sent from the board will contain incorrect information. Don't forget to delete this file!
=================================================
我真的不知道是怎麼回事阿~T_T
請大家有空來看看~指教指教^^
~~Alfalfa~~
~~Alfalfa~~
如果有刪除到就執行這些語法,如果有殘留乾脆刪除再重新建立這兩個資料表
代碼: 選擇全部
#
# Table structure for table 'phpbb_sessions'
#
# Note that if you're running 3.23.x you may want to make
# this table a type HEAP. This type of table is stored
# within system memory and therefore for big busy boards
# is likely to be noticeably faster than continually
# writing to disk ...
#
CREATE TABLE phpbb_sessions (
session_id char(32) DEFAULT '' NOT NULL,
session_user_id mediumint(8) DEFAULT '0' NOT NULL,
session_start int(11) DEFAULT '0' NOT NULL,
session_time int(11) DEFAULT '0' NOT NULL,
session_ip char(8) DEFAULT '0' NOT NULL,
session_page int(11) DEFAULT '0' NOT NULL,
session_logged_in tinyint(1) DEFAULT '0' NOT NULL,
session_admin tinyint(2) DEFAULT '0' NOT NULL,
PRIMARY KEY (session_id),
KEY session_user_id (session_user_id),
KEY session_id_ip_user_id (session_id, session_ip, session_user_id)
);
# --------------------------------------------------------
#
# Table structure for table `phpbb_sessions_keys`
#
CREATE TABLE phpbb_sessions_keys (
key_id varchar(32) DEFAULT '0' NOT NULL,
user_id mediumint(8) DEFAULT '0' NOT NULL,
last_ip varchar(8) DEFAULT '0' NOT NULL,
last_login int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (key_id, user_id),
KEY last_login (last_login)
);
提供代客維護 phpBB 3.0.x 以及外掛/風格升級或安裝的服務,如需委託,請與我聯絡,謝謝!
我的 Skype 帳號:gpxjordan
我的 Skype 帳號:gpxjordan
幸好是session
沒了session再新增就好了
不過可能會影響某些外掛的功能
得小心一點
沒了session再新增就好了
不過可能會影響某些外掛的功能
得小心一點
目前狀態
GoKo Music進度: 10%
問個問題不要緊,可是沒有發文格式、問題不夠詳細情況,難道要用猜嗎?
新手必讀
[教學] 基本認識、學習、隨我架設phpBB的新手通 -更新至2.0.22
問問題的技巧
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=44340
MOD安裝教學及轉碼
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=22832
GoKo Music進度: 10%
問個問題不要緊,可是沒有發文格式、問題不夠詳細情況,難道要用猜嗎?
新手必讀
[教學] 基本認識、學習、隨我架設phpBB的新手通 -更新至2.0.22
問問題的技巧
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=44340
MOD安裝教學及轉碼
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=22832
我找了半天........沒找到那個檔案耶JORDAN 寫:如果有刪除到就執行這些語法,如果有殘留乾脆刪除再重新建立這兩個資料表
代碼: 選擇全部
# # Table structure for table 'phpbb_sessions' # # Note that if you're running 3.23.x you may want to make # this table a type HEAP. This type of table is stored # within system memory and therefore for big busy boards # is likely to be noticeably faster than continually # writing to disk ... # CREATE TABLE phpbb_sessions ( session_id char(32) DEFAULT '' NOT NULL, session_user_id mediumint(8) DEFAULT '0' NOT NULL, session_start int(11) DEFAULT '0' NOT NULL, session_time int(11) DEFAULT '0' NOT NULL, session_ip char(8) DEFAULT '0' NOT NULL, session_page int(11) DEFAULT '0' NOT NULL, session_logged_in tinyint(1) DEFAULT '0' NOT NULL, session_admin tinyint(2) DEFAULT '0' NOT NULL, PRIMARY KEY (session_id), KEY session_user_id (session_user_id), KEY session_id_ip_user_id (session_id, session_ip, session_user_id) ); # -------------------------------------------------------- # # Table structure for table `phpbb_sessions_keys` # CREATE TABLE phpbb_sessions_keys ( key_id varchar(32) DEFAULT '0' NOT NULL, user_id mediumint(8) DEFAULT '0' NOT NULL, last_ip varchar(8) DEFAULT '0' NOT NULL, last_login int(11) DEFAULT '0' NOT NULL, PRIMARY KEY (key_id, user_id), KEY last_login (last_login) );
請問大大講的這個要建立在哪呢?
謝謝大大回復
請大家有空來看看~指教指教^^
~~Alfalfa~~
~~Alfalfa~~
剛又執行update_to_latest
可是開index還是空白....
又好了????Information
Database type :: mysql4
Previous version :: 2.0.19
Updated version :: 2.0.19
Updating database schema
Progress :: No updates required
Updating data
Progress :: No updates where required
Updating version and optimizing tables
Progress :: . . Done
Result :: No errors
Update completed
可是開index還是空白....
請大家有空來看看~指教指教^^
~~Alfalfa~~
~~Alfalfa~~
代碼: 選擇全部
CREATE TABLE phpbb_sessions (
session_id char(32) DEFAULT '' NOT NULL,
session_user_id mediumint(8) DEFAULT '0' NOT NULL,
session_start int(11) DEFAULT '0' NOT NULL,
session_time int(11) DEFAULT '0' NOT NULL,
session_ip char(8) DEFAULT '0' NOT NULL,
session_page int(11) DEFAULT '0' NOT NULL,
session_logged_in tinyint(1) DEFAULT '0' NOT NULL,
session_admin tinyint(2) DEFAULT '0' NOT NULL,
PRIMARY KEY (session_id),
KEY session_user_id (session_user_id),
KEY session_id_ip_user_id (session_id, session_ip, session_user_id)
);
Table structure for table `phpbb_sessions_keys`
CREATE TABLE phpbb_sessions_keys (
key_id varchar(32) DEFAULT '0' NOT NULL,
user_id mediumint(8) DEFAULT '0' NOT NULL,
last_ip varchar(8) DEFAULT '0' NOT NULL,
last_login int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (key_id, user_id),
KEY last_login (last_login)
);
難道你把session.php砍了?沒吧....
PS: 建議你, 請先備份回去, 把資料庫備回在執行所有UPDATE前的狀態
目前狀態
GoKo Music進度: 10%
問個問題不要緊,可是沒有發文格式、問題不夠詳細情況,難道要用猜嗎?
新手必讀
[教學] 基本認識、學習、隨我架設phpBB的新手通 -更新至2.0.22
問問題的技巧
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=44340
MOD安裝教學及轉碼
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=22832
GoKo Music進度: 10%
問個問題不要緊,可是沒有發文格式、問題不夠詳細情況,難道要用猜嗎?
新手必讀
[教學] 基本認識、學習、隨我架設phpBB的新手通 -更新至2.0.22
問問題的技巧
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=44340
MOD安裝教學及轉碼
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=22832
當然沒砍啦~
剛進去Administration Panel看到以下訊息
jwxinst大大說的是從MYSQL直接新增指令?
剛在我的MYADMIN那邊有看phpbb_sessions
顯示也是錯誤
是將JORDAN大大PO的那個語法寫進phpbb_sessions裡面覆蓋過去就好了嗎?
謝謝大大回復
剛進去Administration Panel看到以下訊息
phpBB : Critical Error
Error creating new session
DEBUG MODE
SQL Error : 1016 Can't open file: 'phpbb_sessions.MYI'. (errno: 145)
INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin) VALUES ('9515dab4b0dbedae128a12d3af90de13', -1, 1145597070, 1145597070, 'daf6d4b6', 0, 0, 0)
Line : 189
File : sessions.php
jwxinst大大說的是從MYSQL直接新增指令?
剛在我的MYADMIN那邊有看phpbb_sessions
顯示也是錯誤
Can't open file: 'phpbb_sessions.MYI'. (errno: 145)
錯誤
SQL 語法:
SHOW KEYS FROM `phpbb_sessions` ;
MySQL 傳回:
#1016 - Can't open file: 'phpbb_sessions.MYI'. (errno: 145)
是將JORDAN大大PO的那個語法寫進phpbb_sessions裡面覆蓋過去就好了嗎?
謝謝大大回復
請大家有空來看看~指教指教^^
~~Alfalfa~~
~~Alfalfa~~