[TYPO3] beta 3 - tca[pages] issue?
markus at 4eyes.ch
Tue Feb 28 23:54:41 CET 2006
I've just discovered a problem using the "pages" table with the
I think there's a bug, because "dynamicConfigFile" is not set in
If you agree, I'll add the bug to the bugtracker.
Have a good time
Reson to believe:
If you'll do the following in an fe-extension:
You'll notice that there is no "dynamicConfigFile" entry (while all
other tables seems to have that).
Therefore an this script fails:
$tce = t3lib_div::makeInstance('t3lib_TCEmain');
$tce->stripslashes_values = 0;
$data['pages']['NEW1'] = array(
'title' => 'test',
'pid' => $this->getPersonalSysFolder(),
'hidden' => 0
With this error message:
Warning: Variable passed to each() is not an array or object in
/home/..../t3lib/class.t3lib_tcemain.php on line 4122
I've drilled down until I found that the t3lib_div::loadTCA('pages')
fails because there's no dynamic config file.
Adding the following statement solves the problem (locally):
More information about the TYPO3-english