Not Solved Error HTTP 500 when I try to enter in a forum
#1
Not Solved
Good morning, 

I have a fresh installation of MYBB and I am using the theme MyBulletin-V3.3 and the plugin Google SEO. When I try to access to an empty forum (no threads nothing) I can access to it and post new thread etc but when I try to access to a forum with some discussions I get HTTP 500 errror. I tried to switch to default theme and it's all okay so I assume the problems comes from the  MyBulletin-V3.3. 

The URL scheme is the same in both cases so I wonder what's the problem...

Thanks in advance.
M

Edit: the error.log says:

[30-Dec-2022 13:37:14 UTC] PHP Parse error:  syntax error, unexpected string content "", expecting "-" or identifier or variable or number in /home/konahbyw/forum/forumdisplay.php(1382) : eval()'d code on line 7
Reply
#2
Not Solved
this error belong to problem to your forumdisplay_thread  template so , you can check template code or send here for checking

Web,Windows,Android Programmer
Wordpress,Mybb,... Developer

Reply
#3
Not Solved
Hello, thank you for the answer. This is the forumdisplay_thread template:

<tr class="inline_row">
	<td align="center" class="trow1{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="trow2{$thread_type_class}" width="2%">{$icon}</td>
	<td class="trow1{$thread_type_class}">
		{$attachment_count}
<if $thread['sticky'] then>
<img style="float:right;" src="{$theme['imgdir']}/sticky.png" alt="Sticky" title="sticky" />
<else>
</if>	
<if $thread['closed'] then>
<img style="float:right;" src="{$theme['imgdir']}/locked.png" alt="Locked" title="Locked" />
<else>
</if>	
<if $thread['subscribed'] then>
<img style="float:right;" src="{$theme['imgdir']}/locked.png" alt="Locked" title="Locked" />
<else>
</if>	

		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
		</div>
	</td>
	{$rating}
	<td class="trow2{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext">{$lastpostdate}<br />
		Author: {$lastposterlink} <a href="{$thread['lastpostlink']}"><img src="{$theme['imgdir']}/lastpost.gif" alt="View Last Post" title="View Last Post" style="vertical-align:middle"/></a></span>
	</td>
	<td align="center" class="trow1{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="trow2{$thread_type_class}">{$thread['views']}</td>
{$modbit}
</tr>
Reply
#4
Not Solved
The theme seems to require a template conditionals plugin, as some of that syntax isn’t from core. Check if the theme has a requirement to install any plugins.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#5
Not Solved
Got it, I deleted the part of sticky threads and now is working correctly! Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)