第 1 頁 (共 2 頁)
[升級]升級成 2.0.15 版後, 似乎都不對勁了 -- SOS !!
發表於 : 2005-05-17 15:33
由 samshen
從 2.0.10 版升成 2.0.15 後, 產生以下
怪現象,
(1) 登錄(LOGIN)後, 系統跳到錯誤頁, 告知 "無此頁", 但若做頁面重整, 會發現己實際 LOGIN 成功
(2) 若要登出(LOGOUT), 系統一樣跳到錯誤頁, 告知 "無此頁" !
(3) 若要進入 ADMIN 管理後台, 系統一樣跳到錯誤頁, 告知 "無此頁" !
(4) ......
為何一直會出現 : 錯誤頁, 告知 "無此頁" !
後台 : LINUX + MySQL
URL :
http://www.myidea.com.tw
Re: [升級]升級成 2.0.15 版後, 似乎都不對勁了 -- SOS !!
發表於 : 2005-05-17 19:22
由 winzen64
samshen 寫:從 2.0.10 版升成 2.0.15 後, 產生以下怪現象,
(1) 登錄(LOGIN)後, 系統跳到錯誤頁, 告知 "無此頁", 但若做頁面重整, 會發現己實際 LOGIN 成功
我跟你一樣會出現這問題
不知道哪裡出錯了...
我是新安裝win2000+php+phpmyadmin+mysql+iis
發表於 : 2005-05-17 21:46
由 小竹子
麻煩一下按照公告格式發表,方便找出問題!
發表於 : 2005-05-18 09:57
由 streitleak
看一下你IIS的SESSION的設定吧...
也看一下PHP.INI中有關SESSION的設定...
發表於 : 2005-05-19 02:01
由 Mowd
我大概知道問題所在,管理員登入後,網址會變成
http://xxx.com/admin/?admin=1&sid=11ecc ... cb7126b3ef
應該要是\r
http://xxx.com/admin/index.php?admin=1&sid=11eccf1d84d1b9d9998bf2cb7126b3ef
其他問題應該類似
發表於 : 2005-05-20 13:31
由 frankh
發表於 : 2005-05-21 20:03
由 Mowd
你到admin/pagestart.php搜尋相關程式碼,把index.php加回去試試看
發表於 : 2005-05-22 09:28
由 dean20
Mowd 寫:你到admin/pagestart.php搜尋相關程式碼,把index.php加回去試試看
請問如何搜尋呢??
因為我對php程式不了解!! 所以想問一下.. 謝謝.. ^^

發表於 : 2005-05-22 14:11
由 Mowd
打開admin/pagestart.php
尋找\r
if (!$userdata['session_admin'])
{
redirect(append_sid("login.$phpEx?redirect=admin/&admin=1", true));
}
取代成
if (!$userdata['session_admin'])
{
redirect(append_sid("login.$phpEx?redirect=admin/index.php&admin=1", true));
}
發表於 : 2005-05-22 16:35
由 frankh
Mowd 寫:打開admin/pagestart.php
尋找\r
代碼: 選擇全部
if (!$userdata['session_admin'])
{
redirect(append_sid("login.$phpEx?redirect=admin/&admin=1", true));
}
取代成
代碼: 選擇全部
if (!$userdata['session_admin'])
{
redirect(append_sid("login.$phpEx?redirect=admin/index.php?admin=1", true));
}
您好:
我試過過您的方法...
但是取代後就連控制台都進不進去了.....
發表於 : 2005-05-22 17:10
由 iamelton
if (!$userdata['session_admin'])
{
redirect(append_sid("login.$phpEx?redirect=admin/index.php&admin=1", true));
}
留意紅色粗體部分..
發表於 : 2005-05-22 17:19
由 心靈捕手
今天在去逛官方網站時,
發現這一篇文章:
http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=292017
可能是針對, 目前有部分網友, 無法進入控制台的建議.
解決方法:
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
建議有問題的網友試試看:
發表於 : 2005-05-22 17:33
由 Mowd
留意紅色粗體部分...
不要改錯唷
發表於 : 2005-05-22 17:39
由 iamelton
Mowd 寫:留意紅色粗體部分...正確的應該是?才對,不是&唷\r
你把上一篇的紅色部分改成?試試看。
不要改錯唷
天啊, 千萬不要!
我的意思就是用 "&", 不要用 "?"
& 才是正確的, 因為它是給 login.php 的參數, 並不是 index.php 的參數.
發表於 : 2005-05-22 17:51
由 Mowd
嗯你說的沒錯...文章已經改過來了
不好意思哩
