WordPress 页面无法为少数用户正确呈现

发布于 2024-12-05 21:23:55 字数 437 浏览 0 评论 0原文

我帮助一位朋友在她的 WordPress 驱动的网站上进行一些开发 - http://fulltwist.net/

我们安装了一个新主题大约 3 个月前,从那时起,她收到了不到 5% 的访问者的反馈,称该网站无法正确呈现。

他们所有人都说,当查看单个帖子时,页面上只显示徽标和评论框 - 没有其他内容。许多人说他们使用手机查看它,因为他们无法在桌面上查看。

我尝试过加载不同的计算机,但无法复制该问题。我已要求他们清除缓存(硬刷新),但这没有帮助。

我想深入研究代码,但我只是不知道我在寻找什么。不同的浏览器能否以不同的方式呈现 PHP?我以为这纯粹是服务器端?

任何人都知道什么可能导致此错误渲染?我应该采取哪些诊断工具或方法?

任何正确方向的观点将不胜感激。

I help a friend with some dev on her wordpress powered site - http://fulltwist.net/

We installed a new theme about 3 months ago and since then she gets feedback from less than 5% of visitors saying the site doesn't render properly.

All of them say that, when viewing a single post, only the logo and the comment box show on the page - nothing else. Many say they use their phone to view it because they can't on the desktop.

I've tried load of different computers but I can't replicate the problem. I've asked them to clear their cache (hard refresh) and that hasn't helped.

I want to dig into the code but I just don't know what I'm even looking for. Can different browsers render PHP differently? I thought it was purely server side?

Anyone have any idea what could be causing this to render incorrectly? What diagnostic tools or approaches should I take?

Any points in the right direction would be much appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦罢 2024-12-12 21:23:55

浏览器不渲染 PHP,而是渲染从服务器发回的 HTML。

寻找那些有问题的人之间的共同点。浏览器、浏览器版本、操作系统。该网站是否需要某些插件可能没有或可能阻止的插件?在禁用 JavaScript 的情况下它是否可以正确呈现(并且抱怨用户禁用了 JavaScript/您的 JavaScript 在他们的浏览器版本上运行时是否没有错误)?

如果您没有看到用户之间的共性,您可以使用 Gomez 之类的服务在多个浏览器上测试您的页面。

Browsers don't render PHP, they render the HTML sent back from the server.

Look for any commonality among those with problems. Browser, browser version, operating system. Does the website require a plugin that some may not have or may block? Does it render correctly with JavaScript disabled (and are complaining users disabling JavaScript / does your JavaScript run error free on their browser versions)?

You can use a service like Gomez to test your page on multiple browsers if you don't see commonality among the users.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文