Attempt to insert record on page where this table is not allowed

三世轮回 提交于 2019-12-20 05:20:09

问题


I get the message above (Attempt to insert record on page where this table is not allowed) when trying to create a new record from an extension.

  • The "page" i try to create the record in is a sysfolder and not a page
  • t3lib_extMgm::allowTableOnStandardPages('user_myext_categories'); is set
  • there are already records of categories on this page
  • there is no 'type' => definition in TCA, but the table itself is registered in TCA like the other tables from this extension (and they work)

Any hints on this?


回答1:


Perhaps the creation of tables of this type is deactivated via Page-TS-Config? Via mod.web_list.allowedNewTables / deniedNewTables it is possible to disable the creation of new tables.

You need to check each Page-TS-Config in the rootline or have a look at the info module.

Perhaps try to create a new "root" page and add your table there. If that works, it is a Page-TS-Config configuration:)



来源:https://stackoverflow.com/questions/8787714/attempt-to-insert-record-on-page-where-this-table-is-not-allowed

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