Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2019, 10:41 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Issue when I try to save group images to a group album

I get this error in my error log when I try to save any images inside a group album:

Code:
[04-Sep-2019 02:30:28 UTC] PHP Fatal error:  syntax error, unexpected ''<br />
' (T_ENCAPSED_AND_WHITESPACE) on line 1 in /home/xxx/public_html/xxx/demos/vb4/includes/class_core.php(4684) : eval()'d code
 in /home/xxx/public_html/xxx/demos/vb4/vb/vb.php on line 286
I have looked at the code in the vb.php file in that area it is:

Code:
	/*ErrorHandling=================================================================*/

	/**
	 * Catches any uncaught exceptions.
	 *
	 * @param Exception $exception
	 */
	public static function handleException($exception)
	{
		if (!$code = $exception->getCode())
		{
			$code = E_USER_ERROR;
		}

		echo($exception->getMessage() . ' on line ' . $exception->getLine() . ' in ' . $exception->getFile() . "<br />\n" . nl2br($exception->getTraceAsString()) . '<br /><br />');

		// TODO: Our own error output, with the exception's message and stack trace
		trigger_error($exception->getMessage() . ' on line ' . $exception->getLine() . ' in ' . $exception->getFile() . "\n", $code);
	}
}
I'm running a fresh install of vBulletin 4.2.5 with no mods installed on it at all. This is a demo forum for some styles I'm working on.

I'm running PHP 7.1.32 (was wondering if maybe this was my problem...)
MySQL 5.0.12

On another note I also cannot save a certain templates or try to visit certain areas on the forum I get:

Code:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.
Not sure if these are related or related to the PHP being 7.1.32 or not.
Reply With Quote
  #2  
Old 09-07-2019, 12:05 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The error happens in /includes/class_core.php line 4684, which is the template rendering function.
So in one of the templates that renders that page, there's a syntax error.

I would test it in different forum styles to determine if it's a style or a different issue. If it does not happen on a different forum style, check the differences between the templates that are used on that page. If it does happen on all forum styles, it's probably the PHP version causing it but we can probably fix it if you find the offending template and paste it here.

The "Not Acceptable" error is caused by Mod_Security, which is a security extension for Apache. You can disable this in CPanel/WHM or ask your host.
Reply With Quote
Благодарность от:
ramesh_umk3
  #3  
Old 09-07-2019, 02:03 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could the PHP version also be contributing to the Mod_Security issue? The host really refuses to undo that.

EDIT: Never mind that seems to be an Apache issue instead.

--------------- Added [DATE]1567872739[/DATE] at [TIME]1567872739[/TIME] ---------------

As for the template its either:

socialgroups_pictures:

Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
	{vb:raw headinclude}
	<title>{vb:raw group.name} - {vb:rawphrase pictures}</title>
	
	<vb:if condition="$vboptions['storecssasfile']">
		{vb:cssfile album-rollup.css,socialgroups.css}
	<vb:else />
		{vb:cssfile album.css,pictures.css,socialgroups.css}
	</vb:if>
	{vb:raw headinclude_bottom}
</head>

<body>
{vb:raw header}

{vb:raw navbar}

<div id="pagetitle">
	<h1>{vb:rawphrase pictures_from_group_x, {vb:raw group.name}}</h1>
</div>

<vb:if condition="1 OR $pagenav OR $show['add_pictures_link']">
<div class="floatcontainer" id="controls_above">
    <vb:if condition="$pagenav">
    	<div id="pagination_top">
				{vb:raw pagenav}
			</div>
    </vb:if>

	<vb:if condition="$show['add_pictures_link'] AND $picturebits">
		<a class="uploadlaunchlink textcontrol" href="newattachment.php?{vb:raw session.sessionurl}{vb:raw values}&amp;poststarttime={vb:raw poststarttime}&amp;posthash={vb:raw posthash}&amp;contenttypeid={vb:raw contenttypeid}">{vb:rawphrase add_pictures}</a>
	</vb:if>
