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

🐛 Bug收集贴!Call for bugs! #87

Open
AlanDecode opened this issue Apr 7, 2023 · 21 comments
Open

🐛 Bug收集贴!Call for bugs! #87

AlanDecode opened this issue Apr 7, 2023 · 21 comments

Comments

@AlanDecode
Copy link
Owner

十分感谢大家对 VOID 的厚爱,由于本人过去两年里沉迷谈恋爱和养小猫,没抽出时间来维护。现在女朋友和小猫都看不下去了。女朋友说:你再不更新 VOID,我就要怀疑你的人品了;小猫说:你再不更新 VOID,我就要离家出走了。

现在! 立下此贴收集 VOID 主题以及我的相关插件PHP 8.0+Typecho 1.2+ 使用时存在的问题!我会尽快修复!

祝好

@mikusaa
Copy link
Contributor

mikusaa commented Apr 7, 2023

希望表格可以居中展示
image

@AlanDecode
Copy link
Owner Author

希望表格可以居中展示 image

收到🫡

@Man-Yacan
Copy link

希望表格可以居中展示 image

可以先添加自定义CSS来解决:

.yue table {
margin: 0 auto;
width: max-content
}

@FaceChan
Copy link

大哥,我的评论直接故障了。

@Man-Yacan
Copy link

大哥,我的评论直接故障了。

最好是可以把报错代码、截图以及网址提供下,方便大家看。

@ihuanx
Copy link

ihuanx commented Apr 14, 2023

还好没有分手 不然停更更久 ..

1 similar comment
@Nliver
Copy link

Nliver commented Apr 17, 2023

还好没有分手 不然停更更久 ..

@0x3st
Copy link

0x3st commented Apr 29, 2023

用的是发布版的3.5.1,点击使用主题的时候变成这样了
image
主页变成空白的了。
有什么解决方案吗

@AlanDecode
Copy link
Owner Author

用的是发布版的3.5.1,点击使用主题的时候变成这样了
image
主页变成空白的了。
有什么解决方案吗

可以先试试看开发版

@Man-Yacan
Copy link

插件 ExSearch在TP1.2 开发版配合主题最新开发版中,重建索引报错:Argument 1 passed to Typecho\Widget::__construct() must be an instance of Typecho\Widget\Request, instance of Typecho\Request given, called in /www/wwwroot/demo/usr/plugins/ExSearch/Plugin.php on line 276

@jiege6919
Copy link

大佬,极空间nas中用的80x86_typecho最新docker镜像,VOID主题插件在数据库Pdo_SQLite下无法启用,显示Database Query Error,怎么搞啊

@cnmoe
Copy link

cnmoe commented Jul 27, 2023

催更

@TheFunny
Copy link
Contributor

TheFunny commented Aug 4, 2023

有一个小问题,未发表的文章保存为草稿时,会导致页面最下方的本站运行时间出错,从1970.1.1开始计时。
原因是此类文章尚未发表,所以数据库中存储的 create,即文章的发表时间,为0,导致函数 getBuildTime() 获取到的首篇文章的发表时间为0。

@wacsy
Copy link

wacsy commented Sep 2, 2023

发现一个小问题,IP.php那个插件的37 到40 行,字符串的index用的是{},好像php现在只支持[]来引用了。

@wacsy
Copy link

wacsy commented Sep 2, 2023

插件 ExSearch在TP1.2 开发版配合主题最新开发版中,重建索引报错:Argument 1 passed to Typecho\Widget::__construct() must be an instance of Typecho\Widget\Request, instance of Typecho\Request given, called in /www/wwwroot/demo/usr/plugins/ExSearch/Plugin.php on line 276

重建索引的错误需要把ExSearch 插件目录下的Plugin.php 的276行改为 $widget = $className::alloc(); 不需要之前那个很长的声明了。然后就好了

@wacsy
Copy link

wacsy commented Sep 2, 2023

使用typecho 1.2.1版本 php 8.3,好像高级设置无法传到$setting 变量里。例如我想关闭mac 代码还有添加nav,都没有用。但如果直接在Utils.php里直接改setting 是可以的。不知道是不是$options->advance的问题

@Harry-Pan
Copy link

有一个小问题,未发表的文章保存为草稿时,会导致页面最下方的本站运行时间出错,从1970.1.1开始计时。
》原因是此类文章尚未发表,所以数据库中存储的 create,即文章的发表时间,为0,导致函数 getBuildTime() 获取到的首篇文章的发表时间为0。

在Utils.php中的getBuildTime()处构造的sql指令中加一行->where('table.contents.status = ?', 'publish'),就可以过滤掉其他内容,只查询已经发表的文章了。

@TwinIsland
Copy link

TwinIsland commented Nov 27, 2023

如果内联公式太长的话会导致overflow,比如在文章中插入:

The interquartile range of a dataset $\{x\}$ is $iqr(\{x\})=percentile(\{x\},75)-percentile(\{x\},25 )$

移动端页面就会成这样:

查看图片

还有一个类似问题,如果非内联公式太长的话移动端页面就不能完全显示公式:

$$
w(n) = 0.5 \times \left(1 - \cos\left(\frac{2\pi n}{N-1}\right)\right), \quad N = 64
$$
查看图片

@joooqi
Copy link

joooqi commented Dec 28, 2023

期待作者可以早些更新新的版本,毕竟马上就要2024年了🤣

@kewake
Copy link

kewake commented Feb 27, 2024

有一个小问题,未发表的文章保存为草稿时,会导致页面最下方的本站运行时间出错,从1970.1.1开始计时。 原因是此类文章尚未发表,所以数据库中存储的 create,即文章的发表时间,为0,导致函数 getBuildTime() 获取到的首篇文章的发表时间为0。

在主题文件夹/libs/Utils.php中的getBuildTime()处构造的sql指令中加一行 ->where('table.contents.created> 0') 就可以过滤掉时间为0的文章

@jkjoy
Copy link

jkjoy commented Mar 13, 2024

打不开 空白
php8.2

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

No branches or pull requests