![]() |
parse errors on my template
anyone know why it keeps saying parse error expecting `']''
HTML Code:
$stylevar[htmldoctype] |
In every conditional you have, it should contain the single quotes within the brackets of an array.
e.g. PHP Code:
PHP Code:
|
i removed them and i still receive the error
here is my updated code: HTML Code:
$stylevar[htmldoctype] |
Updated code? It still looks the same.
It should have the single quotes around array elements, in conditionals. $avatar['avatarpath'] is good, whereas $avatar[avatarpath] isn't. Again, I don't know if this is why it's not working, but you must try it. |
now i get parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING'
HTML Code:
$stylevar[htmldoctype] |
Quote:
Otherwise, paste the code into your main script and run it instead of calling eval, then the error message will tell you which line it failed. Naturally get the raw template code from the other field of the template table instead these <if condition=()>... |
try removing the jscript and then see if it parses.
|
All times are GMT. The time now is 08:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|