vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Strange vB4 error after updating template (https://vborg.vbsupport.ru/showthread.php?t=265673)

Disasterpiece 06-22-2011 09:05 PM

Strange vB4 error after updating template
 
I'm currently developing a mod and just translated the phrases into the vb phrase system, replaced the old strings with the {vb:rawphrase ...} representations in the template file.

Suddenly, when I tried to update my template, this message appeared:

Quote:

Fatal error: Uncaught exception 'Exception' with message 'Unable to find a class to validate: vB_TemplateParser_Curlyprhase' in [path]/forum/includes/class_template_parser.php:1083 Stack trace: #0 [path]/forum/includes/class_template_parser.php(1019): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array) #1 [path]/forum/includes/adminfunctions_template.php(3004): vB_TemplateParser->validate(Array) #2 [path]/forum/admincp/template.php(2291): compile_template('<form action="a...', Array) #3 {main} thrown in [path]/forum/includes/class_template_parser.php on line 1083
I'm sure it has nothing to do with template errors, the template worked the whole time, I didn't change anything of its structure, as I said only replaced some strings with the {vb:phrase ...} thingy.

Does anyone know what this means? (4.1.3, vB in debug mode)

kh99 06-22-2011 10:04 PM

I think you've misspelled "phrase" in one of your vb:phrase tags. Nice error reporting, huh ;)

Boofo 06-26-2011 08:04 PM

As Kevin said: prhase should be phrase

Disasterpiece 06-26-2011 09:26 PM

oh

damn.

Such a huge error message for a simple typo. Who would've thought :D

Boofo 06-26-2011 09:27 PM

Kevin? ;)


All times are GMT. The time now is 09:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00948 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete