Search…

X3 Photo Gallery Support Forums

Search…

Search found 8 matches

by nisekoi
25 Jan 2021, 05:54
Forum: X3 简体中文讨论区
Topic: files显示的缩略图为空白
Replies: 13
Views: 16895

Re: files显示的缩略图为空白

You have some issue on your server. Not sure if it's memory related or security-related or buffer-output related, but it's not normal. Script execution is breaking in the middle of the script for unknown reasons. Why 3 doesn't work and then why does 4 work? You might want to run the above while che...
by nisekoi
25 Jan 2021, 04:01
Forum: X3 简体中文讨论区
Topic: files显示的缩略图为空白
Replies: 13
Views: 16895

Re: files显示的缩略图为空白

mjau-mjau wrote: 很高兴至少可以解决!

似乎您的内存限制在某处或以某种方式设置为2MB。 我可以进行进一步调查,但需要将FTP传输到服务器。
我将FTP连接信息发送给你了。ftp目录相当于http://134.195.88.23的根目录
如果需要其他目录的权限请告诉我,我对这个问题相当好奇 
by nisekoi
25 Jan 2021, 03:30
Forum: X3 简体中文讨论区
Topic: files显示的缩略图为空白
Replies: 13
Views: 16895

Re: files显示的缩略图为空白

这样就可以了吗? 是的,现在一切正常。 :grinning: 我一开始从未想过错误日志会在nginx里 我不清楚为什么index.php 在2M的内存限制下运行(2097152 bytes)。 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 2097152 bytes exhausted (tried to allocate 1224704 bytes) class config 里面的 'image_resize_memory_limit' => 512 和 php.ini 里面的...
by nisekoi
25 Jan 2021, 02:10
Forum: X3 简体中文讨论区
Topic: files显示的缩略图为空白
Replies: 13
Views: 16895

Re: files显示的缩略图为空白

Update 我在index.php的开头添加了一句 ini_set("memory_limit","512M"); 便能够正常生成缩略图了。不知道为什么下面这一行没有生效     'image_resize_memory_limit' => 512, // 128 MB is suffient to resize images around 6000 px / 0 = ignore memory ------------------------ 在Nginx的错误日志中。似乎存在着事件的原因 但是我的服务器还有着不少内存 177 / 3946 (MB) phpinfo里也可以看到  memo...
by nisekoi
25 Jan 2021, 01:55
Forum: X3 简体中文讨论区
Topic: files显示的缩略图为空白
Replies: 13
Views: 16895

Re: files显示的缩略图为空白

我很难诊断,因为这是您自己的服务器。 首先,当我今天早些时候检查时,其中一张图像正在工作...但是现在它不再起作用: http://134.195.88.23/index.php?file=1.jpg&resize=480&81df7d.1611494179.155242 这使我相信某些东西必须更改,因为该图像最初是有效的。 另外,index.php.bak有什么意义? 您编辑了主文件? 您的服务器为什么不报告图像链接的任何内容,而仅报告白色输出? 至少它应该输出类似错误的内容。 这看起来像NGINX(不是PHP),但不幸的是,我从这里看不到。 也许一些nginx绕过缓存? 在“文件”应用中...
by nisekoi
25 Jan 2021, 01:21
Forum: X3 简体中文讨论区
Topic: files显示的缩略图为空白
Replies: 13
Views: 16895

Re: files显示的缩略图为空白

谷歌翻译: 我检查了您的页面,并调整了文件 1.jpg 的大小,同时调整了 testimg.jpg 的大小。 我看不到您的PHP有任何错误。 您能否上传更多随机图像,以便我们查看它是否与图像有关或其他? 造成问题的是,失败的图像调整大小链接不会输出任何错误,只是空白的“ 200 OK”响应。 http://134.195.88.23/index.php?file=testimg.jpg&resize=480&81df7d.1611490118.2048211 http://134.195.88.23/ 我从 https://demo.files.gallery/?balloons 下载了一些...
by nisekoi
24 Jan 2021, 08:20
Forum: X3 简体中文讨论区
Topic: files显示的缩略图为空白
Replies: 13
Views: 16895

Re: files显示的缩略图为空白

我是否发错了版块 :thinking:
by nisekoi
24 Jan 2021, 08:18
Forum: X3 简体中文讨论区
Topic: files显示的缩略图为空白
Replies: 13
Views: 16895

files显示的缩略图为空白

我的nginx版本为1.18 php 7.3 PHP禁用函数与扩展   https://i.imgur.com/0k5vhZf.jpg https://i.imgur.com/t917csC.jpg 当打开时页面。缩略图的请求返回了一个空白页面, 我检查了很多地方。无法找到原因。这是我的网页地址。 http://134.195.88.23/ 我将index.php的源码放在了index.php.bak phpinfo http://134.195.88.23/phpinfo.php https://i.imgur.com/LhYxZdH.jpg https://i.imgur.com/t9uU...