Tulsa |
05-30-2006 05:02 PM |
Quote:
Originally Posted by gibhut
ok quick explain ,
Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /home/mysite/public_html/forums/journal.php(564) : eval()'d code on line 188
means line 564 of journal.php is calling a template.. on line 188 of that template is where the error is..
so tulsa look on line 564 of journal and tell me the template it is calling
and same goes for your Craigex
|
Line 564 of the journal.php does not look like it's calling for a template to me.
Code:
Line 564: 'sort' => TYPE_NOHTML
However I was able to find what was that error on line 188 of the journal template. Removing one of the </if>'s caused it to save just fine. Not sure if it's going to work but vbulletin seemed to like it better. This was the line in the journal template.
Code:
<div class="smallfont">$vbphrase[your_current_journal_status_is]: <if condition="$bbuserinfo[private]=='1'"><b><font color="red">$vbphrase[private]</font></b><else /><if condition="$bbuserinfo[private]==''"><b><font color="orange">$vbphrase[non_existent]</font></b><else /><b><font color="green">$vbphrase[public]</font></b></if></if></div></td>
So I'm down to that last error and it's located in the journal_journalpage template. It's line 48 and I can't find what's wrong with this one.
Code:
<b>$vbphrase[status]</b>: <if condition="$journalinfo[private]=='1'"><b><font color="red">$vbphrase[private]</font></b><else /><b><font color="green">$vbphrase[public]</font></b></if>
|