当我在phpPgAdmin中提交一个SQL查询时,它第一次可以完美运行,但是当我再次提交时,我在正确的框架中看到一个“未找到”错误页面,需要刷新该页面才能使其再次工作仅一次:
我该如何解决?
环境
phpPgAdmin是使用docker映像https://hub.docker.com/r/dockage/phppgadmin安装的。
- phpPgAdmin 7.x-dev(PHP 5.6.40)
- PostgreSQL 12.3(Debian 12.3-1.pgdg100 + 1)
PS:研究了form
的源代码后,我注意到该链接具有一个斜杠,这可以解释该链接突破了正确的子文件夹并在页面根目录下搜索display.php
的原因。 ,它失败了。但是我不明白的是它是第一次工作,而不是第二次:
<form method="POST" action="/display.php?subject=table&table=catalogue&server=postgres%3A5432%3Aallow&database=hito&schema=public">
<textarea width="90%" name="query" rows="5" cols="100" resizable="true" spellcheck="true" lang="en">SELECT * FROM public.catalogue;</textarea><br />
<input type="submit" />
</form>