TYPO3 Scheduler:页面未配置! [类型= 0][]
我在 TYPO3 4.5.5 中的调度程序有问题。每次执行任务时都会失败并显示以下错误消息:
[scheduler]: Task failed to execute successfully. Class: tx_jobportal_apply, UID: 5. The page is not configured! [type= 0][]
我的页面树中有 3 个域,每个域都有自己的根模板。 TypoScript 对象浏览器显示 page.typeNum = 0 的设置
I have a problem with my scheduler in TYPO3 4.5.5. Every time a task is executed it fails with the following error message:
[scheduler]: Task failed to execute successfully. Class: tx_jobportal_apply, UID: 5. The page is not configured! [type= 0][]
There are 3 domains in my page tree, each having an own root template. The TypoScript Object Browser shows a setup with page.typeNum = 0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不知道如何对此发表评论,所以我将其作为答案发布。
我猜您正在调度程序任务中启动 TSFE。您是否指定了页面 ID,如果是,您是否检查过该页面是否位于特定的根页面下,并使用配置了“页面”的打字稿模板?
I don't know how I can comment on this, so I'll post it as an answer..
I'm guessing you are initiating the TSFE in the scheduler task. Did you specify a page-id, and if so, have you checked this page is under a specific root-page with a typoscript template that has a 'PAGE' configured?
您的扩展作业门户似乎发送了错误,请手动检查您尝试使用调度程序执行的操作。
It looks like Your extension jobportal sends an error, check manually the action You are trying to do with scheduler.
问题解决了。
我在配置了 PAGE 对象的根模板中创建了一个文件引用,如下所示
在模板的设置中直接配置对象后,不再出现错误消息,现在我是一个幸运的人;)
@Koopa:感谢您暗示!
The problem is solved.
I made a file reference in the root template in which the PAGE object was configured, like this
After configuring the object directly in the setup of the template no more error messages appeared and now I am a lucky guy ;)
@Koopa: Thanks for the hint!