FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Error when creating custom theme -> mnav.tmpl
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Error when creating custom theme -> mnav.tmpl [message #167845] Tue, 23 October 2012 04:12 Go to next message
Fladi is currently offline  Fladi   Germany
Messages: 19
Registered: April 2011
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hi!

I got a error while creating a custom theme. When I try to create a custom mnav.tmpl (just a copy of the one in the default-theme directory without any changes) the compiling of the custom theme fails with the the error:

PHP Fatal error:  Uncaught exception 'Exception' with message 'Undefined template: "post_html_quote_start_p1" inside "search_forum_sel.inc.t".' in /var/www/vhosts/forum.typo3.org/home/site/install/forum_data/include/compiler.inc:370
Stack trace:
#0 /var/www/vhosts/forum.typo3.org/home/site/install/forum_data/include/compiler.inc(457): compile_file('search_forum_se...')
#1 /var/www/vhosts/forum.typo3.org/home/site/install/forum_data/include/compiler.inc(349): generate_file('search_forum_se...')
#2 /var/www/vhosts/forum.typo3.org/home/site/install/forum_data/include/compiler.inc(677): compile_file('mnav.php.t')
#3 /var/www/vhosts/forum.typo3.org/home/site/install/forum_data/include/compiler.inc(764): resolve_compile('mnav.tmpl')
#4 /var/www/vhosts/forum.typo3.org/home/site/install/www_root/rebuildthemes.php(7): compile_all('typo3', 'en', 'TYPO3')
#5 {main}
  thrown in /var/www/vhosts/forum.typo3.org/home/site/install/forum_data/include/compiler.inc on line 370


When i strip of the include (ref) -> {REF: search_forum_sel.tmpl} <- everythink compiles but the Message navigator won't work because he can't find function trim_body

Fatal error: Call to undefined function trim_body() in /var/www/vhosts/forum.typo3.org/home/site/install/www_root/theme/TYPO3/mnav.php on line 368


It's version 3.0.3 of FUDForum (will update it as soon as possible). Any suggestions what I can do?

Thanks and best regards
Tim

[Updated on: Tue, 23 October 2012 04:53]

Report message to a moderator

Re: Error when creating custom theme -> mnav.tmpl [message #167850 is a reply to message #167845] Wed, 24 October 2012 01:39 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3663
Registered: December 2004
Karma: 19
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Add '{REF: post_proc.tmpl}' before '{REF: search_forum_sel.tmpl}' in your template file.

PS: Compiler messages was slightly improved in 3.0.4. Although, more work is still required to make it intuitive and user friendly.

Aw: Re: Error when creating custom theme -> mnav.tmpl [message #167851 is a reply to message #167850] Wed, 24 October 2012 06:44 Go to previous message
Fladi is currently offline  Fladi   Germany
Messages: 19
Registered: April 2011
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanks naudefj. Works great!
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Upgrading 3.0.1 -> 3.0.4.1 failed: Convert reg_ip to registration_ip for IPv6
Next Topic: Howto show users realname in singel message?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Jul 22 08:51:06 EDT 2018

Total time taken to generate the page: 0.00700 seconds