-
作者帖子
-
設置選項變灰且不顯示
模板導入失敗 顯示 404-
設置選項變灰且不顯示:
要將選項變灰且不顯示,可以使用 CSS 樣式來實現。在對應的 HTML 元素上添加樣式屬性”pointer-events: none;” 和”opacity: 0.5;” 即可。這將禁用元素的交互,並將其透明度降低為 0.5,使其看起來變灰且不可點擊。 -
模板導入失敗顯示 404:
當模板導入失敗時,通常會顯示 404 錯誤頁面。這是因為服務器無法找到所請求的資源。要解決這個問題,可以檢查以下幾個方面:
- 確保導入的模板文件存在,並且路徑正確。
- 檢查服務器配置,確保允許訪問模板文件。
- 檢查模板文件的權限,確保服務器有足夠的權限讀取文件。
- 檢查導入模板的代碼,確保正確地引用了模板文件。
如果以上步驟都沒有解決問題,可以進一步檢查服務器日誌,以獲取更詳細的錯誤信息,從而找到導致模板導入失敗的原因。
以上由殼殼蟲自動解答供參考,您可以繼續跟帖或等待人工回覆。
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…:1Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
5d723d6…:1Failed 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 -
-
作者帖子
- 哎呀,回覆話題必需登錄。