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

独立页面问题 #20

Closed
xubaigame opened this issue Jan 1, 2020 · 3 comments
Closed

独立页面问题 #20

xubaigame opened this issue Jan 1, 2020 · 3 comments
Labels
问题 一些功能无法正常工作。

Comments

@xubaigame
Copy link

使用该主题创建独立页面时第一次可以成功,但修改任意参数重新发布独立页面后,刷新博客独立页面会消失。导航栏看不到,直接访问url提示404,但后台管理独立页面的地方能看到。仓库中最新的版本和最新的发布版都不可以。已确定其他主题不存在该问题(默认主题和miyu主题),所以可能感觉是主题的问题。希望大佬能测试一下。

@xubaigame
Copy link
Author

您好,我已经发现原因了,不知道为什么,修改完独立页面提交后,文章发布的日期会改变。会向前增加8小时。当时间增加到比当前日期大的时候,该独立界面就无法显示了。

@BigCoke233
Copy link
Owner

日期问题吗... 不确定是由主题内的什么因素导致的,有空我看看能不能解决。

@xubaigame
Copy link
Author

我已经解决了,因为我没学过php,所以过程很费劲,而且我目前也只是解决了这个问题,不知道会不会带来新的问题。在主题的funaction.php,和Utils.php下分别有将时区设置为上海的代码,我将出现的三处代码删除后就正常了。第一处是主题切换时的默认更改时区选项,第二三处分别是计算建站时间和文章过时时间时设置的。我将这三处删除后便恢复正常了。

@BigCoke233 BigCoke233 added 问题 一些功能无法正常工作。 首要 对新人有帮助的议题。 and removed 首要 对新人有帮助的议题。 labels Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
问题 一些功能无法正常工作。
Projects
None yet
Development

No branches or pull requests

2 participants