-
作者帖子
-
设置选项变灰且不显示
模板导入失败 显示 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 -
-
作者帖子
- 哎呀,回复话题必需登录。