</div>
</vb:if>

<vb:if condition="$show['add_pictures_link']">
	<form class="vbform block hidden" id="uploaddisplay" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}group.php?do=updatepictures&amp;groupid={vb:raw group.groupid}" method="post">
		<div class="blockbody formcontrols">
			<h2 class="blockhead">{vb:rawphrase pending_pictures}</h2>
			<ul id="attachlist_list2">
				<li class="hidden">&nbsp;</li>
			</ul>
		</div>
		
		<div class="blockfoot actionbuttons">
			<input type="submit" class="button" value="{vb:rawphrase save_changes}" accesskey="s" tabindex="1" />
		</div>
	
		<input type="hidden" name="posthash" value="{vb:raw posthash}" />
		<input type="hidden" name="poststarttime" value="{vb:raw poststarttime}" />
		<input type="hidden" name="do" value="updatepictures" />
		<input type="hidden" name="groupid" value="{vb:raw group.groupid}" />
		<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
		<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
	</form>
</vb:if>

<div id="view-group-info">
	<h2 class="blockhead">{vb:rawphrase group_pictures}</h2>
	<div class="blockbody">
		<div id="view-group-pictures">
			<vb:if condition="$picturebits">
				<ol id="thumbnails" class="formcontrols blockbody">
					<h3 style="padding: 10px 0px 0px 10px;">{vb:rawphrase showing_x_of_y_pictures, {vb:raw pictures_shown}, {vb:raw group.picturecount}}</h3>{vb:raw picturebits}
				</ol>
			<vb:else />
				{vb:rawphrase no_pictures_added_group_yet}
				<vb:if condition="$show['add_pictures_link']">
					<a class="uploadlaunchlink" href="newattachment.php?{vb:raw session.sessionurl}{vb:raw values}&amp;poststarttime={vb:raw poststarttime}&amp;posthash={vb:raw posthash}&amp;contenttypeid={vb:raw contenttypeid}">{vb:rawphrase add_pictures_to_this_group}</a></vb:if>
			</vb:if>
		</div>
	</div>
</div>

<div class="groupcontrols">
	<vb:if condition="$groupoptions['join']">
	<a href="{vb:link group, {vb:raw group}, 'do=join'}" class="textcontrol" rel="nofollow">{vb:rawphrase join_group}</a>
	</vb:if>
	<vb:if condition="$groupoptions['leave']">
	<a href="{vb:link group, {vb:raw group}, 'do=leave'}" class="textcontrol" rel="nofollow">{vb:rawphrase leave_group}</a>
	</vb:if>
	<vb:if condition="$groupoptions['edit']">
	<a href="{vb:link group, {vb:raw group}, 'do=edit'}" class="textcontrol" rel="nofollow">{vb:rawphrase edit_group}</a>
	</vb:if>
	<vb:if condition="$groupoptions['delete']">
	<a href="{vb:link group, {vb:raw group}, 'do=delete'}" class="textcontrol" rel="nofollow">{vb:rawphrase delete_group}</a>
	</vb:if>
	<vb:if condition="$groupoptions['manage']">
	<a href="{vb:link group, {vb:raw group}, 'do=manage'}" class="textcontrol" rel="nofollow">{vb:rawphrase pending_and_invited_members}</a>
	</vb:if>
	<vb:if condition="$groupoptions['managemembers']">
	<a href="{vb:link group, {vb:raw group}, 'do=managemembers'}" class="textcontrol" rel="nofollow">{vb:rawphrase manage_members}</a>
	</vb:if>
	<vb:if condition="$groupoptions['transfergroup']">
	<a href="{vb:link group, {vb:raw group}, 'do=transfer'}" class="textcontrol" rel="nofollow">{vb:rawphrase transfer_group}</a>
	</vb:if>
</div>

