MyBB Community Forums

Full Version: Weird Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Firts one; SOLVED

Second one:
Parse error: syntax error, unexpected '<', expecting '}' in /home/a8821522/public_html/forums/global.php(325) : eval()'d code on line 45
If you've turned on GZip compression, turn it off.
Yes. I had it on.
And how about this one?
I've uploaded the global.php already
Parse error: syntax error, unexpected '<', expecting '}' in /home/a8821522/public_html/forums/global.php(325) : eval()'d code on line 45
You seem to have an error with your header_welcomeblock_member template, paste it here.

Also we'd like it if you didn't edit out the contents of posts when it's solved, it's no wonder people can't find some things when searching, and it makes all other replies look odd Smile
Ok. Sorry!

<script>
<!--
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
//-->
</script>
<span style="float:right;">
({$modcplink}{$admincplink} <a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a>{$mood_link}
)
<BR>
<form action="dummy" method="post">
<select name="choice" size="1" onChange="jump(this.form)">
<option value="">Member Menu</option>
<option value="{$mybb->settings['bburl']}/usercp.php">UserCP</option>
<option value="{$mybb->settings['bburl']}/search.php?action=getnew">View New Posts</option>
<option value="{$mybb->settings['bburl']}/search.php?action=getdaily">View Today's Posts</option>
<option value="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms} - {$lang->welcome_pms_usage}</option>
<option value="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}"><strong>LogOut</strong></option>
</select>
</form>
</span>
{$lang->welcome_back} 
<BR>
{$lang->welcome_current_time}
I'm testing some features in it. But now it is normal. All working perfect.
The {$lang->welcome_current_time} was missing the last }.