PDA

Просмотр полной версии : Typoscript from extensions is gone


typo27
19.02.2008, 15:29
Privet

I look at template analyzer and I see no TS are included from extensions.
Then a lot of problems occur, for example in the page with ve_guestbook error is shown

Warning: Division by zero in /usr/local/apache2/htdocs/typo3_customers/netnatur/typo3conf/ext/ve_guestbook/pi1/class.tx_veguestbook_pi1.php on line 378

The reason for this problem is missing some TS config, which is defined in the file ext_typoscript_setup.txt of the ve_guestbook extension, but for some strange reason, that TS config is not inlcuded in page template.

What can be a problem here?

Spasibo

void
19.02.2008, 21:13
What is your TYPO3 and ve_guestbook versions?
Check out http://bugs.typo3.org/view.php?id=5088 - maybe that bug occur at your installation.

typo27
19.02.2008, 22:17
Thanks void,
the problem is not ve_guestbook itself, the problem is ext_typoscript_setup.txt files are not included. In typo3 doc api is written that every loaded extension ext_typoscript_setup.txt is included in page template. The question is - how come they are not included.

Regarding ve_guestbook, warning appears because of not included TS in ext_typoscript_setup.txt:

plugin.tx_veguestbook_pi1 {
userFunc = tx_veguestbook_pi1->main
templateFile = {$plugin.tx_veguestbook_pi1.file.templateFile}
teasercut = 50
wordcut = 100
sortingField = crdate
sortingDirection = desc
limit = 5
email_from_name =
email_from_mail =
......

void
20.02.2008, 15:33
As I said, one of possible reasons is that ^ bug. Dunno why, TS is not property serialized when you have non-latin-1 symbols at your TS... So, check your (and ve_guetsbook) TS to not contain umlauts and so on.