<vb:if condition="$show['add_pictures_link']">
<script type="text/javascript" src="clientscript/vbulletin_attachment.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript">
<!--
	vB_Attachments = new vB_Attachment('attachlist', {
			editorid     : '',
			poststarttime: '{vb:raw poststarttime}',
			posthash     : '{vb:raw posthash}',
			contentid    : '{vb:raw group.groupid}',
			userid       : '{vb:raw bbuserinfo.userid}',
			contenttypeid: '{vb:raw contenttypeid}',
			values       : '{vb:raw values}',
			insertinline : '0',
			enhanced     : '<vb:if condition="$vboptions['vbasset_enable'] AND $bbuserinfo['vbasset_enable']">1</vb:if>'
	});
//-->
</script>
</vb:if>

{vb:raw footer}

</body>
</html>
Reply With Quote
  #4  
Old 09-07-2019, 02:13 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or socialgroups_groups:

Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
	{vb:raw headinclude}
	<title>{vb:raw custompagetitle} - {vb:raw vboptions.bbtitle}</title>

	<vb:if condition="$vboptions['storecssasfile']">
		{vb:cssfile toolsmenu.css,socialgroups-rollup.css}
	<vb:else />
		{vb:cssfile toolsmenu.css,album.css,threadlist.css,socialgroups.css,sidebar.css,picture.css,friends.css,member.css}
	</vb:if>

	<!--[if lt IE 8]>
	<script type="text/javascript" src="clientscript/vbulletin-threadlist-ie.js?v={vb:raw vboptions.simpleversion}"></script>
	{vb:cssfile toolsmenu-ie.css,threadlist-ie.css,socialgroups-ie.css,sidebar-ie.css}
	<![endif]-->
	<script type="text/javascript" src="clientscript/vbulletin_group_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
	<vb:if condition="$show['add_pictures_link']">
		<script type="text/javascript" src="clientscript/vbulletin_attachment.js?v={vb:raw vboptions.simpleversion}"></script>
	</vb:if>
{vb:raw headinclude_bottom}
</head>

<body>

{vb:raw header}

{vb:raw navbar}

