Template errors
From WeBid Support Wiki
Common Template Errors
In WeBid, 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.
Contents |
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 <!-- BEGIN loop --> 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 <!-- END loop --> tag in the template.
Review all of your END tags to be sured 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...
<!-- IF CONDITION --> <!-- ELSEIF CONDITION --> <!-- ELSE --> <!-- BEGINELSE --> <!-- ENDIF -->
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:
<!-- IF CONDITION and OTHER_CONDITION --> <!-- IF CONDITION or OTHER_CONDITION --> <!-- IF CONDITION not OTHER_CONDITION --> <!-- ELSEIF CONDITION and OTHER_CONDITION --> <!-- ELSEIF CONDITION or OTHER_CONDITION --> <!-- ELSEIF CONDITION not OTHER_CONDITION -->
Review all of your IF and ELSEIF tags to be sure you are using valid and, or, not etc, statements.

