简体   繁体   English

如何解决加载typo3网站url时发生的错误?

[英]How to resolve the error occured while loading typo3 website url?

如何解决加载时与网站相关的错误,并显示“糟糕,发生错误!”

You should set the system context to "development".您应该将系统上下文设置为“开发”。 In the install tool you can find a configuration preset for it: https://docs.typo3.org/typo3cms/InstallationGuide/6.2/In-depth/TheInstallTool/Index.html在安装工具中,您可以找到它的配置预设: https : //docs.typo3.org/typo3cms/InstallationGuide/6.2/In-depth/TheInstallTool/Index.html

Additionally you could set另外你可以设置

config.contentObjectExceptionHandler = 0 

within your TypoScript root template, which will give you more verbose exceptions in case the error was thrown while rendering a content element.在您的 TypoScript 根模板中,如果在呈现内容元素时抛出错误,它将为您提供更详细的异常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM