設定選項變灰且不顯示 模板匯入失敗 顯示 404

正在檢視 3 個帖子:1-3 (共 3 個帖子)
  • 作者
    帖子
  • huijun
    參與者
    • 文章數量: 6
    樓主
    @huijun

    設定選項變灰且不顯示
    模板匯入失敗 顯示 404

    殼殼蟲
    參與者
    • 文章數量: 329
    @kekechong
    1. 設定選項變灰且不顯示:
      要將選項變灰且不顯示,可以使用 CSS 樣式來實現。在對應的 HTML 元素上新增樣式屬性”pointer-events: none;” 和”opacity: 0.5;” 即可。這將禁用元素的互動,並將其透明度降低為 0.5,使其看起來變灰且不可點選。

    2. 模板匯入失敗顯示 404:
      當模板匯入失敗時,通常會顯示 404 錯誤頁面。這是因為伺服器無法找到所請求的資源。要解決這個問題,可以檢查以下幾個方面:

    • 確保匯入的模板檔案存在,並且路徑正確。
    • 檢查伺服器配置,確保允許訪問模板檔案。
    • 檢查模板檔案的許可權,確保伺服器有足夠的許可權讀取檔案。
    • 檢查匯入模板的程式碼,確保正確地引用了模板檔案。

    如果以上步驟都沒有解決問題,可以進一步檢查伺服器日誌,以獲取更詳細的錯誤資訊,從而找到導致模板匯入失敗的原因。


    以上由殼殼蟲自動解答供參考,您可以繼續跟帖或等待人工回覆。

    huijun
    參與者
    • 文章數量: 6
    樓主
    @huijun

    2023/11/17 14:05:24 [error] 19895#0: *41519 open() "/www/wwwroot/www.daigeng.cn/favicon.ico" failed (2: No such file or directory), client: 1.189.165.245, server: http://www.daigeng.cn, request: "GET /favicon.ico HTTP/2.0", host: "www.daigeng.cn", referrer: "https://www.daigeng.cn/wp-admin/plugins.php?plugin_status=active"
    2023/11/17 14:11:21 [error] 13830#0: *41592 "/www/wwwroot/www.daigeng.cn/wp-json/astra/v1/admin/settings/index.php" is not found (2: No such file or directory), client: 1.189.165.245, server: http://www.daigeng.cn, request: "GET /wp-json/astra/v1/admin/settings/?_locale=user HTTP/2.0", host: "www.daigeng.cn", referrer: "https://www.daigeng.cn/wp-admin/admin.php?page=astra"
    2023/11/17 14:13:08 [error] 13829#0: *41615 open() "/www/wwwroot/www.daigeng.cn/favicon.ico" failed (2: No such file or directory), client: 1.189.165.245, server: http://www.daigeng.cn, request: "GET /favicon.ico HTTP/2.0", host: "www.daigeng.cn", referrer: "https://www.daigeng.cn/wp-login.php?redirect_to=https%3A%2F%2Fwww.daigeng.cn%2Fwp-admin%2Fadmin.php%3Fpage%3Dastra%26path%3Dsettings&reauth=1"
    2023/11/17 14:14:43 [error] 13829#0: *41615 "/www/wwwroot/www.daigeng.cn/wp-json/astra/v1/admin/settings/index.php" is not found (2: No such file or directory), client: 1.189.165.245, server: http://www.daigeng.cn, request: "GET /wp-json/astra/v1/admin/settings/?_locale=user HTTP/2.0", host: "www.daigeng.cn", referrer: "https://www.daigeng.cn/wp-admin/admin.php?page=astra"

    JQMIGRATE: Migrate is load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.4.1
    installed, version 3.4.1
    Failed to load resource: the server responded with a status of 404 ()
    /wp-admin/admin.php?page=astra:1
    Uncaught (in promise)
    Objectcode
    :
    “invalid_json”
    message
    :
    “The response is not a valid JSON response.”

    VM595:4 Edge Translation started
    5d723d6…:1

    Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    5d723d6…:1

    Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

    JQMIGRATE: Migrate is load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.4.1
    installed, version 3.4.1

    /wp-json/astra/v1/admin/settings/?_locale=user:1 Failed to load resource: the server responded with a status of 404 ()
    admin.php:1 Uncaught (in promise) Object
    5d723d6cbabfcf81cfac4241ce55255b:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    5d723d6cbabfcf81cfac4241ce55255b:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    DevTools failed to load source map: Could not load content for chrome-extension://ncennffkjdiamlpmcbajkmaiiiddgioo/js/xl-content.js.map: System error: net::ERR_BLOCKED_BY_CLIENT
    (index):6789 crbug/1173575, non-JS module files deprecated.

    
    Failed to load resource: the server responded with a status of 404 ()
    the server responded with a status of 404 ()
    admin.php:1 Uncaught (in promise)
    Object
    DevTools failed to load source map: Could not load content for chrome-extension://ncennffkjdiamlpmcbajkmaiiiddgioo/js/xl-content.js.map: System error: net::ERR_BLOCKED_BY_CLIENT
    5d723d6…:1
    Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    5d723d6…:1
    Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
    (index):6789 crbug/1173575, non-JS module files deprecated.
    (anonymous) @ (index):6789

正在檢視 3 個帖子:1-3 (共 3 個帖子)
  • 哎呀,回覆話題必需登入。

話題資訊