<div id="grouppagetitle" class="toolsmenu floatcontainer">
<div>
	<vb:comment>Group Tools</vb:comment>
	<ul class="popupgroup" id="menugroup">
		<vb:if condition="$groupoptions['manage'] OR $groupoptions['managemembers'] OR $groupoptions['transfergroup']">
		<li class="popupmenu menuimage" id="menu-admin">
			<a href="{vb:raw relpath}#forumtools" class="popupctrl">{vb:rawphrase admin}</a>
			<ul class="popupbody popuphover">
				<vb:if condition="$groupoptions['edit']">
					<li><a href="{vb:link group, {vb:raw group}, 'do=edit'}" rel="nofollow">{vb:rawphrase edit_group}</a></li>
				</vb:if>
				<vb:if condition="$groupoptions['delete']">
					<li><a href="{vb:link group, {vb:raw group}, 'do=delete'}" rel="nofollow">{vb:rawphrase delete_group}</a></li>
				</vb:if>
				<vb:if condition="$groupoptions['manage']">
					<li><a href="{vb:link group, {vb:raw group}, 'do=manage'}" rel="nofollow">{vb:rawphrase pending_and_invited_members}</a></li>
				</vb:if>
				<vb:if condition="$groupoptions['managemembers']">
					<li><a href="{vb:link group, {vb:raw group}, 'do=managemembers'}" rel="nofollow">{vb:rawphrase manage_members}</a></li>
				</vb:if>
				<vb:if condition="$groupoptions['transfergroup']">
					<li><a href="{vb:link group, {vb:raw group}, 'do=transfer'}" rel="nofollow">{vb:rawphrase transfer_group}</a></li>
				</vb:if>
			</ul>
		</li>
		</vb:if>

		<vb:if condition="$messagebits">
		<li class="popupmenu menuimage menusearch" id="menu-search">
			<a href="{vb:raw relpath}#groupsearch" class="popupctrl">{vb:rawphrase search}</a>
			<form action="search.php" method="post">
				<ul class="popupbody popuphover">
					<li>
						<input type="text" class="searchbox" name="query" value="{vb:rawphrase search_dots}" tabindex="1" />
					</li>
					<li class="formsubmit">
						<input type="submit" class="button" value="{vb:rawphrase search}" tabindex="1" />
					</li>
				</ul>
				<input type="hidden" name="type[]" value="{vb:raw contenttypeid}" />
				<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
				<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
				<input type="hidden" name="do" value="process" />
			</form>
		</li>
		</vb:if>

		<li class="popupmenu menuimage" id="menu-grouptools">
			<a href="{vb:raw relpath}#forumtools" class="popupctrl">{vb:rawphrase group_tools}</a>
			<ul class="popupbody popuphover">
				<vb:if condition="$groupoptions['join']">
					<li><a href="{vb:link group, {vb:raw group}, 'do=join'}" rel="nofollow">{vb:rawphrase join_group}</a></li>
				</vb:if>
				<vb:if condition="$groupoptions['leave']">
					<li><a href="{vb:link group, {vb:raw group}, 'do=leave'}" rel="nofollow">{vb:raw groupoptions.leavephrase}</a></li>
				</vb:if>
				<vb:if condition="$show['postlink']">
					<li><a href="{vb:link group, {vb:raw group}, 'do=message'}" rel="nofollow">{vb:rawphrase new_discussion}</a></li>
				</vb:if>
				<li><a href="{vb:link group, {vb:raw group}, 'do=viewmembers'}">{vb:rawphrase view_all_members}</a></li>
				<li><a href="{vb:link group, {vb:raw group}, 'do=grouppictures'}">{vb:rawphrase view_pictures}</a></li>
				<vb:if condition="$show['add_pictures_link']">
					<li><a class="uploadlaunchlink" href="newattachment.php?{vb:raw session.sessionurl}{vb:raw values}&amp;poststarttime={vb:raw poststarttime}&amp;posthash={vb:raw posthash}&amp;contenttypeid={vb:raw contenttypeid}">{vb:rawphrase add_pictures}</a></li>
				</vb:if>
				<li><a href="{vb:link group, {vb:raw group}, 'do=markread'}" rel="nofollow">{vb:rawphrase mark_this_group_read}</a></li>
				<vb:if condition="$show['subscribe']">
					<vb:if condition="!$group['subscribed']">
				<li><a href="{vb:link group, {vb:raw group}, 'do=subscribe'}" rel="nofollow">{vb:rawphrase subscribe_to_this_group}</a></li>
					<vb:else />
				<li><a href="{vb:link group, {vb:raw group}, 'do=unsubscribe'}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_group}</a></li>
					</vb:if>
				</vb:if>
			</ul>
		</li>
	</ul>

	<h1>
		<a href="{vb:link group, {vb:raw group}}">{vb:raw group.name}</a>
		<vb:if condition="$group['memberinvite']">({vb:rawphrase invite_social_group})</vb:if>
		<vb:if condition="$group['membermoderated']">({vb:rawphrase moderated_social_group})</vb:if>
	</h1>
</div>
</div>

<vb:if condition="$show['groupinfo']">
<div id="content_container"<vb:if condition="$stylevar['textdirection'] == 'ltr'"> class="contentright"</vb:if>>
	<div id="content" class="floatcontainer">
