Template errors

Common Template Errors In phpBB3, the error eval'd code can be observed for many reasons. However, following are the more common errors shown in a template eval'd code error.

Unexpected T_ELSE

 * Parse error: parse error, unexpected T_ELSE in /includes/template.php(154) : eval'd code on line  xx 

This error is ususally caused by an incorrect  tag in the template. Review all of your BEGIN tags to be sure they are spelled correctly.

Unexpected $end

 * Parse error: parse error, unexpected $end in /includes/template.php(154) : eval'd code on line  xx 

This error is usually caused by an incorrect  tag in the template. Review all of your END tags to be sure they are spelled correctly.

Unexpected '}'

 * Parse error: parse error, unexpected '}' in /includes/template.php(154) : eval'd code on line  xx 

This error is usually caused by incorrect a missing ENDIF or ELSE tags in conditional statements of one of the following...

Review your ELSE and ENDIF Conditional statements to be sure they are spelled correctly.

Unexpected T_STRING

 * Parse error: parse error, unexpected T_STRING in /includes/template.php(154) : eval'd code on line  xx 

This error is usually caused by an incorrect condition inside an IF or ELSEIF tag. For example:

Review all of your IF and ELSEIF tags to be sure you are using valid  etc, statements.