[TYPO3-english] Upgrade from Typo3 4.3 to 4.3 problem
Karl Wallace
karl.wallace at roomthree.com
Wed Jul 7 15:03:13 CEST 2010
Thanks for the tip Dmitry
I'm reasonably comfortable with PHP so I added that function call (to the
class.t3lib_page.php file), then tried to make sense of all the output
generated. The debugging is the difficult part for me as I'm not that
familiar with it and I wasn't sure what to look for.
A question. Should the last few lines of the backtrace generally indicate
the problem area, or could the problem be anywhere within the output?
Anyway, I changed the "die" command in class.t3lib_page.php to echo so I
could see if the output for the custom extension was being generated, and it
was. I narrowed the problem down to a couple of tt_news plugins that
exisited in a content area that I had configured for use with
kb_tv_content_slide.
When i removed the content slide code from the DS XML the error
dissappeared.
I no longer need the tt_news plugins in this area so this is a workaround
for me, at least temporarily. I could not replicate this problem on any
other installation however, so I'm not sure if it's a bug.
So here are the typo3 and extension versions involved in case anyone else
runs into this issue.
Typo3 4.3.3 (source recently upgraded from 4.2.12)
Templavoila 1.4.2 (problem also occurs with 1.4.4)
KB TV Content Slide 0.4.3
tt_news 3.0.1 (problem also occurs with 2.5.2)
If there are any other developents I'll post back here
Thanks again.
Karl
"Dmitry Dulepov" <dmitry at typo3.org> wrote in message
news:mailman.1.1278485830.25348.typo3-english at lists.typo3.org...
> Hi!
>
> Karl Wallace wrote:
>> However, when I upgrade the source files, and then attempt to either
>> remove
>> or install ANY extension the front end of the web site breaks and only
>> displays this error "NO entry in the $TCA-array for the table "tt_news".
>> This means that the function enableFields() is called with an invalid
>> table
>> name as argument.".
>>
>> Now, at this stage I have not compared the database or ran the upgrade
>> wizard, if I do this it makes no difference to the error however.
>> If I uninstall the tt_news extension (version 3.0.1) OR the custom
>> extension
>> the site will display ok in the front end again.
>> I have spent quite a while researching what this could be but have had no
>> luck so far. Could the problem be caused by how the custom extension is
>> coded?
>>
>> It was made using the kickstarter so the table definitions and TCA should
>> be
>> all ok, unless there's a change from Typo3 4.2 to 4.3 that would affect
>> it.
>
> If you feel comfortable with PHP, search for "NO entry in the $TCA-array"
> (without quotes) and add a debug_print_backtrace() before this line. This
> will give you a full stac trace where this problem comes from.
>
> --
> Dmitry Dulepov
> TYPO3 core&security teams member
> Twitter: http://twitter.com/dmitryd
> Read more @ http://dmitry-dulepov.com/
More information about the TYPO3-english
mailing list