</vb:if><vb:comment>$show['groupinfo']</vb:comment>
		<p id="view-group-description" class="description"><b>Group Name:</b> <span style="color:yellow;font-weight:bold;text-transform:uppercase;">{vb:raw group.name}</span><br /><b>Group Description:</b> {vb:raw group.description}</p>

	<vb:if condition="$show['groupinfo']">
		<vb:if condition="$show['pictures_block']">
		<vb:comment>Pictures</vb:comment>

		<div id="above_pictures" class="above_content floatcontainer">
			<vb:if condition="$show['add_pictures_link']">
			<a class="uploadlaunchlink newcontent_textcontrol" href="newattachment.php?{vb:raw session.sessionurl}{vb:raw values}&amp;poststarttime={vb:raw poststarttime}&amp;posthash={vb:raw posthash}&amp;contenttypeid={vb:raw contenttypeid}" id="add_photo" rel="nofollow"><span>+</span> {vb:rawphrase add_pictures}</a>
			</vb:if>
		</div>
		<div id="pictures" class="block">
			<h2 class="blockhead">
				{vb:rawphrase group_photos}
				<a class="blockheadinfo" href="{vb:link group, {vb:raw group}, 'do=grouppictures'}">{vb:rawphrase view_all}</a>
			</h2>
			<vb:if condition="$show['add_pictures_link']">
				<div id="uploaddisplay" class="hidden">
					<form action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}group.php" method="post">
						<div class="blocksubhead">
							<h3>{vb:rawphrase pending_pictures}</h3>
						</div>

						<ul id="attachlist_list2">
							<li class="hidden">&nbsp;</li>
						</ul>

						<div class="blockfoot actionbuttons">
							<div class="group">
								<input type="submit" class="button" value="{vb:rawphrase save_changes}" accesskey="s" tabindex="1" />
							</div>
						</div>

						<input type="hidden" name="posthash" value="{vb:raw posthash}" />
						<input type="hidden" name="poststarttime" value="{vb:raw poststarttime}" />
						<input type="hidden" name="do" value="updatepictures" />
						<input type="hidden" name="groupid" value="{vb:raw group.groupid}" />
						<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
						<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
					</form>
				</div>
			</vb:if>

			<vb:if condition="$picturebits">
			<div id="view-group-pictures" class="blockrow">
				<ol id="thumbnails" class="floatcontainer">
					{vb:raw picturebits}
				</ol>
			</div>
			<vb:elseif condition="$show['add_pictures_link']" />
			<div class="blockbody">
				<div class="blockrow">
					{vb:rawphrase no_pictures_added_group_yet}
				</div>
			</div>
			</vb:if>
		</div>
		</vb:if>
	</vb:if><vb:comment>$show['groupinfo']</vb:comment>

		<vb:if condition="!$group['canviewcontent']">
			<div id="join_to_view" class="blocksubhead">
				{vb:rawphrase must_join_to_view}
			</div>
		</vb:if>

		<vb:if condition="$show['groupdiscussions']">
		<vb:comment>Discussions</vb:comment>

		<div id="above_discussions" class="above_content floatcontainer">
			<vb:if condition="$show['postlink']">
			<a class="newcontent_textcontrol" href="{vb:link group, {vb:raw group}, 'do=message'}" rel="nofollow" id="new_discussion"><span>+</span> {vb:rawphrase new_discussion}</a>
			</vb:if>

			<vb:if condition="$pagenav">
				<div id="pagination_top" class="pagination_top">
					{vb:raw pagenav}
				</div>
			</vb:if>
		</div>

		<form class="block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}group_inlinemod.php?groupid={vb:raw group.groupid}" method="post" id="group_discussion_inlinemod_form">
			<div class="blockhead">

				<vb:if condition="$show['inlinemod']">
				<ul class="popupgroup" id="view-group-discussion-popups">
					<li class="popupmenu" id="gdiscussion_imodsel">
						<h6><a class="popupctrl" href="javascript://">{vb:rawphrase inline_mod}</a></h6>
						<ul class="popupbody popuphover">
							<li><a href="javascript://" id="gdiscussion_imodsel:all">{vb:rawphrase select_all}</a></li>
							<li><a href="javascript://" id="gdiscussion_imodsel:none">{vb:rawphrase deselect_all}</a></li>
							<li><a href="javascript://" id="gdiscussion_imodsel:invert">{vb:rawphrase invert_selection}</a></li>
							<li>&nbsp;</li>
							<li><a href="javascript://" id="gdiscussion_imodsel:class:moderation">{vb:rawphrase select_unapproved_discussions}</a></li>
							<li><a href="javascript://" id="gdiscussion_imodsel:class:deleted">{vb:rawphrase select_deleted_discussions}</a></li>
						</ul>
					</li>
				</ul>
				</vb:if>

				<h2>
				<vb:if condition="!$show['groupinfo']">
					{vb:rawphrase social_group_discussions_in_x, {vb:raw group.name}}
				<vb:else />
					{vb:rawphrase social_group_discussions}
				</vb:if>
				</h2>
			</div>

			<vb:if condition="$messagebits">
				<ol id="discussionlist">
					{vb:raw messagebits}
				</ol>

				<div>
					<vb:if condition="$show['inlinemod']">
						<div id="inlinemod_formctrls" class="popupmenu" style="margin-top:10px;">
							<a href="javascript://" class="popupctrl"><span class="ctrlcontainer">{vb:rawphrase moderation_tools} (<span id="gdiscussion_inlinemod_count">0</span>)</span></a>
							<ul class="popupbody popuphover">
								<vb:if condition="$show['delete']">
									<li><label><input type="radio" name="do" value="inlinedelete" tabindex="1" checked="checked" /> {vb:rawphrase delete_discussions}</label></li>
								</vb:if>
								<vb:if condition="$show['undelete']">
									<li><label><input type="radio" name="do" value="inlineundelete" tabindex="1" /> {vb:rawphrase undelete_discussions}</label></li>
								</vb:if>
								<vb:if condition="$show['approve']">
									<li><label><input type="radio" name="do" value="inlineapprove" tabindex="1" /> {vb:rawphrase approve_discussions}</label></li>
									<li><label><input type="radio" name="do" value="inlineunapprove" tabindex="1" /> {vb:rawphrase unapprove_discussions}</label></li>
								</vb:if>
								<li>&nbsp;</li>
								<li><label><input type="radio" name="do" value="clearmessage" tabindex="1" /> {vb:rawphrase deselect_all_discussions}</label></li>
								<li class="formsubmit">
									<input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" tabindex="1" />
									<input class="button" type="reset" value="{vb:rawphrase reset}" tabindex="1" />
								</li>
							</ul>
						</div>
					</vb:if>

					<div id="threadpagestats" style="margin-top:10px;">
						<vb:if condition="$messagestart > 1">
							{vb:rawphrase showing_discussions_x_to_y_of_z, {vb:raw messagestart}, {vb:raw messageend}, {vb:raw messagetotal}}
						<vb:else />
							{vb:rawphrase showing_discussions_x_of_y, {vb:raw messageshown}, {vb:raw messagetotal}}
						</vb:if>
					</div>
				</div>

			<vb:else />

				<div class="blockbody">
					<div class="blockrow">
						<vb:if condition="$searchtext">
							{vb:rawphrase no_discussions_found}
						<vb:else />
							{vb:rawphrase group_has_no_discussions}
						</vb:if>
					</div>
				</div>

			</vb:if>

			<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
			<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
			<input type="hidden" name="inline_discussion" value="1" />
		</form>

		<vb:if condition="$show['inlinemod']">
			<script type="text/javascript">
			<!--
				vB_XHTML_Ready.subscribe(function() { register_inlinemod("group_discussion_inlinemod_form", "li", "threadbit", "gdiscussion"); });
			//-->
			</script>
		</vb:if>

		<div id="after_discussionlist" class="floatcontainer">
			<vb:if condition="$pagenav">
			<div id="pagination_bottom">
				{vb:raw pagenav}
			</div>
			</vb:if>
		</div>

		</vb:if>

