Quote:
Originally Posted by AN-net
try updating journal_entrybits with the following:
HTML Code:
<a name="e$entry[entry_id]"><table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead" align="$stylevar[left]"><div style="float:right"><a href="#e$entry[entry_id]"># $enum</a></div><a href="journal.php?do=showentry&e=$entry[entry_id]">$entry[entrytitle]</a></td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div class="smallfont">Date Posted: $entry[date] at <span class="time">$entry[time]</span> <if condition="$canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"></if>Comments ($entry[comments])<if condition="$canview[comments]"></a></if></div></td>
</tr>
<tr>
<td class="alt2" align="$stylevar[left]"><if condition="$show[mood] OR $entry[mood] > 0"><div class="smallfont">Mood: <img src="$entry[mood_image]" alt="$entry[mood_name]" /></div><hr /></if>$entry[entrytext]</td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div style="float:left"><!-- <a href="journal.php?do=report&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/report.gif" alt="Report This Journal Entry to an Administrator" border="0" /></a> --><if condition="$bbuserinfo[usergroupid]==6"><img src="$stylevar[imgdir_button]/ip.gif" border="0" title="Ip: $entry[ipaddress]" /></if><if condition="$can[comment] AND $canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/discuss.gif" border="0" alt="Discuss This Entry" /></a></if></div><if condition="$caneditown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=editentry&j=$j&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/edit.gif" border="0" /></a></if><if condition="$candeleteown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id] OR $bbuserinfo[usergroupid]==6"><a href="journal.php?do=delete&j=$j&e=$entry[entry_id]&t=e"><img src="$stylevar[imgdir_button]/delete.gif" border="0" /></a></if></td>
</tr>
</table></a>
<br />
|
I have did that.
Now instead of 2 errors when creating a journal, I receive 1 error

:
Quote:
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(793) : eval()'d code on line 289
|
The journal shows up on the journal page, but when I click to view it, I get that same error again:
Quote:
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/journal.php(793) : eval()'d code on line 289
|
-- 10 minutes later:
I have downloaded the latest zip file, uninstalled the journal system and reinstalled.
I went to create a journal, and received the same error above again.
I should mention again --
When I inserted the templates initially, I received this type of error for 4 of the templates:
Quote:
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected '\"', expecting ']' in /home/forums/public_html/includes/adminfunctions_template.php(3037) : eval()'d code on line 40
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
|
Yes.. I continued...
The lines effected were 4, 40, 51, and 289.
When I viewed the adminfunctions_template.php .. there did not seem to be anything wrong on those lines. That is why I continued, I didn't understand.