How do I know which file system apache can not access on windows?

笑着哭i 提交于 2019-12-12 17:03:16

问题


I have a Typo3 application which is running on Apache2 on Windows 10 (as a part of XAMPP). In apache error log I see this:

Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
...
Das System kann den angegebenen Pfad nicht finden.

with no information about which file can not be opened. The string is in german and stands for "The System can not find specified path.". I gave up trying to find the place in PHP code which causes the problem and the string is not coming from PHP or Typo3. It seem to come from Apache or Windows.

I also tried raising the Apache error_log level to debug, but that didn't help as well.

So the question is: how do I find out which path on filesystem Apache tries to access?

UPDATE: php error log is empty and it is enabled in php.ini - other errors do arrive there.

UPDATE2: looks like I found the problem - it was to do with icons handling for fluid content element templates. Three of my templates had icons assigned to them, and icon paths are suffixed with '[0]' for some reason by my version of Typo3. Then Typo3 attempts to call imagemagik with wrong image path as a source. Imagemagik in turn refuses to render image and says that "Das System kann den angegebenen Pfad nicht finden.". This SO question helped while investigating. That means my assumption was correct - error is coming from operation system, and I still do not know the answer to my question:

In which place in Windows I can track back such errors and actually see which paths were/are broken?

来源:https://stackoverflow.com/questions/35059636/how-do-i-know-which-file-system-apache-can-not-access-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!