PDA

View Full Version : Strange vB4 error after updating template


Disasterpiece
06-22-2011, 09:05 PM
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:

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? ;)