Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

主页背景图加载失败导致白屏 #1063

Closed
mentlesoul opened this issue Jan 22, 2025 · 3 comments
Closed

主页背景图加载失败导致白屏 #1063

mentlesoul opened this issue Jan 22, 2025 · 3 comments
Labels
help help

Comments

@mentlesoul
Copy link

mentlesoul commented Jan 22, 2025

大致范围:

可能是imgsrc无法访问导致的问题

具体行为描述:

主页背景图加载失败,所有其他组件都能正常运行,但是背景图不显示,变成白屏

尝试:

配置与环境:

  • 问题页面:index.php
  • PHP 版本:8.4/8.1
  • 数据库类型 / 版本:Mysql 8.0
  • WordPress 版本:6.7.1
  • 主题版本:主题版本 2.7.2 | 内部版本 19.2.0
  • 使用的插件:无
  • 浏览器:Edge

截图(若有)

Image
Image

补充信息:

Access to XMLHttpRequest at 'https://www.boc.cn/sourcedb/whpj/' from origin 'https://31013.top:10001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

GET https://www.boc.cn/sourcedb/whpj/ net::ERR_FAILED 200 (OK)

GET https://imgres.foxwaf.com/pc/s17.webp 504 (Gateway Timeout)

服务器在国内,从海外访问的,本地(国内?)访问都可以正常加载出背景图,以下是本地访问时的控制台输出

Image

但是从国外访问时无法加载,

@mentlesoul mentlesoul added the help help label Jan 22, 2025
Copy link

任何人都可以处理此问题。
请务必在您的 pull request 中引用此问题。
感谢你的贡献! (o゜▽゜)o☆

Copy link

@mentlesoul,感谢你给 sakurairo 提出了 issue。ヾ(≧▽≦*)o
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@mentlesoul
Copy link
Author

mentlesoul commented Jan 25, 2025

这两天出现了新的症状...内网访问也无法加载出bg了,同时光标文件也访问失效,无法使用自定光标

完全无法访问地址:https://imgres.foxwaf.com/pc/
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help help
Projects
None yet
Development

No branches or pull requests

1 participant