![]() |
I got this error when I click on editentry button. Any suggestion ?
Parse error: parse error, unexpected T_PRIVATE, expecting ']' in /home/thucnghi/public_html/forum/journal.php(1593) : eval()'d code on line 61 |
Anyone please tell me how to get this working on PHP5? :(
|
Quote:
|
Quote:
Code:
<input type="checkbox" name="epriv" value="1" <if condition="$entryinfo[private]">checked="checked" </if>/>$vbphrase[make_this_entry_private] Code:
<input type="checkbox" name="epriv" value="1" <if condition="$entryinfo['private']">checked="checked" </if>/>$vbphrase[make_this_entry_private] |
Quote:
Im with you! I need a journal running php 5 and the myspace rewrite calls for this one! |
Quote:
Line 187 - <div class="smallfont"><phrase 1="$session[sessionurl]" 2="$getlatestj[journal_id]" 3="$getlatestj[journalist]">$vbphrase[welcome_to_our_newest_journalist_x]</phrase></div> Line188 - <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> Line 189 </tr> |
Quote:
|
Quote:
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> |
Thanks SirAdrian. That was the fix for line 188 of the journal template but everyone using php5 will also have to fix line 48 of the journal_journalpage template as well.
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> |
No problem.
If anybody is having any PHP 5 problems, please go here: https://vborg.vbsupport.ru/showthread.php?t=120134 This thread is nearly impossible to keep track of, especially if it isn't checked often. Hopefully once all the problems are solved, they will put the changes in the package. |
All times are GMT. The time now is 12:20 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:
|