<vb:if condition="$show['groupinfo']">
	</div>
</div>
</vb:if><vb:comment>$show['groupinfo']</vb:comment>

<vb:if condition="$show['groupinfo']">
<div id="sidebar_container"<vb:if condition="$stylevar['textdirection'] == 'ltr'"> class="sidebarleft"</vb:if>>
	<ul id="sidebar">
		<li id="groupinfo">
			<div id="sgiconbox" class="block smaller">
				<vb:if condition="$groupiconurl">
				<img id="view-group-groupimage" class="groupimage" src="{vb:raw groupiconurl}" alt="{vb:rawphrase social_group_icon}" />
				</vb:if>
			</div>
			<div id="groupstatsbox" class="smaller">
				<div class="blockbody">
					<div id="groupstats" class="blockrow">
						<dl class="stats">
							<dt>{vb:rawphrase group_maintained_by}</dt>
							<dd><a href="{vb:raw ownerlink}">{vb:raw group.creatorusername}</a></dd>
						</dl>
						<dl class="stats">
							<dt>{vb:rawphrase members}</dt>
							<dd><a href="{vb:link group, {vb:raw group}, 'do=viewmembers'}">{vb:raw group.members}</a></dd>
						</dl>
						<dl class="stats">
							<dt>{vb:rawphrase group_pictures}</dt>
							<dd><a href="{vb:link group, {vb:raw group}, 'do=grouppictures'}">{vb:raw group.picturecount}</a></dd>
						</dl>
						<dl class="stats">
							<dt>{vb:rawphrase social_group_discussions}</dt>
							<dd>{vb:raw group.discussions}</dd>
						</dl>
					</div>
				</div>
			</div>
			<div class="underblock"></div>
		</li>
		<li id="membersblock">
			<div class="block smaller">
				<div class="blocksubhead">
					<a class="collapse" id="collapse_w_members" href="#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_members"/></a>
					<a class="blocksubheadinfo" href="{vb:link group, {vb:raw group}, 'do=viewmembers'}">{vb:rawphrase view_all}</a>
					<img src="{vb:stylevar imgdir_siteicons}/network.png" alt="" />
					<span class="blocktitle">{vb:rawphrase members}</span>
				</div>
				<div id="w_members" class="floatcontainer">
					<ul class="memberlist floatcontainer" style="padding:10px;">
						{vb:raw short_member_list_bits}
					</ul>
				</div>
			</div>
			<div class="underblock"></div>
		</li>
	</ul>
