[問題] 官方的某文章(Updating to 2.0.15 - Common Problems)

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
俊俊
星球公民
星球公民
文章: 118
註冊時間: 2004-08-15 11:59

[問題] 官方的某文章(Updating to 2.0.15 - Common Problems)

文章 俊俊 »

Graham 寫:Hello users.

Since the release of phpBB 2.0.15, we have seen a number of users having issues with updating to this release so we have decided to make this post explaining the main change in 2.0.15 which is causing this and common explnations of the problem.

The main change to this release apart from a collection of bug-fixes is the addition of re-authentication to access the administration panel. This is a feature from phpBB 3.0.0 (Olympus), which has been backported to 2.0.x (in the same way as the visual confirmation system before it) to provide you with some additional protection on your board from common problems people had seen in earlier versions. In simple terms, once logged in as an administrator, you had access to everything on the board, including the admin panel. Unfortunately, this meant that if someone was able to visit the board as you - perhaps because you had logged on from a public computer and told it to remember you by mistake, or because they had been able to fake a cookie to pretend to be you - they were also able to do this, even if they didn't know your password. Now, to access the ACP, a user must know the password of the account they are logged in as, which provides an additional level of defence.

Some users have asked if it is possible to disable this, and the answer is yes - it can be disabled by making some small changes to the code.
However, we strongly discourage you from doing so unless you have a stronger method in place to replace it.

With the update to 2.0.15, it has become more apparent that many people are not running the update_to_latest.php script which is included with all updates to make the required changes to the database. If you are receiving an error about the session_admin column not existing this is probably the source of the problem. Please run install/update_to_latest.php to address the problem. It is important that you run this file on all updates since it makes any required database changes and these can be as important as updating the files.


And lastly, we have noticed users who for whatever reason did not have the updated files. In some cases, this was due to a webhost error, other times an FTP client messing up, or something else happening. Regardless of the cause, users need to ensure they have the latest files. There are several ways to do this, such as checking the timestamps on the files, checksums, etc. However you do it, this should become a habit everytime you update.
This will not only ensure you are protected from the non-security related bug, or a vulnerability, but help those supporting you to get you the answer that much faster.

If you are having problems logging into the admin panel, this is probably the issue. You should make sure that all files are up to date, but login.php, includes/session.php, includes/functions.php and admin/pagestart.php are the most relevant.

If you have done all this and still have problems, please help us to help you by completing the Support Request Template when you post for assistance.

Sincerely,
The phpBB Team
請問有沒有人明白這篇文章是說什麼的? :mrgreen:
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8547
註冊時間: 2004-04-30 01:54
來自: Taiwan

文章 心靈捕手 »

To 俊俊:

這篇文章已經發表一些時日了;
主要是針對一般網友, 在升級到 2.0.15 時, 所出現的普遍性問題, 提出解決之道.
可能是針對, 目前有部分網友, 無法進入控制台的建議.

解決方法:
引言回覆:

With the update to 2.0.15, it has become more apparent that many people are not running the update_to_latest.php script which is included with all updates to make the required changes to the database. If you are receiving an error about the session_admin column not existing this is probably the source of the problem. Please run install/update_to_latest.php to address the problem. It is important that you run this file on all updates since it makes any required database changes and these can be as important as updating the files.


主要是希望使用者在完成程式修改後,
能夠執行 install/update_to_latest.php
SOURCE: http://phpbb-tw.net/phpbb/viewtopic.php?p=197027#197027
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
主題已鎖定

回到「外掛問題討論」