Russian TYPO3 community Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community  

Вернуться   Russian TYPO3 community > Тематические форумы > TypoScript практикум

Ответ
 
Опции темы Опции просмотра
Старый 19.02.2008, 15:29   #1
typo27
Новенький
 
Регистрация: 30.01.2008
Сообщений: 27
По умолчанию Typoscript from extensions is gone

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
typo27 вне форума   Ответить с цитированием
Старый 19.02.2008, 21:13   #2
void
Senior Member
 
Аватар для void
 
Регистрация: 14.03.2006
Адрес: Russia, Penza
Сообщений: 1,504
Отправить сообщение для void с помощью ICQ
По умолчанию

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.
__________________
TYPO3 FAQ
void вне форума   Ответить с цитированием
Старый 19.02.2008, 22:17   #3
typo27
Новенький
 
Регистрация: 30.01.2008
Сообщений: 27
По умолчанию

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 =
......
typo27 вне форума   Ответить с цитированием
Старый 20.02.2008, 15:33   #4
void
Senior Member
 
Аватар для void
 
Регистрация: 14.03.2006
Адрес: Russia, Penza
Сообщений: 1,504
Отправить сообщение для void с помощью ICQ
По умолчанию

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.
__________________
TYPO3 FAQ
void вне форума   Ответить с цитированием
Ответ

Опции темы
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB code is Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Много ли оставляют после себя extensions? razawa Общие вопросы 5 12.09.2007 19:46
Включить TypoScript, выключить TypoScript. thebat TypoScript практикум 4 28.04.2007 15:05
Kickstarter 'Static TypoScript code' hworld Общие вопросы 5 17.08.2006 12:27
Зачем нужен TypoScript MVH Общие вопросы 17 14.04.2005 22:36
По поводу TypoScript Aleksandrov Общие вопросы 3 09.03.2005 10:34


Часовой пояс GMT +4, время: 16:23.


Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot

Хостинг и техническая поддержка: TYPO3 Лаборатория