</div>

<vb:if condition="$show['add_pictures_link']">
	<script type="text/javascript">
	<!--
		vB_Attachments = new vB_Attachment('attachlist', {
				editorid     : '',
				poststarttime: '{vb:raw poststarttime}',
				posthash     : '{vb:raw posthash}',
				contentid    : '{vb:raw group.groupid}',
				userid       : '{vb:raw bbuserinfo.userid}',
				contenttypeid: '{vb:raw contenttypeid}',
				values       : '{vb:raw values}',
				insertinline : '0',
				enhanced     : '<vb:if condition="$vboptions['vbasset_enable'] AND $bbuserinfo['vbasset_enable']">1</vb:if>'
		});
	//-->
	</script>
</vb:if>
</vb:if><vb:comment>$show['groupinfo']</vb:comment>

{vb:raw footer}

</body>
</html>
It happens when I try to add photos. If this helps I get the blank page effect.
Reply With Quote
  #5  
Old 09-07-2019, 03:04 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm I'm not sure... the error indicates that it's on the first line but that looks normal. I think the only way to figure it out properly is to debug it on the live server.

This is on the default forum language too?
Reply With Quote
  #6  
Old 09-07-2019, 03:48 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah its in English. Everything is out of the box. Its kinda why I thought it may have to do with the PHP version.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:21 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
  • Page Generation 0.03943 seconds
  • Memory Usage 2,301KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete