重要:此頁面會使用Cookie (cookies). 使用本網站不關閉瀏覽器中的cookie,即表示您同意使用它。
現在購買! 特點 下載

賺錢與我們聯繫!

如果您想要開始賺錢與貝特聯接 聯盟計畫。
12 12 最後Last
結果 11011

主題: &轉到 = newpost鏈接不正確重定向

混合視圖視圖

以前的帖子 Previous Post   Next Post 下一篇文章
  1. #1
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default &轉到 = newpost鏈接不正確重定向

    所有請求 showthread.php?T = X&轉到 = newpost顯示空白頁,不正確重定向。

    這是一個。htaccess的問題(這是百度推廣的支持告訴我更早),但他們的解決似乎碰壞東西。你有任何想法可能是錯在這裡?

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com
    RewriteRule (.*) http://www.pentaxforums.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    
    #RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    #RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    
    Options All -Indexes
    Options +FollowSymLinks

  2. #2
    vBulletin企業翻譯(vBET)員工
    註冊日期
    2010年5月
    帖子
    1,000

    Default

    你好,
    你能複製這條規則:
    Code:
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    並粘貼前:
    Code:
    #RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    #RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    如果禁用vBET是問題仍然存在?

  3. #3
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    感謝您的迅速反應。
    - 是的,這個問題消失了,當我刪除 vbet的htaccess規則
    - 您的解決並沒有改變什麼

  4. #4
    vBulletin企業翻譯(vBET)員工
    註冊日期
    2010年5月
    帖子
    1,000

    Default

    您好,
    所以,請在這裡描述 - 我怎麼能重現它在您的論壇,因為我無法重現它,我不能看到這個問題。
    第二 - 請貼在這裡你的服務器日誌文件(文件與信息有關的所有問題在服務器上),因為我們覺得,要么是不可見的功能
    (失踪
    PHP Code:
    require_once 
    ),因為你有一個空白頁。

    謝謝

  5. #5
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    http://www.pentaxforums.com/forums/s...0&goto=newpost

    嘗試鏈接的例子。

    請注意有沒有 PHP的錯誤或警告該網頁上。

    唯一的服務器問題我現在是一個觀察問題與 sqlite的,但newpost問題之前的,所以這可以被忽略。

    什麼是最好的方式來調試嗎?也許 vbenterprisetranslator_seo文件不正確地提出了要求百度推廣?請注意,showthread.php竟然沒有叫,如果你點擊上面的鏈接。

  6. #6
    vBulletin企業翻譯(vBET)員工
    註冊日期
    2010年5月
    帖子
    1,000

    Default

    您好,
    摩曼我在您的網站在這裡:
    Code:
    http://www.pentaxforums.com/forums/
    請寫在那裡我應該按有這個問題(一步一步),因為我必須重現它正確。
    謝謝

  7. #7
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    這個問題才真正出現時為最終用戶在AJAX超時和快速的答复是作為一個經常性的形式提交。它也發生在移動皮膚,我們一定為 newpost聯繫。

    所有這些都是錯誤的完美例子:
    http://www.pentaxforums.com/forums/s...0&goto=newpost
    http://www.pentaxforums.com/forums/s...0&goto=newpost

    這工作,因為線程是不存在的:
    http://www.pentaxforums.com/forums/s...0&goto=newpost

  8. #8
    vBulletin企業翻譯(vBET)員工
    註冊日期
    2010年5月
    帖子
    1,000

    Default

    你好,

    好所以如果你沒有任何註釋在服務器日誌文件 - 請給我(由PM)訪問細節,你admincp和FTP。

    其次。請在這裡描述我應該做的重現這個問題(一步一步 - 沒有鏈接),請描述在那裡我shoud一下,我應該等待多長時間等等。
    謝謝

  9. #9
    高級會員
    註冊日期
    2009年11月
    帖子
    168

    Default

    我已經解決這個問題。

    在vbenterprisetranslator_seo.php,改線 56至:

    PHP Code:
    if (isset($_GET['t']) && !isset($_GET['goto']) && false !== strpos($_SERVER['REQUEST_URI'], 'showthread.php')) { 

  10. #10
    米哈爾 Podbielski(vBET職員) vBET's Avatar
    註冊日期
    2009年10月
    帖子
    3,037

    Default

    它已經在我們這樣的代碼 vBET4.x - 我們忘記了它也vBET 3.x的 - 我們的錯。我糾正它現在 - 這將列入下一版。

12 12 最後Last

標籤這個主題

發帖權限

  • 可能不會 發表新主題
  • 可能不會 發表回复
  • 可能不會 上傳附件
  • 可能不會 編輯您的文章
  •